summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2014-02-15 07:30:58 +0530
committerSachin Nikam <snikam@nvidia.com>2014-02-18 03:15:00 -0800
commit8e7218c8cb777585a3e17aa8dc779804eb447251 (patch)
tree99bac83e579f26779afa063f37d63fb10912ebb4 /Documentation
parent268b25d76f0050c4d64bfa87b930bd17b127f32c (diff)
staging: iio: light: iqs253: option stylus-detect
Add stylus-detect option in DT. Detect stylus only if this option is specified in device node. Bug 1420230 Change-Id: I46e0b0c370ce69fbe592ff70529fdaffb69e911f Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/368244 Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt b/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt
index 1dab27d73dfc..a57827c05948 100644
--- a/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt
+++ b/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt
@@ -11,6 +11,9 @@ Required properties:
- wake-gpio: gpio to be used for wakeup on stylus insert/removal event.
- sar-gpio: gpio to be used for sending proximity event to SAR sensor.
+Optional properties:
+- stylus-detect: specify this option to enable stylus detection
+
Example:
iqs253@44 {
@@ -23,4 +26,5 @@ Example:
rdy-gpio = <&gpio TEGRA_GPIO(PK, 5) 1>;
wake-gpio = <&gpio TEGRA_GPIO(PW, 3) 1>;
sar-gpio = <&gpio TEGRA_GPIO(I, 2) 1>;
+ stylus-detect;
};