summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2014-02-06 10:47:27 +0530
committerSachin Nikam <snikam@nvidia.com>2014-02-18 02:01:51 -0800
commita516912ca5a0f64dc383a6a8191885b8e9f60e3c (patch)
tree8fea10cddad3c18553be17637d4301f0f238743a /Documentation/devicetree
parentfcc7f6236be1b425d3ab316851f4f9e100f09a04 (diff)
staging: iio: light: iqs253: Fine tune settings
- Channel 0 to be used for stylus detection - Channel 1 and 2 to be used for proximity detection - Channel 0 should detect proximity at 0.5 cm - Channel 1 and 2 should detect proximity at 2 cm - SAR gpio to be pulled high on proximity detection else high Change-Id: I5a706583a9bace6b740f319cf7264db79857993c Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/364277 (cherry picked from commit 0dac45f0d954c8d134fd0204f8f7c9999d98dd9f) Reviewed-on: http://git-master/r/368240 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt2
1 files changed, 2 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 7c536efeb995..1dab27d73dfc 100644
--- a/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt
+++ b/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt
@@ -9,6 +9,7 @@ Required properties:
- proximity,power-consumed: rough estimate of this sensor's power consumption in mA.
- rdy-gpio: gpio to be used for i2c handshake with the sensor.
- 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.
Example:
@@ -21,4 +22,5 @@ Example:
proximity,power-consumed = "1.67"; /* mA */
rdy-gpio = <&gpio TEGRA_GPIO(PK, 5) 1>;
wake-gpio = <&gpio TEGRA_GPIO(PW, 3) 1>;
+ sar-gpio = <&gpio TEGRA_GPIO(I, 2) 1>;
};