1*f126890aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*f126890aSEmmanuel Vadot%YAML 1.2 3*f126890aSEmmanuel Vadot--- 4*f126890aSEmmanuel Vadot$id: http://devicetree.org/schemas/iio/light/rohm,bu27008.yaml# 5*f126890aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadottitle: ROHM BU27008 color sensor 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Matti Vaittinen <mazziesaccount@gmail.com> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadotdescription: 13*f126890aSEmmanuel Vadot The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear 14*f126890aSEmmanuel Vadot and IR) with four configurable channels. Red and green being always 15*f126890aSEmmanuel Vadot available and two out of the rest three (blue, clear, IR) can be 16*f126890aSEmmanuel Vadot selected to be simultaneously measured. Typical application is adjusting 17*f126890aSEmmanuel Vadot LCD backlight of TVs, mobile phones and tablet PCs. 18*f126890aSEmmanuel Vadot 19*f126890aSEmmanuel Vadotproperties: 20*f126890aSEmmanuel Vadot compatible: 21*f126890aSEmmanuel Vadot const: rohm,bu27008 22*f126890aSEmmanuel Vadot 23*f126890aSEmmanuel Vadot reg: 24*f126890aSEmmanuel Vadot maxItems: 1 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot interrupts: 27*f126890aSEmmanuel Vadot maxItems: 1 28*f126890aSEmmanuel Vadot 29*f126890aSEmmanuel Vadot vdd-supply: true 30*f126890aSEmmanuel Vadot 31*f126890aSEmmanuel Vadotrequired: 32*f126890aSEmmanuel Vadot - compatible 33*f126890aSEmmanuel Vadot - reg 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel VadotadditionalProperties: false 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadotexamples: 38*f126890aSEmmanuel Vadot - | 39*f126890aSEmmanuel Vadot i2c { 40*f126890aSEmmanuel Vadot #address-cells = <1>; 41*f126890aSEmmanuel Vadot #size-cells = <0>; 42*f126890aSEmmanuel Vadot 43*f126890aSEmmanuel Vadot light-sensor@38 { 44*f126890aSEmmanuel Vadot compatible = "rohm,bu27008"; 45*f126890aSEmmanuel Vadot reg = <0x38>; 46*f126890aSEmmanuel Vadot }; 47*f126890aSEmmanuel Vadot }; 48*f126890aSEmmanuel Vadot 49*f126890aSEmmanuel Vadot... 50