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


Groups > linux.kernel > #1560605

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

From Andi Shyti <andi.shyti@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver
Date 2017-01-17 15:10 +0100
Message-ID <t0CCu-84W-3@gated-at.bofh.it> (permalink)
References <t0CCu-84W-5@gated-at.bofh.it> <t0CCu-84W-7@gated-at.bofh.it> <t0CCu-84W-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Add binding for the STMicroelectronics FingerTip (stmfts)
touchscreen driver.

Signed-off-by: Andi Shyti <andi.shyti@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..788f4ba744db
--- /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 {
+
+	/* ... */
+
+	stmfts@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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver Andi Shyti <andi.shyti@samsung.com> - 2017-01-17 15:10 +0100
  Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Javier Martinez Canillas <javier@osg.samsung.com> - 2017-01-17 15:40 +0100
  Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Krzysztof Kozlowski <krzk@kernel.org> - 2017-01-17 20:00 +0100
    Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-01-17 21:50 +0100
      Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Andi Shyti <andi.shyti@samsung.com> - 2017-01-18 02:30 +0100
    Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Andi Shyti <andi.shyti@samsung.com> - 2017-01-18 02:20 +0100
  Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Rob Herring <robh@kernel.org> - 2017-01-19 19:30 +0100
    Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen  driver Andi Shyti <andi@etezian.org> - 2017-01-20 01:20 +0100
      Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver Rob Herring <robh@kernel.org> - 2017-01-20 14:30 +0100

csiph-web