isl29018.txt 623 B

123456789101112131415161718192021222324252627
  1. * ISL 29018/29023/29035 I2C ALS, Proximity, and Infrared sensor
  2. Required properties:
  3. - compatible: Should be one of
  4. "isil,isl29018"
  5. "isil,isl29023"
  6. "isil,isl29035"
  7. - reg: the I2C address of the device
  8. Optional properties:
  9. - interrupts: the sole interrupt generated by the device
  10. Refer to interrupt-controller/interrupts.txt for generic interrupt client
  11. node bindings.
  12. - vcc-supply: phandle to the regulator that provides power to the sensor.
  13. Example:
  14. isl29018@44 {
  15. compatible = "isil,isl29018";
  16. reg = <0x44>;
  17. interrupt-parent = <&gpio>;
  18. interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>;
  19. };