xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/light/gp2ap020a00f.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Sharp GP2AP020A00F I2C Proximity/ALS sensor
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe proximity detector sensor requires power supply
4*4882a593Smuzhiyunfor its built-in led. It is also defined by this binding.
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunRequired properties:
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun  - compatible : should be "sharp,gp2ap020a00f"
9*4882a593Smuzhiyun  - reg : the I2C slave address of the light sensor
10*4882a593Smuzhiyun  - interrupts : interrupt specifier for the sole interrupt generated
11*4882a593Smuzhiyun		 by the device
12*4882a593Smuzhiyun  - vled-supply : VLED power supply, as covered in ../regulator/regulator.txt
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyungp2ap020a00f@39 {
17*4882a593Smuzhiyun	compatible = "sharp,gp2ap020a00f";
18*4882a593Smuzhiyun	reg = <0x39>;
19*4882a593Smuzhiyun	interrupts = <2 0>;
20*4882a593Smuzhiyun	vled-supply = <...>;
21*4882a593Smuzhiyun};
22