Vishay VEML6070 UVA, VEML6075 UVA/B and VEML6040 RGBW sensors

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

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

Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"

VEML6040 datasheet at https://www.vishay.com/docs/84276/veml6040.pdf

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "vishay,veml6040", "vishay,veml6070", "vishay,veml6075"

reg — required here #

Maximum number of items (maxItems): 1

vishay,rset-ohms — not listed as required here #

Resistor used to select the integration time.

Default value (default): 270000

Minimum value (minimum): 75000

Maximum value (maximum): 1200000

vdd-supply — required here #

true — No constraints added by this property rule.

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

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Allowed values (enum): "vishay,veml6040", "vishay,veml6075"

When the condition matches (then) #

Properties and child nodes (properties)

vishay,rset-ohms — not listed as required here

false — Not permitted by this property rule.

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>;

    uv-sensor@10 {
        compatible = "vishay,veml6075";
        reg = <0x10>;
        vdd-supply = <&vdd_reg>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page