xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/gp2ap020a00f.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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