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