linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Rétornaz" <philippe.retornaz@epfl.ch>
To: s.hauer@pengutronix.de
Cc: linux-arm-kernel@lists.infradead.org, dmitry.torokhov@gmail.com,
	sameo@linux.intel.com, linux-input@vger.kernel.org,
	broonie@opensource.wolfsonmicro.com,
	u.kleine-koenig@pengutronix.de, philippe.retornaz@epfl.ch
Subject: [PATCH v3 0/3] mc13783: add pwr button support
Date: Sun, 10 Jul 2011 01:06:33 +0200	[thread overview]
Message-ID: <1310252796-10596-1-git-send-email-philippe.retornaz@epfl.ch> (raw)

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

             reply	other threads:[~2011-07-09 22:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-09 23:06 Philippe Rétornaz [this message]
2011-07-09 23:06 ` [PATCH 1/3] mc13783: add power button support 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310252796-10596-1-git-send-email-philippe.retornaz@epfl.ch \
    --to=philippe.retornaz@epfl.ch \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=sameo@linux.intel.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).