summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2014-03-04 14:50:18 +0530
committerSachin Nikam <snikam@nvidia.com>2014-03-04 23:07:11 -0800
commitd09cf991b82670cde4ea8d46630b9cace3a0f24a (patch)
treea1037bbaa4b33e2941c6dae85c5989db209d9c6f /Documentation
parent631cdda4c9378c709ee3ce76ad1dd1010326b12f (diff)
staging: iio: light: ltr558: Add ltr659 support
- Add regulator support for vdd, vled - Check sensor's presence during probe - Add device tree support and the bindings file Bug 1469642 Change-Id: Ib6e80149bd424852ee3e343e92ac091204c87f2f Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/377082 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/staging/iio/light/ltr659-ps.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/staging/iio/light/ltr659-ps.txt b/Documentation/devicetree/bindings/staging/iio/light/ltr659-ps.txt
new file mode 100644
index 000000000000..02197b60a28c
--- /dev/null
+++ b/Documentation/devicetree/bindings/staging/iio/light/ltr659-ps.txt
@@ -0,0 +1,16 @@
+* LTR659 proximity sensor
+
+Required properties:
+- compatible: must be "lite-on,ltr659"
+- reg: i2c address of the device. It is 0x23.
+- vdd-supply: regulator supply for chip
+- vled-supply: regulator supply for led anode.
+
+Example:
+
+ ltr659@23 {
+ compatible = "lite-on,ltr659";
+ reg = <0x23>;
+ vdd-supply = <&palmas_smps9>;
+ vled-supply = <&palmas_smps8>;
+ };