From 0d1f9ef03f9bc2a45e9577c2b8cb2398ea2a3d05 Mon Sep 17 00:00:00 2001 From: Beomho Seo Date: Wed, 14 Aug 2013 12:01:53 +0900 Subject: 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 --- .../devicetree/bindings/iio/light/cm36651.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/light/cm36651.txt (limited to 'Documentation') 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>; + }; + + /* ... */ + }; -- cgit v1.2.3