Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609807 > unrolled thread

[PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen driver

Started byAndi Shyti <andi.shyti@samsung.com>
First post2017-03-27 15:10 +0200
Last post2017-03-27 15:20 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen  driver Andi Shyti <andi.shyti@samsung.com> - 2017-03-27 15:10 +0200
    Re: [PATCH v3 1/2] Input: add STMicroelectronics FingerTip  touchscreen driver Andi Shyti <andi.shyti@samsung.com> - 2017-03-27 15:20 +0200

#1609807 — [PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen driver

FromAndi Shyti <andi.shyti@samsung.com>
Date2017-03-27 15:10 +0200
Subject[PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen driver
Message-ID<tpCzf-8vt-3@gated-at.bofh.it>
Add binding for the STMicroelectronics FingerTip (stmfts)
touchscreen driver.

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
 .../bindings/input/touchscreen/st,stmfts.txt       | 43 ++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt

diff --git a/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt
new file mode 100644
index 000000000000..9683595cd0f5
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/st,stmfts.txt
@@ -0,0 +1,43 @@
+* ST-Microelectronics FingerTip touchscreen controller
+
+The ST-Microelectronics FingerTip device provides a basic touchscreen
+functionality. Along with it the user can enable the touchkey which can work as
+a basic HOME and BACK key for phones.
+
+The driver supports also hovering as an absolute single touch event with x, y, z
+coordinates.
+
+Required properties:
+- compatible		: must be "st,stmfts"
+- reg			: I2C slave address, (e.g. 0x49)
+- interrupt-parent	: the phandle to the interrupt controller which provides
+			  the interrupt
+- interrupts		: interrupt specification
+- avdd-supply		: analogic power supply
+- vdd-supply		: power supply
+- touchscreen-size-x	: see touchscreen.txt
+- touchscreen-size-y	: see touchscreen.txt
+
+Optional properties:
+- touch-key-connected	: specifies whether the touchkey feature is connected
+- ledvdd-supply		: power supply to the touch key leds
+
+Example:
+
+i2c@00000000 {
+
+	/* ... */
+
+	touchscreen@49 {
+		compatible = "st,stmfts";
+		reg = <0x49>;
+		interrupt-parent = <&gpa1>;
+		interrupts = <1 IRQ_TYPE_NONE>;
+		touchscreen-size-x = <1599>;
+		touchscreen-size-y = <2559>;
+		touch-key-connected;
+		avdd-supply = <&ldo30_reg>;
+		vdd-supply = <&ldo31_reg>;
+		ledvdd-supply = <&ldo33_reg>;
+	};
+};
-- 
2.11.0

[toc] | [next] | [standalone]


#1609824 — Re: [PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen driver

FromAndi Shyti <andi.shyti@samsung.com>
Date2017-03-27 15:20 +0200
SubjectRe: [PATCH v3 1/2] Input: add STMicroelectronics FingerTip touchscreen driver
Message-ID<tpCIX-cb-33@gated-at.bofh.it>
In reply to#1609807
Hi,

On Mon, Mar 27, 2017 at 10:07:42PM +0900, Andi Shyti wrote:
> Add binding for the STMicroelectronics FingerTip (stmfts)
> touchscreen driver.
> 
> Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

I'm sorry, I forgot to add:

Acked-by: Rob Herring <robh@kernel.org>

Andi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web