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