From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Grant Likely <grant.likely@linaro.org>
Subject: Re: [PATCH v3 2/2] input: clps711x-keypad: dts: Add bindings documentation
Date: Fri, 28 Mar 2014 09:43:24 -0700 [thread overview]
Message-ID: <20140328164324.GC7582@core.coreip.homeip.net> (raw)
In-Reply-To: <1395165888-17434-2-git-send-email-shc_work@mail.ru>
On Tue, Mar 18, 2014 at 10:04:48PM +0400, Alexander Shiyan wrote:
> This patch adds the devicetree documentation for the Cirrus Logic
> CLPS711X keypad.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
I picked this one up and folded into the driver patch.
> ---
> .../devicetree/bindings/input/clps711x-keypad.txt | 27 ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/clps711x-keypad.txt
>
> diff --git a/Documentation/devicetree/bindings/input/clps711x-keypad.txt b/Documentation/devicetree/bindings/input/clps711x-keypad.txt
> new file mode 100644
> index 0000000..93fa2c1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/clps711x-keypad.txt
> @@ -0,0 +1,27 @@
> +* Cirrus Logic CLPS711X matrix keypad device tree bindings
> +
> +Required Properties:
> +- compatible: Shall contain "cirrus,clps711x-keypad".
> +- row-gpios: List of GPIOs used as row lines.
> +- poll-interval: Poll interval time in milliseconds.
> +- linux,keymap: The definition can be found at
> + bindings/input/matrix-keymap.txt.
> +
> +Optional Properties:
> +- autorepeat: Enable autorepeat feature.
> +
> +Example:
> + keypad {
> + compatible = "cirrus,ep7312-keypad", "cirrus,clps711x-keypad";
> + autorepeat;
> + poll-interval = <120>;
> + row-gpios = <&porta 0 0>,
> + <&porta 1 0>;
> +
> + linux,keymap = <
> + MATRIX_KEY(0, 0, KEY_UP)
> + MATRIX_KEY(0, 1, KEY_DOWN)
> + MATRIX_KEY(1, 0, KEY_LEFT)
> + MATRIX_KEY(1, 1, KEY_RIGHT)
> + >;
> + };
> --
> 1.8.3.2
>
--
Dmitry
next prev parent reply other threads:[~2014-03-28 16:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-18 18:04 [PATCH RESEND] input: dts: Add commonly used event types Alexander Shiyan
2014-03-18 18:04 ` [PATCH v3 2/2] input: clps711x-keypad: dts: Add bindings documentation Alexander Shiyan
2014-03-28 16:43 ` Dmitry Torokhov [this message]
2014-03-28 16:43 ` [PATCH RESEND] input: dts: Add commonly used event types 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=20140328164324.GC7582@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=grant.likely@linaro.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-input@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=shc_work@mail.ru \
/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).