From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: arnd@arndb.de, linus.walleij@stericsson.com,
Lee Jones <lee.jones@linaro.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-input@vger.kernel.org
Subject: [PATCH 06/10] Documentation: Detail permitted DT properties for the BU21013 Touch Screen
Date: Tue, 2 Oct 2012 09:13:19 +0100 [thread overview]
Message-ID: <1349165603-24401-7-git-send-email-lee.jones@linaro.org> (raw)
In-Reply-To: <1349165603-24401-1-git-send-email-lee.jones@linaro.org>
Here we apply required documentation for the Rohm BU21013 Touch
Screen driver which describe available properties and how to use
them.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
.../bindings/input/touchscreen/bu21013.txt | 28 ++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
diff --git a/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt b/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
new file mode 100644
index 0000000..51edc75
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
@@ -0,0 +1,28 @@
+* Rohm BU21013 Touch Screen
+
+Required properties:
+ - compatible : "stericsson,bu21013_tp"
+ - reg : I2C device address
+
+Optional properties:
+touch-gpio : GPIO pin registering a touch event
+<supply_name>-supply : Phandle to a regulator supply
+stericsson,touch-max-x : Maximum outward permitted limit in the X axis
+stericsson,touch-max-y : Maximum outward permitted limit in the Y axis
+stericsson,flip-x : Flip touch coordinates on the X axis
+stericsson,flip-y : Flip touch coordinates on the Y axis
+
+Example:
+
+ i2c@80110000 {
+ bu21013_tp@0x5c {
+ compatible = "bu21013_tp";
+ reg = <0x5c>;
+ touch-gpio = <&gpio2 20 0x4>;
+ avdd-supply = <&ab8500_ldo_aux1_reg>;
+
+ stericsson,touch-max-x = <384>;
+ stericsson,touch-max-y = <704>;
+ stricsson,flip-y;
+ };
+ };
--
1.7.9.5
next prev parent reply other threads:[~2012-10-02 8:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1349165603-24401-1-git-send-email-lee.jones@linaro.org>
2012-10-02 8:13 ` [PATCH 03/10] Input: bu21013_ts - Request a regulator that actually exists Lee Jones
2012-10-02 9:16 ` Linus Walleij
2012-10-02 8:13 ` [PATCH 04/10] Input: bu21013_ts - Move GPIO init and exit functions into the driver Lee Jones
2012-10-02 9:18 ` Linus Walleij
2012-10-02 8:13 ` [PATCH 05/10] Input: bu21013_ts - Add support for Device Tree booting Lee Jones
2012-10-02 9:20 ` Linus Walleij
2012-10-02 8:13 ` Lee Jones [this message]
2012-10-02 9:21 ` [PATCH 06/10] Documentation: Detail permitted DT properties for the BU21013 Touch Screen Linus Walleij
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=1349165603-24401-7-git-send-email-lee.jones@linaro.org \
--to=lee.jones@linaro.org \
--cc=arnd@arndb.de \
--cc=dmitry.torokhov@gmail.com \
--cc=linus.walleij@stericsson.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@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).