Renesas X9250 quad potentiometers

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

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

Maintainers (maintainers): "Herve Codina <herve.codina@bootlin.com>"

The Renesas X9250 integrates four digitally controlled potentiometers. On each potentiometer, the X9250T has a 100 kOhms total resistance and the X9250U has a 50 kOhms total resistance.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "renesas,x9250t", "renesas,x9250u"

reg — required here #

Maximum number of items (maxItems): 1

vcc-supply — required here #

Regulator for the VCC power supply.

avp-supply — required here #

Regulator for the analog V+ power supply.

avn-supply — required here #

Regulator for the analog V- power supply.

#io-channel-cells — required here #

Exact value (const): 1

spi-max-frequency — not listed as required here #

Maximum value (maximum): 2000000

wp-gpios — not listed as required here #

Maximum number of items (maxItems): 1

GPIO connected to the write-protect pin.

Required in this object (required): "compatible", "reg", "vcc-supply", "avp-supply", "avn-supply", "#io-channel-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
spi {
    #address-cells = <1>;
    #size-cells = <0>;
    potentiometer@0 {
        compatible = "renesas,x9250t";
        reg = <0>;
        vcc-supply = <&vcc_regulator>;
        avp-supply = <&avp_regulator>;
        avn-supply = <&avp_regulator>;
        wp-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
        spi-max-frequency = <2000000>;
        #io-channel-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page