Thread (11 messages) 11 messages, 3 authors, 2017-07-22

Re: [PATCHv4 3/4] dt-bindings: mfd: da9052: support TSI as ADC

From: Sebastian Reichel <hidden>
Date: 2017-07-17 11:27:17
Also in: linux-devicetree, linux-hwmon, lkml

Hi Lee,

On Mon, Jul 17, 2017 at 11:49:45AM +0100, Lee Jones wrote:
On Fri, 30 Jun 2017, Sebastian Reichel wrote:
quoted
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 <redacted>
---
 Documentation/devicetree/bindings/mfd/da9052-i2c.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
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.
+
DT Ack please.
There is a v5 of this series, which has Acked-by from Rob already
and got positive feedback from Guenter Roeck for the hwmon parts:

http://lkml.iu.edu/hypermail/linux/kernel/1707.0/00518.html

(if you received v4, v5 should also be in your INBOX)

-- Sebastian

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help