Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/iio/light/gp2ap020a00f.txt
48406 views
1
* Sharp GP2AP020A00F I2C Proximity/ALS sensor
2
3
The proximity detector sensor requires power supply
4
for its built-in led. It is also defined by this binding.
5
6
Required 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
14
Example:
15
16
gp2ap020a00f@39 {
17
compatible = "sharp,gp2ap020a00f";
18
reg = <0x39>;
19
interrupts = <2 0>;
20
vled-supply = <...>;
21
};
22
23