xref: /freebsd/sys/contrib/device-tree/Bindings/iio/light/rohm,bu27034.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1*fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*fac71e4eSEmmanuel Vadot%YAML 1.2
3*fac71e4eSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/light/rohm,bu27034.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*fac71e4eSEmmanuel Vadot
7*fac71e4eSEmmanuel Vadottitle: ROHM BU27034 ambient light sensor
8*fac71e4eSEmmanuel Vadot
9*fac71e4eSEmmanuel Vadotmaintainers:
10*fac71e4eSEmmanuel Vadot  - Matti Vaittinen <mazziesaccount@gmail.com>
11*fac71e4eSEmmanuel Vadot
12*fac71e4eSEmmanuel Vadotdescription: |
13*fac71e4eSEmmanuel Vadot  ROHM BU27034 is an ambient light sesnor with 3 channels and 3 photo diodes
14*fac71e4eSEmmanuel Vadot  capable of detecting a very wide range of illuminance. Typical application
15*fac71e4eSEmmanuel Vadot  is adjusting LCD and backlight power of TVs and mobile phones.
16*fac71e4eSEmmanuel Vadot  https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/light/bu27034nuc-e.pdf
17*fac71e4eSEmmanuel Vadot
18*fac71e4eSEmmanuel Vadotproperties:
19*fac71e4eSEmmanuel Vadot  compatible:
20*fac71e4eSEmmanuel Vadot    const: rohm,bu27034
21*fac71e4eSEmmanuel Vadot
22*fac71e4eSEmmanuel Vadot  reg:
23*fac71e4eSEmmanuel Vadot    maxItems: 1
24*fac71e4eSEmmanuel Vadot
25*fac71e4eSEmmanuel Vadot  vdd-supply: true
26*fac71e4eSEmmanuel Vadot
27*fac71e4eSEmmanuel Vadotrequired:
28*fac71e4eSEmmanuel Vadot  - compatible
29*fac71e4eSEmmanuel Vadot  - reg
30*fac71e4eSEmmanuel Vadot
31*fac71e4eSEmmanuel VadotadditionalProperties: false
32*fac71e4eSEmmanuel Vadot
33*fac71e4eSEmmanuel Vadotexamples:
34*fac71e4eSEmmanuel Vadot  - |
35*fac71e4eSEmmanuel Vadot    i2c {
36*fac71e4eSEmmanuel Vadot      #address-cells = <1>;
37*fac71e4eSEmmanuel Vadot      #size-cells = <0>;
38*fac71e4eSEmmanuel Vadot
39*fac71e4eSEmmanuel Vadot      light-sensor@38 {
40*fac71e4eSEmmanuel Vadot        compatible = "rohm,bu27034";
41*fac71e4eSEmmanuel Vadot        reg = <0x38>;
42*fac71e4eSEmmanuel Vadot        vdd-supply = <&vdd>;
43*fac71e4eSEmmanuel Vadot      };
44*fac71e4eSEmmanuel Vadot    };
45*fac71e4eSEmmanuel Vadot
46*fac71e4eSEmmanuel Vadot...
47