Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: dac: ti-dac082s085: Document new driver

Add device tree bindings for Texas Instruments 8/10/12-bit 2/4-channel
DAC driver.

Cc: Mathias Duckeck <m.duckeck@kunbus.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Lukas Wunner and committed by
Jonathan Cameron
930cc2d2 0d87a4aa

+34
+34
Documentation/devicetree/bindings/iio/dac/ti-dac082s085.txt
··· 1 + Texas Instruments 8/10/12-bit 2/4-channel DAC driver 2 + 3 + Required properties: 4 + - compatible: Must be one of: 5 + "ti,dac082s085" 6 + "ti,dac102s085" 7 + "ti,dac122s085" 8 + "ti,dac084s085" 9 + "ti,dac104s085" 10 + "ti,dac124s085" 11 + - reg: Chip select number. 12 + - spi-cpha, spi-cpol: SPI mode (0,1) or (1,0) must be used, so specify 13 + either spi-cpha or spi-cpol (but not both). 14 + - vref-supply: Phandle to the external reference voltage supply. 15 + 16 + For other required and optional properties of SPI slave nodes please refer to 17 + ../../spi/spi-bus.txt. 18 + 19 + Example: 20 + vref_2v5_reg: regulator-vref { 21 + compatible = "regulator-fixed"; 22 + regulator-name = "2v5"; 23 + regulator-min-microvolt = <2500000>; 24 + regulator-max-microvolt = <2500000>; 25 + regulator-always-on; 26 + }; 27 + 28 + dac@0 { 29 + compatible = "ti,dac082s085"; 30 + reg = <0>; 31 + spi-max-frequency = <40000000>; 32 + spi-cpol; 33 + vref-supply = <&vref_2v5_reg>; 34 + };