Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/jwessel...
[sfrench/cifs-2.6.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 - interrupt-parent: should be the phandle for the interrupt controller
9 - interrupts: interrupt mapping for IRQ. It should be configured with
10   flags IRQ_TYPE_LEVEL_HIGH, IRQ_TYPE_EDGE_RISING, IRQ_TYPE_LEVEL_LOW or
11   IRQ_TYPE_EDGE_FALLING.
12
13   Refer to interrupt-controller/interrupts.txt for generic interrupt
14   client node bindings.
15
16 Example:
17
18 uvis25@47 {
19         compatible = "st,uvis25";
20         reg = <0x47>;
21         interrupt-parent = <&gpio0>;
22         interrupts = <0 IRQ_TYPE_EDGE_RISING>;
23 };