devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@st.com>
To: dmitry.torokhov@gmail.com
Cc: swarren@nvidia.com, spear-devel@list.st.com,
	viresh.linux@gmail.com, devicetree-discuss@lists.ozlabs.org,
	olof@lixom.net, linux-input@vger.kernel.org, sr@denx.de,
	Viresh Kumar <viresh.kumar@st.com>
Subject: [PATCH V3 0/2] Input: Add matrix_keypad_of_build_keymap()
Date: Thu, 29 Mar 2012 14:03:25 +0530	[thread overview]
Message-ID: <cover.1333009670.git.viresh.kumar@st.com> (raw)

This patchset adds matrix_keypad_of_build_keymap() routine for building keymap
directly from device tree.

V2->V3:
- Preference given to platform data over device tree in probe routine of
  drivers.
- Declaration of matrix_keypad_of_build_keymap() routine is changed.
- Range/Overflow checking is done on keys and column.

V1->V2:
- Introduced matrix_keypad_of_build_keymap() and removed fill and free keymap
  routines.
- Updated tegra-kbc.

Viresh Kumar (2):
  Input: of_keymap: Introduce matrix_keypad_of_build_keymap()
  Input: spear-keyboard: add device tree bindings

 .../devicetree/bindings/input/spear-keyboard.txt   |   21 +++++
 drivers/input/keyboard/Kconfig                     |    1 +
 drivers/input/keyboard/spear-keyboard.c            |   86 +++++++++++++++---
 drivers/input/keyboard/tegra-kbc.c                 |   48 +++++-----
 drivers/input/of_keymap.c                          |   94 +++++++++++---------
 include/linux/input/matrix_keypad.h                |   16 +---
 6 files changed, 180 insertions(+), 86 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/spear-keyboard.txt

-- 
1.7.10.rc2.10.gb47606


             reply	other threads:[~2012-03-29  8:33 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-29  8:33 Viresh Kumar [this message]
2012-03-29  8:33 ` [PATCH V3 1/2] Input: of_keymap: Introduce matrix_keypad_of_build_keymap() Viresh Kumar
2012-03-29 15:44   ` Stephen Warren
2012-03-29 16:31     ` viresh kumar
2012-03-30  3:38     ` Viresh Kumar
2012-03-29  8:33 ` [PATCH V3 2/2] Input: spear-keyboard: add device tree bindings Viresh Kumar
2012-05-09  5:28   ` Dmitry Torokhov
2012-05-09  6:53     ` Viresh Kumar
2012-05-15  6:54     ` viresh kumar
2012-05-17 21:31       ` Dmitry Torokhov
2012-03-30  3:33 ` [PATCH v4 1/2] Input: of_keymap: Introduce matrix_keypad_of_build_keymap() Viresh Kumar
2012-03-30  3:55   ` Viresh Kumar
2012-03-30  3:40 ` [PATCH V4 Resend " Viresh Kumar
2012-03-30 18:45   ` Stephen Warren
2012-04-02  3:33     ` Viresh Kumar
2012-04-02  4:01   ` [PATCH] fixup! " Viresh Kumar
2012-04-05  0:45     ` Dmitry Torokhov
2012-04-05  3:52       ` Viresh Kumar
2012-04-17 11:32       ` Viresh Kumar

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=cover.1333009670.git.viresh.kumar@st.com \
    --to=viresh.kumar@st.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=spear-devel@list.st.com \
    --cc=sr@denx.de \
    --cc=swarren@nvidia.com \
    --cc=viresh.linux@gmail.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;
as well as URLs for NNTP newsgroup(s).