]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - Documentation/devicetree/bindings/iio/light/rohm,bu27010.yaml
Merge tag 'kvm-x86-docs-6.7' of https://github.com/kvm-x86/linux into HEAD
[thirdparty/kernel/stable.git] / Documentation / devicetree / bindings / iio / light / rohm,bu27010.yaml
CommitLineData
ce2a8c16
MV
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/iio/light/rohm,bu27010.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ROHM BU27010 color sensor
8
9maintainers:
10 - Matti Vaittinen <mazziesaccount@gmail.com>
11
12description: |
13 The ROHM BU27010 is a sensor with 6 photodiodes (red, green, blue, clear,
14 IR and flickering detection) with five configurable channels. Red, green
15 and flickering detection being always available and two out of the rest
16 three (blue, clear, IR) can be selected to be simultaneously measured.
17 Typical application is adjusting LCD/OLED backlight of TVs, mobile phones
18 and tablet PCs.
19
20properties:
21 compatible:
22 const: rohm,bu27010
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 vdd-supply: true
31
32required:
33 - compatible
34 - reg
35 - vdd-supply
36
37additionalProperties: false
38
39examples:
40 - |
41 i2c {
42 #address-cells = <1>;
43 #size-cells = <0>;
44
45 light-sensor@38 {
46 compatible = "rohm,bu27010";
47 reg = <0x38>;
c6fd9127 48 vdd-supply = <&vdd>;
ce2a8c16
MV
49 };
50 };