cm36651.txt 622 B

123456789101112131415161718192021222324252627
  1. * Capella CM36651 I2C Proximity and Color Light sensor
  2. Required properties:
  3. - compatible: must be "capella,cm36651"
  4. - reg: the I2C address of the device
  5. - interrupts: interrupt-specifier for the sole interrupt
  6. generated by the device
  7. - vled-supply: regulator for the IR LED. IR_LED is a part
  8. of the cm36651 for proximity detection.
  9. As covered in ../../regulator/regulator.txt
  10. Example:
  11. i2c_cm36651: i2c-gpio {
  12. /* ... */
  13. cm36651@18 {
  14. compatible = "capella,cm36651";
  15. reg = <0x18>;
  16. interrupt-parent = <&gpx0>;
  17. interrupts = <2 0>;
  18. vled-supply = <&ps_als_reg>;
  19. };
  20. /* ... */
  21. };