ROHM BU27034ANUC ambient light sensor

Schema identifier ($id): "http://devicetree.org/schemas/iio/light/rohm,bu27034anuc.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Matti Vaittinen <mazziesaccount@gmail.com>"

ROHM BU27034ANUC is an ambient light sensor with 2 channels and 2 photo diodes capable of detecting a very wide range of illuminance. Typical application is adjusting LCD and backlight power of TVs and mobile phones.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "rohm,bu27034anuc"

reg — required here #

Maximum number of items (maxItems): 1

vdd-supply — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;

  light-sensor@38 {
    compatible = "rohm,bu27034anuc";
    reg = <0x38>;
    vdd-supply = <&vdd>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page