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/potenti 4 $id: http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Analog Devices AD5272 digital potentiom 7 title: Analog Devices AD5272 digital potentiometer 8 8 9 maintainers: 9 maintainers: 10 - Phil Reid <preid@electromag.com.au> 10 - Phil Reid <preid@electromag.com.au> 11 11 12 description: | 12 description: | 13 Datasheet: https://www.analog.com/en/product 13 Datasheet: https://www.analog.com/en/products/ad5272.html 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - adi,ad5272-020 18 - adi,ad5272-020 19 - adi,ad5272-050 19 - adi,ad5272-050 20 - adi,ad5272-100 20 - adi,ad5272-100 21 - adi,ad5274-020 21 - adi,ad5274-020 22 - adi,ad5274-100 22 - adi,ad5274-100 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 reset-gpios: 27 reset-gpios: 28 maxItems: 1 28 maxItems: 1 29 description: 29 description: 30 Active low signal to the AD5272 RESET in 30 Active low signal to the AD5272 RESET input. 31 31 32 additionalProperties: false 32 additionalProperties: false 33 33 34 required: 34 required: 35 - compatible 35 - compatible 36 - reg 36 - reg 37 37 38 examples: 38 examples: 39 - | 39 - | 40 #include <dt-bindings/gpio/gpio.h> 40 #include <dt-bindings/gpio/gpio.h> 41 i2c { 41 i2c { 42 #address-cells = <1>; 42 #address-cells = <1>; 43 #size-cells = <0>; 43 #size-cells = <0>; 44 44 45 potentiometer@2f { 45 potentiometer@2f { 46 compatible = "adi,ad5272-020"; 46 compatible = "adi,ad5272-020"; 47 reg = <0x2f>; 47 reg = <0x2f>; 48 reset-gpios = <&gpio3 6 GPIO_ACTIV 48 reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; 49 }; 49 }; 50 }; 50 }; 51 ... 51 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.