1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/dac/adi 4 $id: http://devicetree.org/schemas/iio/dac/adi,ad5791.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices AD5791 and similar DACs 7 title: Analog Devices AD5791 and similar DACs 8 8 9 maintainers: 9 maintainers: 10 - Michael Hennerich <michael.hennerich@analog 10 - Michael Hennerich <michael.hennerich@analog.com> 11 - Jonathan Cameron <jic23@kernel.org> 11 - Jonathan Cameron <jic23@kernel.org> 12 12 13 properties: 13 properties: 14 14 15 compatible: 15 compatible: 16 enum: 16 enum: 17 - adi,ad5760 17 - adi,ad5760 18 - adi,ad5780 18 - adi,ad5780 19 - adi,ad5781 19 - adi,ad5781 20 - adi,ad5790 20 - adi,ad5790 21 - adi,ad5791 21 - adi,ad5791 22 22 23 reg: 23 reg: 24 maxItems: 1 24 maxItems: 1 25 25 26 vdd-supply: true 26 vdd-supply: true 27 vss-supply: true 27 vss-supply: true 28 28 29 adi,rbuf-gain2-en: 29 adi,rbuf-gain2-en: 30 description: Specify to allow an external 30 description: Specify to allow an external amplifier to be connected in a 31 gain of two configuration. 31 gain of two configuration. 32 type: boolean 32 type: boolean 33 33 34 required: 34 required: 35 - compatible 35 - compatible 36 - reg 36 - reg 37 - vdd-supply 37 - vdd-supply 38 - vss-supply 38 - vss-supply 39 39 40 allOf: 40 allOf: 41 - $ref: /schemas/spi/spi-peripheral-props.ya 41 - $ref: /schemas/spi/spi-peripheral-props.yaml# 42 42 43 unevaluatedProperties: false 43 unevaluatedProperties: false 44 44 45 examples: 45 examples: 46 - | 46 - | 47 spi { 47 spi { 48 #address-cells = <1>; 48 #address-cells = <1>; 49 #size-cells = <0>; 49 #size-cells = <0>; 50 50 51 dac@0 { 51 dac@0 { 52 compatible = "adi,ad5791"; 52 compatible = "adi,ad5791"; 53 reg = <0>; 53 reg = <0>; 54 vss-supply = <&dac_vss>; 54 vss-supply = <&dac_vss>; 55 vdd-supply = <&dac_vdd>; 55 vdd-supply = <&dac_vdd>; 56 }; 56 }; 57 }; 57 }; 58 ... 58 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.