From: Aleksei Mamlin <mamlinav@gmail.com>
To: linux-input@vger.kernel.org
Cc: devicetree@vger.kernel.org, Aleksei Mamlin <mamlinav@gmail.com>
Subject: [PATCH v2 3/3] input: goodix: Add bindings documentation
Date: Sun, 18 Jan 2015 17:05:17 +0300 [thread overview]
Message-ID: <1421589917-15687-1-git-send-email-mamlinav@gmail.com> (raw)
In-Reply-To: <1421589740-12132-1-git-send-email-mamlinav@gmail.com>
Signed-off-by: Aleksei Mamlin <mamlinav@gmail.com>
---
.../bindings/input/touchscreen/gt9xx.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt
diff --git a/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt b/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt
new file mode 100644
index 0000000..96c17f0
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/gt9xx.txt
@@ -0,0 +1,23 @@
+Device tree bindings for Goodix GT9xx series touchscreen controller
+
+Required properties:
+
+ - compatible : Should be "goodix,gt9xx"
+ - reg : I2C address of the chip
+ - interrupt-parent : Interrupt controller to which the chip is connected
+ - interrupts : Interrupt to which the chip is connected
+
+Example:
+
+ i2c@00000000 {
+ /* ... */
+
+ gt9xx@5d {
+ compatible = "goodix,gt9xx";
+ reg = <0x5d>;
+ interrupt-parent = <&gpio>;
+ interrupts = <0 2>;
+ };
+
+ /* ... */
+ };
--
2.0.5
prev parent reply other threads:[~2015-01-18 14:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-18 14:02 [PATCH v2 0/3] Add device tree support for Goodix GT9xx series touchscreen controller Aleksei Mamlin
[not found] ` <1421589740-12132-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-18 14:04 ` [PATCH v2 1/3] input: goodix: Add device tree support Aleksei Mamlin
[not found] ` <1421589870-14232-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-01-19 9:48 ` Bastien Nocera
2015-01-18 14:05 ` [PATCH v2 2/3] dt-bindings: Add vendor-prefix for Goodix Aleksei Mamlin
2015-01-18 14:05 ` Aleksei Mamlin [this message]
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=1421589917-15687-1-git-send-email-mamlinav@gmail.com \
--to=mamlinav@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).