Merge tag 'for-4.18-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / dac / ltc2632.txt
1 Linear Technology LTC2632 DAC device driver
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
12 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
13 apply. In particular, "reg" and "spi-max-frequency" properties must be given.
14
15 Optional properties:
16         - vref-supply: Phandle to the external reference voltage supply. This should
17           only be set if there is an external reference voltage connected to the VREF
18           pin. If the property is not set the internal reference is used.
19
20 Example:
21
22         vref: regulator-vref {
23                 compatible = "regulator-fixed";
24                 regulator-name = "vref-ltc2632";
25                 regulator-min-microvolt = <1250000>;
26                 regulator-max-microvolt = <1250000>;
27                 regulator-always-on;
28         };
29
30         spi_master {
31                 dac: ltc2632@0 {
32                         compatible = "lltc,ltc2632-l12";
33                         reg = <0>; /* CS0 */
34                         spi-max-frequency = <1000000>;
35                         vref-supply = <&vref>; /* optional */
36                 };
37         };