0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Analog Devices AD5272 digital potentiometer
0008
0009 maintainers:
0010 - Phil Reid <preid@electromag.com.au>
0011
0012 description: |
0013 Datasheet: https://www.analog.com/en/products/ad5272.html
0014
0015 properties:
0016 compatible:
0017 enum:
0018 - adi,ad5272-020
0019 - adi,ad5272-050
0020 - adi,ad5272-100
0021 - adi,ad5274-020
0022 - adi,ad5274-100
0023
0024 reg:
0025 maxItems: 1
0026
0027 reset-gpios:
0028 maxItems: 1
0029 description:
0030 Active low signal to the AD5272 RESET input.
0031
0032 additionalProperties: false
0033
0034 required:
0035 - compatible
0036 - reg
0037
0038 examples:
0039 - |
0040 #include <dt-bindings/gpio/gpio.h>
0041 i2c {
0042 #address-cells = <1>;
0043 #size-cells = <0>;
0044
0045 potentiometer@2f {
0046 compatible = "adi,ad5272-020";
0047 reg = <0x2F>;
0048 reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
0049 };
0050 };
0051 ...