Capella CM36651 I2C Proximity and Color Light sensor
Schema identifier ($id): "http://devicetree.org/schemas/iio/light/capella,cm36651.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Beomho Seo <beomho.seo@samsung.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "capella,cm36651"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
vled-supply — required here #
Supply for the IR_LED which is part of the cm36651 for proximity detection.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "vled-supply"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
light-sensor@18 {
compatible = "capella,cm36651";
reg = <0x18>;
interrupt-parent = <&gpx0>;
interrupts = <2 0>;
vled-supply = <&ps_als_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)