aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd/da9052-i2c.txt
diff options
context:
space:
mode:
authorSebastian Reichel <sebastian.reichel@collabora.co.uk>2017-07-03 10:39:59 +0200
committerLee Jones <lee.jones@linaro.org>2017-09-05 08:46:00 +0100
commit5368b06dba4b911654221f3aad92b3298392a59a (patch)
treeeb8e215b470030dc838ee24e15de797ba2248a82 /Documentation/devicetree/bindings/mfd/da9052-i2c.txt
parentmfd: max8998: Fix potential NULL pointer dereference (diff)
downloadlinux-dev-5368b06dba4b911654221f3aad92b3298392a59a.tar.xz
linux-dev-5368b06dba4b911654221f3aad92b3298392a59a.zip
dt-bindings: mfd: da9052: Support TSI as ADC
DA9052 allows using the touchscreen input pins as general purpose analogue input pin by wiring analogue inputs to X+, X-, Y+ and Y- and providing a reference voltage at TSIREF pin. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/da9052-i2c.txt')
-rw-r--r--Documentation/devicetree/bindings/mfd/da9052-i2c.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/da9052-i2c.txt b/Documentation/devicetree/bindings/mfd/da9052-i2c.txt
index 9554292dc6cb..57fa74e65664 100644
--- a/Documentation/devicetree/bindings/mfd/da9052-i2c.txt
+++ b/Documentation/devicetree/bindings/mfd/da9052-i2c.txt
@@ -4,6 +4,14 @@ Required properties:
- compatible : Should be "dlg,da9052", "dlg,da9053-aa",
"dlg,da9053-ab", or "dlg,da9053-bb"
+Optional properties:
+- dlg,tsi-as-adc : Boolean, if set the X+, X-, Y+, Y- touchscreen
+ input lines are used as general purpose analogue
+ input.
+- tsiref-supply: Phandle to the regulator, which provides the reference
+ voltage for the TSIREF pin. Must be provided when the
+ touchscreen pins are used for ADC purposes.
+
Sub-nodes:
- regulators : Contain the regulator nodes. The DA9052/53 regulators are
bound using their names as listed below: