Merge tag 'powerpc-6.6-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[platform/kernel/linux-starfive.git] / Documentation / devicetree / bindings / iio / light / rohm,bu27010.yaml
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
7 title: ROHM BU27010 color sensor
8
9 maintainers:
10   - Matti Vaittinen <mazziesaccount@gmail.com>
11
12 description: |
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
20 properties:
21   compatible:
22     const: rohm,bu27010
23
24   reg:
25     maxItems: 1
26
27   interrupts:
28     maxItems: 1
29
30   vdd-supply: true
31
32 required:
33   - compatible
34   - reg
35   - vdd-supply
36
37 additionalProperties: false
38
39 examples:
40   - |
41     i2c {
42       #address-cells = <1>;
43       #size-cells = <0>;
44
45       light-sensor@38 {
46         compatible = "rohm,bu27010";
47         reg = <0x38>;
48         vdd-supply = <&vdd>;
49       };
50     };