mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: <mika.penttila@nextfour.com>
To: <linux-input@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: tammy_tseng@sis.com, yuger_yu@sis.com,
	"Mika Penttilä" <mika.penttila@nextfour.com>
Subject: [PATCH v6 2/2] Input: SiS 9200 documentation parts
Date: Tue, 2 Aug 2016 12:52:31 +0300	[thread overview]
Message-ID: <1470131552-13401-3-git-send-email-mika.penttila@nextfour.com> (raw)
In-Reply-To: <1470131552-13401-1-git-send-email-mika.penttila@nextfour.com>

From: Mika Penttilä <mika.penttila@nextfour.com>

Signed-off-by: Mika Penttilä <mika.penttila@nextfour.com>
Acked-by: Tammy Tseng <tammy_tseng@sis.com>
Acked-by: Yuger Yu <yuger_yu@sis.com>
---
 .../bindings/input/touchscreen/sis_i2c.txt         | 22 ++++++++++++++++++++++
 .../devicetree/bindings/vendor-prefixes.txt        |  1 +
 2 files changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt

diff --git a/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt b/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt
new file mode 100644
index 0000000..e2c4902
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/sis_i2c.txt
@@ -0,0 +1,22 @@
+* SiS I2C Multiple Touch Controller
+
+Required properties:
+- compatible: must be "sis,9200-ts"
+- reg: i2c slave address
+- interrupt-parent: the phandle for the interrupt controller
+- interrupts: touch controller interrupt
+- irq-gpio: the gpio pin used as irq pin
+- reset-gpio: the gpio pin used to reset the controller 
+
+Example:
+
+	sis9255@5c  {
+                compatible = "sis,9200-ts";
+                reg = <0x5c>;
+                pinctrl-names = "default";
+                pinctrl-0 = <&pinctrl_sis>;
+                interrupt-parent = <&gpio3>;
+                interrupts = <19 IRQ_TYPE_EDGE_FALLING>>;
+                irq-gpio = <&gpio3 19 GPIO_ACTIVE_LOW>;
+                reset-gpio = <&gpio2 30 GPIO_ACTIVE_LOW>;
+	};
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 68391a4..1992aa9 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -238,6 +238,7 @@ simtek
 sii	Seiko Instruments, Inc.
 silergy	Silergy Corp.
 sirf	SiRF Technology, Inc.
+sis	Silicon Integrated Systems Corp.
 sitronix	Sitronix Technology Corporation
 skyworks	Skyworks Solutions, Inc.
 smsc	Standard Microsystems Corporation
-- 
1.9.1

  parent reply	other threads:[~2016-08-02 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02  9:52 [PATCH v6 0/2] Input: SiS 9200 family I2C touchscreen controller driver mika.penttila
2016-08-02  9:52 ` [PATCH v6 1/2] Input: Driver for SiS-9200 family I2C touchscreen controller mika.penttila
2016-08-02  9:52 ` mika.penttila [this message]
2016-08-03  7:52 ` [PATCH v6 0/2] Input: SiS 9200 family I2C touchscreen controller driver Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470131552-13401-3-git-send-email-mika.penttila@nextfour.com \
    --to=mika.penttila@nextfour.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tammy_tseng@sis.com \
    --cc=yuger_yu@sis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®