Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / light / st,uvis25.yaml
blobc86e5e1d135e37b2d997c7370052c1d06cafa083
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/iio/light/st,uvis25.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ST UVIS25 uv sensor
9 maintainers:
10   - Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
12 properties:
13   compatible:
14     const: st,uvis25
16   reg:
17     maxItems: 1
19   interrupts:
20     maxItems: 1
22 additionalProperties: false
24 required:
25   - compatible
26   - reg
28 examples:
29   - |
30     #include <dt-bindings/interrupt-controller/irq.h>
31     i2c {
32         #address-cells = <1>;
33         #size-cells = <0>;
35         uv-sensor@47 {
36             compatible = "st,uvis25";
37             reg = <0x47>;
38             interrupt-parent = <&gpio0>;
39             interrupts = <0 IRQ_TYPE_EDGE_RISING>;
40         };
41     };
42 ...