50 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,bu27008.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ROHM BU27008 color sensor8 9maintainers:10 - Matti Vaittinen <mazziesaccount@gmail.com>11 12description:13 The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear14 and IR) with four configurable channels. Red and green being always15 available and two out of the rest three (blue, clear, IR) can be16 selected to be simultaneously measured. Typical application is adjusting17 LCD backlight of TVs, mobile phones and tablet PCs.18 19properties:20 compatible:21 const: rohm,bu2700822 23 reg:24 maxItems: 125 26 interrupts:27 maxItems: 128 29 vdd-supply: true30 31required:32 - compatible33 - reg34 35additionalProperties: false36 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