--- /dev/null
+* CAPELLA CM36651 I2C Proximity sensor with Color sensor
+
+Required properties:
+- compatible: must be "capella,cm36651" or "cm36651"
+- reg: the I2C address of light sensor
+- interrupts: interrupt to which the chip is connected
+- vled-suppled: regulator for the sensor device, refere to
+ Documentation/devicetree/bindings/regulator/regulator.txt
+
+Example:
+
+ i2c_cm36651: i2c-gpio-2 {
+ /* ... */
+
+ cm36651@18 {
+ compatible = "cm36651";
+ reg = <0x18>;
+ interrupt-parent = <&gpx0>;
+ interrupts = <2 0>;
+ vled-supply = <&ps_als_reg>;
+ };
+
+ /* ... */
+ };
};
};
+ i2c_cm36651: i2c-gpio-2 {
+ compatible = "i2c-gpio";
+ gpios = <&gpf0 0 0>, <&gpf0 1 0>;
+ i2c-gpio,delay-us = <2>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ cm36651@18 {
+ compatible = "cm36651";
+ reg = <0x18>;
+ interrupt-parent = <&gpx0>;
+ interrupts = <2 0>;
+ vled-supply = <&ps_als_reg>;
+ };
+ };
+
camera {
status = "okay";