summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2013-08-14 12:01:53 +0900
committerChanho Park <chanho61.park@samsung.com>2014-03-20 17:34:46 +0900
commit0d1f9ef03f9bc2a45e9577c2b8cb2398ea2a3d05 (patch)
treeb951976344a69711837ba1d66372d5413681b329 /Documentation
parente24c5ed30c2169460368952c025ca191b14008da (diff)
downloadlinux-3.10-0d1f9ef03f9bc2a45e9577c2b8cb2398ea2a3d05.tar.gz
linux-3.10-0d1f9ef03f9bc2a45e9577c2b8cb2398ea2a3d05.tar.bz2
linux-3.10-0d1f9ef03f9bc2a45e9577c2b8cb2398ea2a3d05.zip
TRATS2: dts: exynos4412-m0.dts: Add cm36651 proximity/light sensor node
- Support cm36651 proximity/light sensor device for TRATS2 board - Add also the binding documentation file Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/light/cm36651.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/light/cm36651.txt b/Documentation/devicetree/bindings/iio/light/cm36651.txt
new file mode 100644
index 00000000000..975296fddc5
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/light/cm36651.txt
@@ -0,0 +1,24 @@
+* CAPELLA CM36651 I2C Proximity sensor with Color sensor
+
+Required properties:
+- compatible: must be "capella,cm36651" or "cm36651"
+- reg: the I2C address of light sensor
+- interrupts: interrupt to which the chip is connected
+- vled-suppled: regulator for the sensor device, refere to
+ Documentation/devicetree/bindings/regulator/regulator.txt
+
+Example:
+
+ i2c_cm36651: i2c-gpio-2 {
+ /* ... */
+
+ cm36651@18 {
+ compatible = "cm36651";
+ reg = <0x18>;
+ interrupt-parent = <&gpx0>;
+ interrupts = <2 0>;
+ vled-supply = <&ps_als_reg>;
+ };
+
+ /* ... */
+ };