xref: /freebsd/sys/contrib/device-tree/Bindings/iio/potentiometer/ad5272.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Analog Devices AD5272 digital potentiometer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe node for this device must be a child node of a I2C controller, hence
4*c66ec88fSEmmanuel Vadotall mandatory properties for your controller must be specified. See directory:
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel Vadot        Documentation/devicetree/bindings/i2c
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadotfor more details.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired properties:
11*c66ec88fSEmmanuel Vadot	- compatible:  	Must be one of the following, depending on the model:
12*c66ec88fSEmmanuel Vadot			adi,ad5272-020
13*c66ec88fSEmmanuel Vadot			adi,ad5272-050
14*c66ec88fSEmmanuel Vadot			adi,ad5272-100
15*c66ec88fSEmmanuel Vadot			adi,ad5274-020
16*c66ec88fSEmmanuel Vadot			adi,ad5274-100
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotOptional properties:
19*c66ec88fSEmmanuel Vadot - reset-gpios: GPIO specification for the RESET input. This is an
20*c66ec88fSEmmanuel Vadot		active low signal to the AD5272.
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel VadotExample:
23*c66ec88fSEmmanuel Vadotad5272: potentiometer@2f {
24*c66ec88fSEmmanuel Vadot	reg = <0x2F>;
25*c66ec88fSEmmanuel Vadot	compatible = "adi,ad5272-020";
26*c66ec88fSEmmanuel Vadot	reset-gpios = <&gpio3 6 GPIO_ACTIVE_HIGH>;
27*c66ec88fSEmmanuel Vadot};
28