ON Semiconductor NOA1305 Ambient Light Sensor

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

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

Maintainers (maintainers): "Martyn Welch <martyn.welch@collabora.com>"

Ambient sensing with an i2c interface.

https://www.onsemi.com/pub/Collateral/NOA1305-D.PDF

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "onnn,noa1305"

reg — required here #

Maximum number of items (maxItems): 1

vin-supply — not listed as required here #

Regulator that provides power to the sensor

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@39 {
            compatible = "onnn,noa1305";
            reg = <0x39>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page