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,bu27008.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ROHM BU27008 color sensor 8 9maintainers: 10 - Matti Vaittinen <mazziesaccount@gmail.com> 11 12description: 13 The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear 14 and IR) with four configurable channels. Red and green being always 15 available and two out of the rest three (blue, clear, IR) can be 16 selected to be simultaneously measured. Typical application is adjusting 17 LCD backlight of TVs, mobile phones and tablet PCs. 18 19properties: 20 compatible: 21 const: rohm,bu27008 22 23 reg: 24 maxItems: 1 25 26 interrupts: 27 maxItems: 1 28 29 vdd-supply: true 30 31required: 32 - compatible 33 - reg 34 35additionalProperties: false 36 37examples: 38 - | 39 i2c { 40 #address-cells = <1>; 41 #size-cells = <0>; 42 43 light-sensor@38 { 44 compatible = "rohm,bu27008"; 45 reg = <0x38>; 46 }; 47 }; 48 49... 50