xref: /linux/Documentation/devicetree/bindings/iio/light/rohm,bu27034anuc.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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,bu27034anuc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ROHM BU27034ANUC ambient light sensor
8
9maintainers:
10  - Matti Vaittinen <mazziesaccount@gmail.com>
11
12description: |
13  ROHM BU27034ANUC is an ambient light sensor with 2 channels and 2 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
17properties:
18  compatible:
19    const: rohm,bu27034anuc
20
21  reg:
22    maxItems: 1
23
24  vdd-supply: true
25
26required:
27  - compatible
28  - reg
29
30additionalProperties: false
31
32examples:
33  - |
34    i2c {
35      #address-cells = <1>;
36      #size-cells = <0>;
37
38      light-sensor@38 {
39        compatible = "rohm,bu27034anuc";
40        reg = <0x38>;
41        vdd-supply = <&vdd>;
42      };
43    };
44
45...
46