xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiometer/adi,ad5272.yaml (revision 5def4c47d4bd90b209b9b4a4ba9faec15846d8fd)
1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*5def4c47SEmmanuel Vadot%YAML 1.2
3*5def4c47SEmmanuel Vadot---
4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml#
5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5def4c47SEmmanuel Vadot
7*5def4c47SEmmanuel Vadottitle: Analog Devices AD5272 digital potentiometer
8*5def4c47SEmmanuel Vadot
9*5def4c47SEmmanuel Vadotmaintainers:
10*5def4c47SEmmanuel Vadot  - Phil Reid <preid@electromag.com.au>
11*5def4c47SEmmanuel Vadot
12*5def4c47SEmmanuel Vadotdescription: |
13*5def4c47SEmmanuel Vadot  Datasheet: https://www.analog.com/en/products/ad5272.html
14*5def4c47SEmmanuel Vadot
15*5def4c47SEmmanuel Vadotproperties:
16*5def4c47SEmmanuel Vadot  compatible:
17*5def4c47SEmmanuel Vadot    enum:
18*5def4c47SEmmanuel Vadot      - adi,ad5272-020
19*5def4c47SEmmanuel Vadot      - adi,ad5272-050
20*5def4c47SEmmanuel Vadot      - adi,ad5272-100
21*5def4c47SEmmanuel Vadot      - adi,ad5274-020
22*5def4c47SEmmanuel Vadot      - adi,ad5274-100
23*5def4c47SEmmanuel Vadot
24*5def4c47SEmmanuel Vadot  reg:
25*5def4c47SEmmanuel Vadot    maxItems: 1
26*5def4c47SEmmanuel Vadot
27*5def4c47SEmmanuel Vadot  reset-gpios:
28*5def4c47SEmmanuel Vadot    maxItems: 1
29*5def4c47SEmmanuel Vadot    description:
30*5def4c47SEmmanuel Vadot      Active low signal to the AD5272 RESET input.
31*5def4c47SEmmanuel Vadot
32*5def4c47SEmmanuel VadotadditionalProperties: false
33*5def4c47SEmmanuel Vadot
34*5def4c47SEmmanuel Vadotrequired:
35*5def4c47SEmmanuel Vadot  - compatible
36*5def4c47SEmmanuel Vadot  - reg
37*5def4c47SEmmanuel Vadot
38*5def4c47SEmmanuel Vadotexamples:
39*5def4c47SEmmanuel Vadot  - |
40*5def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
41*5def4c47SEmmanuel Vadot    i2c {
42*5def4c47SEmmanuel Vadot        #address-cells = <1>;
43*5def4c47SEmmanuel Vadot        #size-cells = <0>;
44*5def4c47SEmmanuel Vadot
45*5def4c47SEmmanuel Vadot        potentiometer@2f {
46*5def4c47SEmmanuel Vadot            compatible = "adi,ad5272-020";
47*5def4c47SEmmanuel Vadot            reg = <0x2F>;
48*5def4c47SEmmanuel Vadot            reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
49*5def4c47SEmmanuel Vadot        };
50*5def4c47SEmmanuel Vadot    };
51*5def4c47SEmmanuel Vadot...
52