xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiometer/adi,ad5272.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Analog Devices AD5272 digital potentiometer
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Phil Reid <preid@electromag.com.au>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription: |
135def4c47SEmmanuel Vadot  Datasheet: https://www.analog.com/en/products/ad5272.html
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
175def4c47SEmmanuel Vadot    enum:
185def4c47SEmmanuel Vadot      - adi,ad5272-020
195def4c47SEmmanuel Vadot      - adi,ad5272-050
205def4c47SEmmanuel Vadot      - adi,ad5272-100
215def4c47SEmmanuel Vadot      - adi,ad5274-020
225def4c47SEmmanuel Vadot      - adi,ad5274-100
235def4c47SEmmanuel Vadot
245def4c47SEmmanuel Vadot  reg:
255def4c47SEmmanuel Vadot    maxItems: 1
265def4c47SEmmanuel Vadot
275def4c47SEmmanuel Vadot  reset-gpios:
285def4c47SEmmanuel Vadot    maxItems: 1
295def4c47SEmmanuel Vadot    description:
305def4c47SEmmanuel Vadot      Active low signal to the AD5272 RESET input.
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel VadotadditionalProperties: false
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadotrequired:
355def4c47SEmmanuel Vadot  - compatible
365def4c47SEmmanuel Vadot  - reg
375def4c47SEmmanuel Vadot
385def4c47SEmmanuel Vadotexamples:
395def4c47SEmmanuel Vadot  - |
405def4c47SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
415def4c47SEmmanuel Vadot    i2c {
425def4c47SEmmanuel Vadot        #address-cells = <1>;
435def4c47SEmmanuel Vadot        #size-cells = <0>;
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel Vadot        potentiometer@2f {
465def4c47SEmmanuel Vadot            compatible = "adi,ad5272-020";
47*cb7aa33aSEmmanuel Vadot            reg = <0x2f>;
485def4c47SEmmanuel Vadot            reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
495def4c47SEmmanuel Vadot        };
505def4c47SEmmanuel Vadot    };
515def4c47SEmmanuel Vadot...
52