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