linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] mc13783: add pwr button support
@ 2011-07-09 23:06 Philippe Rétornaz
  2011-07-09 23:06 ` [PATCH 1/3] mc13783: add power " Philippe Rétornaz
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Rétornaz @ 2011-07-09 23:06 UTC (permalink / raw)
  To: s.hauer
  Cc: linux-arm-kernel, dmitry.torokhov, sameo, linux-input, broonie,
	u.kleine-koenig, philippe.retornaz

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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2011-07-10 14:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-09 23:06 [PATCH v3 0/3] mc13783: add pwr button support Philippe Rétornaz
2011-07-09 23:06 ` [PATCH 1/3] mc13783: add power " Philippe Rétornaz
2011-07-09 23:06   ` [PATCH 2/3] mx31moboard: Add MC13783 " Philippe Rétornaz
2011-07-09 23:06     ` [PATCH 3/3] mc13xxx: implicitly enable leds and buttons Philippe Rétornaz
2011-07-10  8:04       ` Uwe Kleine-König
2011-07-10  8:37         ` Mark Brown
2011-07-10 11:33         ` Philippe Rétornaz
2011-07-10 14:15           ` Uwe Kleine-König

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