linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] input: pxa27x-keypad: enhancement and device tree support
@ 2013-04-24  3:20 Chao Xie
  2013-04-24  3:20 ` [PATCH 1/6] input: pxa27x-keypad: copy members of platform data to device private data Chao Xie
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Chao Xie @ 2013-04-24  3:20 UTC (permalink / raw)
  To: linux-kernel, linux-input, dmitry.torokhov, haojian.zhuang,
	xiechao.mail
  Cc: Chao Xie

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-04-24  8:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24  3:20 [PATCH 0/6] input: pxa27x-keypad: enhancement and device tree support Chao Xie
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

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).