[PATCH v3 0/3] mc13783: add pwr button support

Philippe Rétornaz philippe.retornaz at epfl.ch
Sat Jul 9 19:06:33 EDT 2011


Hello

This add button handling for the MC13783 PMIC.
The first patch modify the mc13783 MFD driver to add a button
subdevice and also adds the mc13783-pwrbutton driver using a misc
input device.

The second patch adds the power on button support to the mx31moboard boards.

The third patch is optional and modify the mc13xxx driver to use the platform 
data to check if the leds and buttons subdevices should be enabled.

We need to keep the regulator flags as the regulator platform data can be NULL
on mc13892.

v2: first patch modified according to comments by Dmitry Torokhov
v3: Implement review by Uwe

Philippe Rétornaz (3):
  mc13783: add power button support
  mx31moboard: Add MC13783 power button support
  mc13xxx: implicitly enable leds and buttons

 arch/arm/mach-imx/mach-mx31moboard.c   |   10 +-
 drivers/input/misc/Kconfig             |   10 +
 drivers/input/misc/Makefile            |    1 +
 drivers/input/misc/mc13783-pwrbutton.c |  288 ++++++++++++++++++++++++++++++++
 drivers/mfd/mc13xxx-core.c             |    6 +-
 include/linux/mfd/mc13783.h            |    2 +-
 include/linux/mfd/mc13xxx.h            |   18 ++-
 7 files changed, 331 insertions(+), 4 deletions(-)
 create mode 100644 drivers/input/misc/mc13783-pwrbutton.c




More information about the linux-arm-kernel mailing list