linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chao Xie <chao.xie@marvell.com>
To: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
	dmitry.torokhov@gmail.com, haojian.zhuang@gmail.com,
	xiechao.mail@gmail.com
Cc: Chao Xie <chao.xie@marvell.com>
Subject: [PATCH 0/6] input: pxa27x-keypad: enhancement and device tree support
Date: Tue, 23 Apr 2013 23:20:27 -0400	[thread overview]
Message-ID: <1366773633-7727-1-git-send-email-chao.xie@marvell.com> (raw)

The patches include 3 parts
1. copy members of platform data to device private data
pdata pass when probing the device may be freed after device initialized.
It is not safe to use pdata in other places except probe device. So copy
some useful members from pdata to device private structure.

2. use matrix_keypad for matrix keyes support
3. add device tree support for pxa27x-keypad

Chao Xie (6):
  input: pxa27x-keypad: copy members of platform data to device private
    data
  input: pxa27x-keypad: use matrix_keymap for matrix keyes
  arm: mmp: use matrix_keymap for aspenite
  arm: mmp: use matrix_keymap for teton_bga
  input: pxa27x-keypad: remove the unused members at platform data
  input: pxa27x-keypad: add device tree support

 .../devicetree/bindings/input/pxa27x-keypad.txt    |   60 ++++
 arch/arm/mach-mmp/aspenite.c                       |   10 +-
 arch/arm/mach-mmp/teton_bga.c                      |    8 +-
 drivers/input/keyboard/Kconfig                     |    1 +
 drivers/input/keyboard/pxa27x_keypad.c             |  320 +++++++++++++++++---
 include/linux/platform_data/keypad-pxa27x.h        |    3 +-
 6 files changed, 346 insertions(+), 56 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/pxa27x-keypad.txt

-- 
1.7.4.1


             reply	other threads:[~2013-04-24  3:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  3:20 Chao Xie [this message]
2013-04-24  3:20 ` [PATCH 1/6] input: pxa27x-keypad: copy members of platform data to device private data Chao Xie
2013-04-24  8:22   ` Dmitry Torokhov
2013-04-24  3:20 ` [PATCH 2/6] input: pxa27x-keypad: use matrix_keymap for matrix keyes Chao Xie
2013-04-24  3:20 ` [PATCH 3/6] arm: mmp: use matrix_keymap for aspenite Chao Xie
2013-04-24  3:20 ` [PATCH 4/6] arm: mmp: use matrix_keymap for teton_bga Chao Xie
2013-04-24  3:20 ` [PATCH 5/6] input: pxa27x-keypad: remove the unused members at platform data Chao Xie
2013-04-24  3:20 ` [PATCH 6/6] input: pxa27x-keypad: add device tree support Chao Xie

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=1366773633-7727-1-git-send-email-chao.xie@marvell.com \
    --to=chao.xie@marvell.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiechao.mail@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).