[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20121123155421.GG28552@gmail.com>
Date: Fri, 23 Nov 2012 15:54:21 +0000
From: Lee Jones <lee.jones@...aro.org>
To: linux-kernel@...r.kernel.org
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
linux-input@...r.kernel.org
Subject: Re: [PATCH 5/5] Documentation: Describe bindings for STMPE Keypad
driver
On Wed, 14 Nov 2012, Lee Jones wrote:
> Here we add the required documentation for the STMPE Device
> Tree bindings. It describes all of the bindings currently
> supported by the driver.
>
> Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Cc: linux-input@...r.kernel.org
> Acked-by: Arnd Bergmann <arnd@...db.de>
> Acked-by: Linus Walleij <linus.walleij@...aro.org>
> Signed-off-by: Lee Jones <lee.jones@...aro.org>
> ---
> .../devicetree/bindings/input/stmpe-keypad.txt | 39 ++++++++++++++++++++
> 1 file changed, 39 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/input/stmpe-keypad.txt
>
> diff --git a/Documentation/devicetree/bindings/input/stmpe-keypad.txt b/Documentation/devicetree/bindings/input/stmpe-keypad.txt
> new file mode 100644
> index 0000000..1b97222
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/input/stmpe-keypad.txt
> @@ -0,0 +1,39 @@
> +* STMPE Keypad
> +
> +Required properties:
> + - compatible : "st,stmpe-keypad"
> + - linux,keymap : See ./matrix-keymap.txt
> +
> +Optional properties:
> + - debounce-interval : Debouncing interval time in milliseconds
> + - st,scan-count : Scanning cycles elapsed before key data is updated
> + - st,no-autorepeat : If specified device will not autorepeat
> +
> +Example:
> +
> + stmpe_keypad {
> + compatible = "st,stmpe-keypad";
> +
> + debounce-interval = <64>;
> + st,scan-count = <8>;
> + st,no-autorepeat;
> +
> + linux,keymap = <0x205006b
> + 0x4010074
> + 0x3050072
> + 0x1030004
> + 0x502006a
> + 0x500000a
> + 0x5008b
> + 0x706001c
> + 0x405000b
> + 0x6070003
> + 0x3040067
> + 0x303006c
> + 0x60400e7
> + 0x602009e
> + 0x4020073
> + 0x5050002
> + 0x4030069
> + 0x3020008>;
> + };
> --
> 1.7.9.5
>
Last one.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists