Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/iio/light/vishay,veml6046x00.yaml
29539 views
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
7
title: Vishay VEML6046X00 High accuracy RGBIR color sensor
8
9
maintainers:
10
- Andreas Klinger <ak@it-klinger.de>
11
12
description:
13
VEML6046X00 datasheet at https://www.vishay.com/docs/80173/veml6046x00.pdf
14
15
properties:
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
28
required:
29
- compatible
30
- reg
31
- vdd-supply
32
33
additionalProperties: false
34
35
examples:
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
...
52
53