GNU Linux-libre 4.19.295-gnu1
[releases.git] / Documentation / devicetree / bindings / iio / light / uvis25.txt
1 * ST UVIS25 uv sensor
2
3 Required properties:
4 - compatible: should be "st,uvis25"
5 - reg: i2c address of the sensor / spi cs line
6
7 Optional 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
15 Example:
16
17 uvis25@47 {
18         compatible = "st,uvis25";
19         reg = <0x47>;
20         interrupt-parent = <&gpio0>;
21         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
22 };