mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-22 20:30:58 +02:00
The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear and IR) with four configurable channels. Red and green being always available and two out of the rest three (blue, clear, IR) can be selected to be simultaneously measured. Typical application is adjusting LCD backlight of TVs, mobile phones and tablet PCs. Add BU27008 dt-bindings. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/f24196e11ee73511312b629daa20c7d783d8bf6c.1683541225.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
50 lines
1010 B
YAML
50 lines
1010 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/iio/light/rohm,bu27008.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ROHM BU27008 color sensor
|
|
|
|
maintainers:
|
|
- Matti Vaittinen <mazziesaccount@gmail.com>
|
|
|
|
description:
|
|
The ROHM BU27008 is a sensor with 5 photodiodes (red, green, blue, clear
|
|
and IR) with four configurable channels. Red and green being always
|
|
available and two out of the rest three (blue, clear, IR) can be
|
|
selected to be simultaneously measured. Typical application is adjusting
|
|
LCD backlight of TVs, mobile phones and tablet PCs.
|
|
|
|
properties:
|
|
compatible:
|
|
const: rohm,bu27008
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
vdd-supply: true
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
i2c {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
light-sensor@38 {
|
|
compatible = "rohm,bu27008";
|
|
reg = <0x38>;
|
|
};
|
|
};
|
|
|
|
...
|