Merge tag 'modules-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / dac / ltc2632.txt
index eb911e5a8ab443dc6364713f20de0f0fca5ae2b1..e0d5fea33031d3614676b45be596a9dc6c3e79bf 100644 (file)
@@ -12,12 +12,26 @@ Required properties:
 Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt
 apply. In particular, "reg" and "spi-max-frequency" properties must be given.
 
+Optional properties:
+       - vref-supply: Phandle to the external reference voltage supply. This should
+         only be set if there is an external reference voltage connected to the VREF
+         pin. If the property is not set the internal reference is used.
+
 Example:
 
+       vref: regulator-vref {
+               compatible = "regulator-fixed";
+               regulator-name = "vref-ltc2632";
+               regulator-min-microvolt = <1250000>;
+               regulator-max-microvolt = <1250000>;
+               regulator-always-on;
+       };
+
        spi_master {
                dac: ltc2632@0 {
                        compatible = "lltc,ltc2632-l12";
                        reg = <0>; /* CS0 */
                        spi-max-frequency = <1000000>;
+                       vref-supply = <&vref>; /* optional */
                };
        };