diff options
author | Sri Krishna chowdary <schowdary@nvidia.com> | 2014-01-29 10:18:03 +0530 |
---|---|---|
committer | Sachin Nikam <snikam@nvidia.com> | 2014-02-10 00:36:15 -0800 |
commit | 2c5a25157ef38621d20153a0bcdd295647e82047 (patch) | |
tree | a3fe1aee69e5b6b10650cea69dea6157d6791c54 /Documentation | |
parent | 58556ad388017d68ddcf540eea2c3047adf69550 (diff) |
staging: iio: light: IQS253 capacitive sensor
This patch set addresses the following
- In normal mode, IQS253 supports proximity detection upto 2 cm
- In stylus mode, i.e., when AP is in suspend, it acts as a wake up
- Also, DT bindings for IQS253 are added
bug 1420230
Change-Id: I2b1548f8b108dc3b513b34df83c52e24a6cb09bd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/359782
(cherry picked from commit 19fbb45f5c3c1dc9d9ec445923ca951132bf89a2)
Reviewed-on: http://git-master/r/363699
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt | 24 |
1 files changed, 24 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 new file mode 100644 index 000000000000..7c536efeb995 --- /dev/null +++ b/Documentation/devicetree/bindings/staging/iio/light/iqs253-ps.txt @@ -0,0 +1,24 @@ +* IQS253 proximity sensor + +Required properties: +- compatible: must be "azoteq,iqs253" +- reg: i2c address of the device. It is one of 0x44-0x47. +- vendor: vendor of the hardware part. +- proximity,max-range: maximum range of this sensor's value in SI units. +- proximity,integration-time: minimum sampling period in nano seconds. +- 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. + +Example: + + iqs253@44 { + compatible = "azoteq,iqs253"; + reg = <0x44>; + vendor = "Azoteq"; + proximity,max-range = "2"; /* 2 cm */; + proximity,integration-time = "16000000"; /* 16 msec */ + proximity,power-consumed = "1.67"; /* mA */ + rdy-gpio = <&gpio TEGRA_GPIO(PK, 5) 1>; + wake-gpio = <&gpio TEGRA_GPIO(PW, 3) 1>; + }; |