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