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,ad7303.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices AD7303 DAC 7 title: Analog Devices AD7303 DAC 8 8 9 maintainers: 9 maintainers: 10 - Lars-Peter Clausen <lars@metafoo.de> 10 - Lars-Peter Clausen <lars@metafoo.de> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: adi,ad7303 14 const: adi,ad7303 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 Vdd-supply: 19 Vdd-supply: 20 description: 20 description: 21 Used to calculate output channel scallin 21 Used to calculate output channel scalling if REF-supply not specified. 22 REF-supply: 22 REF-supply: 23 description: 23 description: 24 If not provided, Vdd/2 is used as the re 24 If not provided, Vdd/2 is used as the reference voltage. 25 25 26 spi-max-frequency: 26 spi-max-frequency: 27 maximum: 30000000 27 maximum: 30000000 28 28 29 required: 29 required: 30 - compatible 30 - compatible 31 - reg 31 - reg 32 - Vdd-supply 32 - Vdd-supply 33 33 34 additionalProperties: false 34 additionalProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 spi { 38 spi { 39 #address-cells = <1>; 39 #address-cells = <1>; 40 #size-cells = <0>; 40 #size-cells = <0>; 41 41 42 dac@4 { 42 dac@4 { 43 compatible = "adi,ad7303"; 43 compatible = "adi,ad7303"; 44 reg = <4>; 44 reg = <4>; 45 spi-max-frequency = <10000000>; 45 spi-max-frequency = <10000000>; 46 Vdd-supply = <&vdd_supply>; 46 Vdd-supply = <&vdd_supply>; 47 REF-supply = <&vref_supply>; 47 REF-supply = <&vref_supply>; 48 }; 48 }; 49 }; 49 }; 50 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.