51 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,bu27010.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BU27010 color sensor8 9maintainers:10 - Matti Vaittinen <mazziesaccount@gmail.com>11 12description: |13 The ROHM BU27010 is a sensor with 6 photodiodes (red, green, blue, clear,14 IR and flickering detection) with five configurable channels. Red, green15 and flickering detection being always available and two out of the rest16 three (blue, clear, IR) can be selected to be simultaneously measured.17 Typical application is adjusting LCD/OLED backlight of TVs, mobile phones18 and tablet PCs.19 20properties:21 compatible:22 const: rohm,bu2701023 24 reg:25 maxItems: 126 27 interrupts:28 maxItems: 129 30 vdd-supply: true31 32required:33 - compatible34 - reg35 - vdd-supply36 37additionalProperties: false38 39examples: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 };51