Path: blob/master/Documentation/devicetree/bindings/iio/potentiometer/renesas,x9250.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/iio/potentiometer/renesas,x9250.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Renesas X9250 quad potentiometers78maintainers:9- Herve Codina <herve.codina@bootlin.com>1011description:12The Renesas X9250 integrates four digitally controlled potentiometers.13On each potentiometer, the X9250T has a 100 kOhms total resistance and the14X9250U has a 50 kOhms total resistance.1516allOf:17- $ref: /schemas/spi/spi-peripheral-props.yaml1819properties:20compatible:21enum:22- renesas,x9250t23- renesas,x9250u2425reg:26maxItems: 12728vcc-supply:29description:30Regulator for the VCC power supply.3132avp-supply:33description:34Regulator for the analog V+ power supply.3536avn-supply:37description:38Regulator for the analog V- power supply.3940'#io-channel-cells':41const: 14243spi-max-frequency:44maximum: 20000004546wp-gpios:47maxItems: 148description:49GPIO connected to the write-protect pin.5051required:52- compatible53- reg54- vcc-supply55- avp-supply56- avn-supply57- '#io-channel-cells'5859unevaluatedProperties: false6061examples:62- |63#include <dt-bindings/gpio/gpio.h>64spi {65#address-cells = <1>;66#size-cells = <0>;67potentiometer@0 {68compatible = "renesas,x9250t";69reg = <0>;70vcc-supply = <&vcc_regulator>;71avp-supply = <&avp_regulator>;72avn-supply = <&avp_regulator>;73wp-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;74spi-max-frequency = <2000000>;75#io-channel-cells = <1>;76};77};787980