gp2ap020a00f.txt 571 B

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