STMicro VL6180 ALS, range and proximity sensor

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

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

Maintainers (maintainers): "Manivannan Sadhasivam <manivannanece23@gmail.com>", "Peter Meerwald-Stadler <pmeerw@pmeerw.net>"

Proximity sensing module incorporating time of flight sensor Datasheet at https://www.st.com/resource/en/datasheet/vl6180x.pdf

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "st,vl6180"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

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

false

Not allowed by this rule.

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

Examples (examples) #

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

    proximity@29 {
        compatible = "st,vl6180";
        reg = <0x29>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page