xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/uvis25.txt (revision 02e9120893770924227138ba49df1edb3896112a)
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