Skip to content

nput: mpr121 - switch to use device tree probe

Akinobu Mita linux-devicetree linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 5 patches 1 replyIn review

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] nput: mpr121 - switch to use device tree probe

This driver currently only supports legacy platform data probe. This change adds device tree support and gets rid of platform data probe code since no one is actually using mpr121 platform data in the mainline.

This series also contains miscellaneous cleanup and bug fixes that mostly I found while playing with this driver.

* Changes since v1 (All changes are suggested by Dmitry Torokhov)
- Add patch 'annotate PM methods as __maybe_unused'
- Use for_each_set_bit() to search changed bit
- Use linux,keycodes property instead of using matrix keymap API
- Get rid of platform data

Akinobu Mita (5):
Input: mpr121 - annotate PM methods as __maybe_unused
Input: mpr121 - remove unused field in struct mpr121_touchkey
Input: mpr121 - set missing event capability
Input: mpr121 - handle multiple bits change of status register
Input: mpr121 - switch to device tree probe

 .../devicetree/bindings/input/mpr121-touchkey.txt  |  30 +++++
 drivers/input/keyboard/mpr121_touchkey.c           | 141 ++++++++++++++-------
 include/linux/i2c/mpr121_touchkey.h                |  20 ---
 3 files changed, 127 insertions(+), 64 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/input/mpr121-touchkey.txt
 delete mode 100644 include/linux/i2c/mpr121_touchkey.h
Cc Dmitry Torokhov <[email protected]>
Cc Rob Herring <[email protected]>
Signature · 1 line
2.7.4