Analog Devices AD5272 digital potentiometer

Schema identifier ($id): "http://devicetree.org/schemas/iio/potentiometer/adi,ad5272.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Phil Reid <preid@electromag.com.au>"

Datasheet: https://www.analog.com/en/products/ad5272.html

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "adi,ad5272-020", "adi,ad5272-050", "adi,ad5272-100", "adi,ad5274-020", "adi,ad5274-100"

reg — required here #

Maximum number of items (maxItems): 1

reset-gpios — not listed as required here #

Maximum number of items (maxItems): 1

Active low signal to the AD5272 RESET input.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg"

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    potentiometer@2f {
        compatible = "adi,ad5272-020";
        reg = <0x2f>;
        reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page