18c2ecf20Sopenharmony_ci* Capella CM36651 I2C Proximity and Color Light sensor 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci- compatible: must be "capella,cm36651" 58c2ecf20Sopenharmony_ci- reg: the I2C address of the device 68c2ecf20Sopenharmony_ci- interrupts: interrupt-specifier for the sole interrupt 78c2ecf20Sopenharmony_ci generated by the device 88c2ecf20Sopenharmony_ci- vled-supply: regulator for the IR LED. IR_LED is a part 98c2ecf20Sopenharmony_ci of the cm36651 for proximity detection. 108c2ecf20Sopenharmony_ci As covered in ../../regulator/regulator.txt 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciExample: 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci i2c_cm36651: i2c-gpio { 158c2ecf20Sopenharmony_ci /* ... */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci cm36651@18 { 188c2ecf20Sopenharmony_ci compatible = "capella,cm36651"; 198c2ecf20Sopenharmony_ci reg = <0x18>; 208c2ecf20Sopenharmony_ci interrupt-parent = <&gpx0>; 218c2ecf20Sopenharmony_ci interrupts = <2 0>; 228c2ecf20Sopenharmony_ci vled-supply = <&ps_als_reg>; 238c2ecf20Sopenharmony_ci }; 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci /* ... */ 268c2ecf20Sopenharmony_ci }; 27