Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

DT: Add documentation for cm36651 proximity/light sensor

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>

authored by

Beomho Seo and committed by
Jonathan Cameron
701a0dc0 e590d451

+27
+26
Documentation/devicetree/bindings/iio/light/cm36651.txt
··· 1 + * Capella CM36651 I2C Proximity and Color Light sensor 2 + 3 + Required properties: 4 + - compatible: must be "capella,cm36651" 5 + - reg: the I2C address of the device 6 + - interrupts: interrupt-specifier for the sole interrupt 7 + generated by the device 8 + - vled-supply: regulator for the IR LED. IR_LED is a part 9 + of the cm36651 for proximity detection. 10 + As covered in ../../regulator/regulator.txt 11 + 12 + Example: 13 + 14 + i2c_cm36651: i2c-gpio { 15 + /* ... */ 16 + 17 + cm36651@18 { 18 + compatible = "capella,cm36651"; 19 + reg = <0x18>; 20 + interrupt-parent = <&gpx0>; 21 + interrupts = <2 0>; 22 + vled-supply = <&ps_als_reg>; 23 + }; 24 + 25 + /* ... */ 26 + };
+1
Documentation/devicetree/bindings/vendor-prefixes.txt
··· 15 15 avago Avago Technologies 16 16 bosch Bosch Sensortec GmbH 17 17 brcm Broadcom Corporation 18 + capella Capella Microsystems, Inc 18 19 cavium Cavium, Inc. 19 20 chrp Common Hardware Reference Platform 20 21 cirrus Cirrus Logic, Inc.