Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/light/vishay,veml6046x00.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Vishay VEML6046X00 High accuracy RGBIR color sensor
8
9maintainers:
10 - Andreas Klinger <ak@it-klinger.de>
11
12description:
13 VEML6046X00 datasheet at https://www.vishay.com/docs/80173/veml6046x00.pdf
14
15properties:
16 compatible:
17 enum:
18 - vishay,veml6046x00
19
20 reg:
21 maxItems: 1
22
23 vdd-supply: true
24
25 interrupts:
26 maxItems: 1
27
28required:
29 - compatible
30 - reg
31 - vdd-supply
32
33additionalProperties: false
34
35examples:
36 - |
37 #include <dt-bindings/interrupt-controller/irq.h>
38
39 i2c {
40 #address-cells = <1>;
41 #size-cells = <0>;
42
43 color-sensor@29 {
44 compatible = "vishay,veml6046x00";
45 reg = <0x29>;
46 vdd-supply = <&vdd_reg>;
47 interrupt-parent = <&gpio2>;
48 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
49 };
50 };
51...