uvis25.txt 549 B

12345678910111213141516171819202122
  1. * ST UVIS25 uv sensor
  2. Required properties:
  3. - compatible: should be "st,uvis25"
  4. - reg: i2c address of the sensor / spi cs line
  5. Optional properties:
  6. - interrupts: interrupt mapping for IRQ. It should be configured with
  7. flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
  8. IRQ_TYPE_EDGE_FALLING.
  9. Refer to interrupt-controller/interrupts.txt for generic interrupt
  10. client node bindings.
  11. Example:
  12. uvis25@47 {
  13. compatible = "st,uvis25";
  14. reg = <0x47>;
  15. interrupt-parent = <&gpio0>;
  16. interrupts = <0 IRQ_TYPE_EDGE_RISING>;
  17. };