linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 0/6] mc13783: add pwr button support
@ 2011-07-22 14:17 Philippe Rétornaz
  2011-07-22 14:17 ` [PATCH 1/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Philippe Rétornaz @ 2011-07-22 14:17 UTC (permalink / raw)
  To: s.hauer
  Cc: linux-arm-kernel, amit.kucheria, dmitry.torokhov, sameo,
	linux-input, broonie, u.kleine-koenig, philippe.retornaz,
	gaowanlong, shawn.guo

Hello

This add button handling for the MC13783 PMIC.

Patch 1 & 2 modify the mc13xxx MFD driver to use the platform data to
resgister the led subdevice and unconditionally register the regulator
subdevice (as suggested by Mark and Uwe).

Patch 3 remove the use of the *_USE_REGULATOR and *_USE_LED macros in
the platform files.

Patch 4 must be applied after patch 1,2,3 to remove the obsolete define.

Patch 5 modify the mc13xxx MFD driver to add a button subdevice and
also adds the mc13783-pwrbutton driver using a misc input device.

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

v2: first patch modified according to comments by Dmitry Torokhov
v3: Implement review by Uwe
v4: Implement comments by Uwe and Mark
v5: Reorder patchset
v6: Minor corrections

Philippe Rétornaz (6):
  mc13xxx: Unconditionally register regulator subdevice
  mc13xxx: implicitly register led subdevice
  mc13xxx: remove obsolete leds and regulators flags
  mc13xxx: remove unused define
  mc13783: add power button support
  mx31moboard: Add MC13783 power button support

 arch/arm/mach-imx/mach-mx27_3ds.c      |    1 -
 arch/arm/mach-imx/mach-mx31_3ds.c      |    2 +-
 arch/arm/mach-imx/mach-mx31lite.c      |    3 +-
 arch/arm/mach-imx/mach-mx31moboard.c   |   11 +-
 arch/arm/mach-imx/mach-pcm038.c        |    3 +-
 arch/arm/mach-mx5/mx51_efika.c         |    2 +-
 drivers/input/misc/Kconfig             |   10 +
 drivers/input/misc/Makefile            |    1 +
 drivers/input/misc/mc13783-pwrbutton.c |  282 ++++++++++++++++++++++++++++++++
 drivers/mfd/mc13xxx-core.c             |   17 ++-
 include/linux/mfd/mc13783.h            |    3 +-
 include/linux/mfd/mc13xxx.h            |   19 ++-
 12 files changed, 336 insertions(+), 18 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] 16+ messages in thread
* [PATCH v5 0/6] mc13783: add pwr button support
@ 2011-07-21 18:04 Philippe Rétornaz
  2011-07-21 18:04 ` [PATCH 1/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz
  0 siblings, 1 reply; 16+ messages in thread
From: Philippe Rétornaz @ 2011-07-21 18:04 UTC (permalink / raw)
  To: s.hauer
  Cc: linux-arm-kernel, amit.kucheria, dmitry.torokhov, sameo,
	linux-input, broonie, u.kleine-koenig, philippe.retornaz

Hello

This add button handling for the MC13783 PMIC.

Patch 1 & 2 modify the mc13xxx MFD driver to use the platform data to
resgister the led subdevice and unconditionally register the regulator
subdevice (as suggested by Mark and Uwe).

Patch 3 remove the use of the *_USE_REGULATOR and *_USE_LED macros in
the platform files.

Patch 4 must be applied after patch 1,2,3 to remove the obsolete define.

Patch 5 modify the mc13xxx MFD driver to add a button subdevice and
also adds the mc13783-pwrbutton driver using a misc input device.

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

v2: first patch modified according to comments by Dmitry Torokhov
v3: Implement review by Uwe
v4: Implement comments by Uwe and Mark
v5: Reorder patchset

Philippe Rétornaz (6):
  mc13xxx: Unconditionally register regulator subdevice
  mc13xxx: implicitly register led subdevice
  mc13xxx: remove obsolete leds and regualtors flags
  mc13xxx: remove unused define
  mc13783: add power button support
  mx31moboard: Add MC13783 power button support

 arch/arm/mach-imx/mach-mx27_3ds.c      |    1 -
 arch/arm/mach-imx/mach-mx31_3ds.c      |    2 +-
 arch/arm/mach-imx/mach-mx31lite.c      |    3 +-
 arch/arm/mach-imx/mach-mx31moboard.c   |   11 +-
 arch/arm/mach-imx/mach-pcm038.c        |    3 +-
 arch/arm/mach-mx5/mx51_efika.c         |    2 +-
 drivers/input/misc/Kconfig             |   10 +
 drivers/input/misc/Makefile            |    1 +
 drivers/input/misc/mc13783-pwrbutton.c |  288 ++++++++++++++++++++++++++++++++
 drivers/mfd/mc13xxx-core.c             |   12 +-
 include/linux/mfd/mc13783.h            |    3 +-
 include/linux/mfd/mc13xxx.h            |   19 ++-
 12 files changed, 337 insertions(+), 18 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] 16+ messages in thread

end of thread, other threads:[~2011-08-25  9:50 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 14:17 [PATCH v6 0/6] mc13783: add pwr button support Philippe Rétornaz
2011-07-22 14:17 ` [PATCH 1/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz
2011-07-22 14:17   ` [PATCH 2/6] mc13xxx: implicitly register led subdevice Philippe Rétornaz
2011-07-22 14:17     ` [PATCH 3/6] mc13xxx: remove obsolete leds and regulators flags Philippe Rétornaz
2011-07-22 14:17       ` [PATCH 4/6] mc13xxx: remove unused define Philippe Rétornaz
2011-07-22 14:17         ` [PATCH 5/6] mc13783: add power button support Philippe Rétornaz
2011-07-22 14:17           ` [PATCH 6/6] mx31moboard: Add MC13783 " Philippe Rétornaz
2011-08-25  9:50             ` Sascha Hauer
2011-08-25  9:49       ` [PATCH 3/6] mc13xxx: remove obsolete leds and regulators flags Sascha Hauer
2011-07-24  3:44 ` [PATCH v6 0/6] mc13783: add pwr button support Shawn Guo
2011-07-25  6:49   ` Philippe Rétornaz
2011-07-25  7:13     ` Shawn Guo
2011-07-25  7:12 ` Wanlong Gao
2011-07-27 10:34 ` Samuel Ortiz
2011-08-03  7:17   ` Philippe Rétornaz
  -- strict thread matches above, loose matches on Subject: below --
2011-07-21 18:04 [PATCH v5 " Philippe Rétornaz
2011-07-21 18:04 ` [PATCH 1/6] mc13xxx: Unconditionally register regulator subdevice Philippe Rétornaz
2011-07-21 18:04   ` [PATCH 2/6] mc13xxx: implicitly register led subdevice Philippe Rétornaz
2011-07-21 18:04     ` [PATCH 3/6] mc13xxx: remove obsolete leds and regualtors flags Philippe Rétornaz
2011-07-21 18:04       ` [PATCH 4/6] mc13xxx: remove unused define Philippe Rétornaz
2011-07-21 18:04         ` [PATCH 5/6] mc13783: add power button support Philippe Rétornaz
2011-07-21 18:04           ` [PATCH 6/6] mx31moboard: Add MC13783 " Philippe Rétornaz

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