mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
701a0dc088
This patch adds device tree binding documentation for CM36651 proximity/light sensor. Signed-off-by: Beomho Seo <beomho.seo@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
27 lines
622 B
Plaintext
27 lines
622 B
Plaintext
* Capella CM36651 I2C Proximity and Color Light sensor
|
|
|
|
Required properties:
|
|
- compatible: must be "capella,cm36651"
|
|
- reg: the I2C address of the device
|
|
- interrupts: interrupt-specifier for the sole interrupt
|
|
generated by the device
|
|
- vled-supply: regulator for the IR LED. IR_LED is a part
|
|
of the cm36651 for proximity detection.
|
|
As covered in ../../regulator/regulator.txt
|
|
|
|
Example:
|
|
|
|
i2c_cm36651: i2c-gpio {
|
|
/* ... */
|
|
|
|
cm36651@18 {
|
|
compatible = "capella,cm36651";
|
|
reg = <0x18>;
|
|
interrupt-parent = <&gpx0>;
|
|
interrupts = <2 0>;
|
|
vled-supply = <&ps_als_reg>;
|
|
};
|
|
|
|
/* ... */
|
|
};
|