1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/iio/light/s 4 $id: http://devicetree.org/schemas/iio/light/st,uvis25.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: ST UVIS25 uv sensor 7 title: ST UVIS25 uv sensor 8 8 9 maintainers: 9 maintainers: 10 - Lorenzo Bianconi <lorenzo.bianconi83@gmail. 10 - Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 const: st,uvis25 14 const: st,uvis25 15 15 16 reg: 16 reg: 17 maxItems: 1 17 maxItems: 1 18 18 19 interrupts: 19 interrupts: 20 maxItems: 1 20 maxItems: 1 21 21 22 additionalProperties: false 22 additionalProperties: false 23 23 24 required: 24 required: 25 - compatible 25 - compatible 26 - reg 26 - reg 27 27 28 examples: 28 examples: 29 - | 29 - | 30 #include <dt-bindings/interrupt-controller 30 #include <dt-bindings/interrupt-controller/irq.h> 31 i2c { 31 i2c { 32 #address-cells = <1>; 32 #address-cells = <1>; 33 #size-cells = <0>; 33 #size-cells = <0>; 34 34 35 uv-sensor@47 { 35 uv-sensor@47 { 36 compatible = "st,uvis25"; 36 compatible = "st,uvis25"; 37 reg = <0x47>; 37 reg = <0x47>; 38 interrupt-parent = <&gpio0>; 38 interrupt-parent = <&gpio0>; 39 interrupts = <0 IRQ_TYPE_EDGE_RISI 39 interrupts = <0 IRQ_TYPE_EDGE_RISING>; 40 }; 40 }; 41 }; 41 }; 42 ... 42 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.