xref: /freebsd/sys/contrib/device-tree/Bindings/iio/dac/ltc2632.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1Linear Technology LTC2632/2634/2636 DAC
2
3Required 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,ltc2634-l12
12	lltc,ltc2634-l10
13	lltc,ltc2634-l8
14	lltc,ltc2634-h12
15	lltc,ltc2634-h10
16	lltc,ltc2634-h8
17	lltc,ltc2636-l12
18	lltc,ltc2636-l10
19	lltc,ltc2636-l8
20	lltc,ltc2636-h12
21	lltc,ltc2636-h10
22	lltc,ltc2636-h8
23
24Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
25apply. In particular, "reg" and "spi-max-frequency" properties must be given.
26
27Optional properties:
28	- vref-supply: Phandle to the external reference voltage supply. This should
29	  only be set if there is an external reference voltage connected to the VREF
30	  pin. If the property is not set the internal reference is used.
31
32Example:
33
34	vref: regulator-vref {
35		compatible = "regulator-fixed";
36		regulator-name = "vref-ltc2632";
37		regulator-min-microvolt = <1250000>;
38		regulator-max-microvolt = <1250000>;
39		regulator-always-on;
40	};
41
42	spi_master {
43		dac: ltc2632@0 {
44			compatible = "lltc,ltc2632-l12";
45			reg = <0>; /* CS0 */
46			spi-max-frequency = <1000000>;
47			vref-supply = <&vref>; /* optional */
48		};
49	};
50