46 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 sensor8 9maintainers:10 - Matti Vaittinen <mazziesaccount@gmail.com>11 12description: |13 ROHM BU27034ANUC is an ambient light sensor with 2 channels and 2 photo diodes14 capable of detecting a very wide range of illuminance. Typical application15 is adjusting LCD and backlight power of TVs and mobile phones.16 17properties:18 compatible:19 const: rohm,bu27034anuc20 21 reg:22 maxItems: 123 24 vdd-supply: true25 26required:27 - compatible28 - reg29 30additionalProperties: false31 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