Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / Documentation / devicetree / bindings / iio / dac / ltc2632.txt
1 Linear Technology LTC2632/2636 DAC
2
3 Required properties:
4  - compatible: Has to contain one of the following:
5         lltc,ltc2632-l12
6         lltc,ltc2632-l10
7         lltc,ltc2632-l8
8         lltc,ltc2632-h12
9         lltc,ltc2632-h10
10         lltc,ltc2632-h8
11         lltc,ltc2636-l12
12         lltc,ltc2636-l10
13         lltc,ltc2636-l8
14         lltc,ltc2636-h12
15         lltc,ltc2636-h10
16         lltc,ltc2636-h8
17
18 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
19 apply. In particular, "reg" and "spi-max-frequency" properties must be given.
20
21 Optional properties:
22         - vref-supply: Phandle to the external reference voltage supply. This should
23           only be set if there is an external reference voltage connected to the VREF
24           pin. If the property is not set the internal reference is used.
25
26 Example:
27
28         vref: regulator-vref {
29                 compatible = "regulator-fixed";
30                 regulator-name = "vref-ltc2632";
31                 regulator-min-microvolt = <1250000>;
32                 regulator-max-microvolt = <1250000>;
33                 regulator-always-on;
34         };
35
36         spi_master {
37                 dac: ltc2632@0 {
38                         compatible = "lltc,ltc2632-l12";
39                         reg = <0>; /* CS0 */
40                         spi-max-frequency = <1000000>;
41                         vref-supply = <&vref>; /* optional */
42                 };
43         };