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,bu27034.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ROHM BU27034 ambient light sensor
8
9maintainers:
10  - Matti Vaittinen <mazziesaccount@gmail.com>
11
12description: |
13  ROHM BU27034 is an ambient light sesnor with 3 channels and 3 photo diodes
14  capable of detecting a very wide range of illuminance. Typical application
15  is adjusting LCD and backlight power of TVs and mobile phones.
16  https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/light/bu27034nuc-e.pdf
17
18properties:
19  compatible:
20    const: rohm,bu27034
21
22  reg:
23    maxItems: 1
24
25  vdd-supply: true
26
27required:
28  - compatible
29  - reg
30
31additionalProperties: false
32
33examples:
34  - |
35    i2c {
36      #address-cells = <1>;
37      #size-cells = <0>;
38
39      light-sensor@38 {
40        compatible = "rohm,bu27034";
41        reg = <0x38>;
42        vdd-supply = <&vdd>;
43      };
44    };
45
46...
47