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