1*c66ec88fSEmmanuel Vadot* Capella CM36651 I2C Proximity and Color Light sensor 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotRequired properties: 4*c66ec88fSEmmanuel Vadot- compatible: must be "capella,cm36651" 5*c66ec88fSEmmanuel Vadot- reg: the I2C address of the device 6*c66ec88fSEmmanuel Vadot- interrupts: interrupt-specifier for the sole interrupt 7*c66ec88fSEmmanuel Vadot generated by the device 8*c66ec88fSEmmanuel Vadot- vled-supply: regulator for the IR LED. IR_LED is a part 9*c66ec88fSEmmanuel Vadot of the cm36651 for proximity detection. 10*c66ec88fSEmmanuel Vadot As covered in ../../regulator/regulator.txt 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel VadotExample: 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel Vadot i2c_cm36651: i2c-gpio { 15*c66ec88fSEmmanuel Vadot /* ... */ 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot cm36651@18 { 18*c66ec88fSEmmanuel Vadot compatible = "capella,cm36651"; 19*c66ec88fSEmmanuel Vadot reg = <0x18>; 20*c66ec88fSEmmanuel Vadot interrupt-parent = <&gpx0>; 21*c66ec88fSEmmanuel Vadot interrupts = <2 0>; 22*c66ec88fSEmmanuel Vadot vled-supply = <&ps_als_reg>; 23*c66ec88fSEmmanuel Vadot }; 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel Vadot /* ... */ 26*c66ec88fSEmmanuel Vadot }; 27