The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Samuel Ortiz <sameo@linux.intel.com>
To: "Kim, Milo" <Milo.Kim@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4] mfd: add new lp8788 driver
Date: Wed, 19 Sep 2012 19:04:41 +0200	[thread overview]
Message-ID: <20120919170441.GQ28670@sortiz-mobl> (raw)
In-Reply-To: <A874F61F95741C4A9BA573A70FE3998F41EF4501@DQHE02.ent.ti.com>

Hi Kim,

On Fri, Sep 07, 2012 at 08:51:50AM +0000, Kim, Milo wrote:
>  TI LP8788 PMU provides regulators, battery charger, ADC,
>  RTC, backlight driver and current sinks.
> 
>  This MFD patch supports the I2C communication using the regmap,
>  the interrupt handling using the linear IRQ domain and
>  configurable platform data structures for each driver module.
> 
>  (Driver Architecture)
> 
>                                          < mfd devices >
>   LP8788 HW  ..........  mfd  .......... regulator drivers
>                 I2C                      power supply driver
>                 IRQs                     iio adc driver
>                                          rtc driver
>                                          backlight driver
>                                          current sink drivers
> 
>   o regulators    : LDOs and BUCKs
>   o power supply  : Battery charger
>   o iio adc       : Battery voltage/temperature
>   o rtc           : RTC and alarm
>   o backlight
>   o current sink  : LED and vibrator
> 
>  All MFD device modules are registered by LP8788 MFD core driver.
>  For sharing information such like the virtual IRQ number,
>  MFD core driver uses the resource structure.
>  Then each module can retrieve the specific IRQ number and detect it
>  in the IRQ thread.
> 
>  Configurable platform data is handled in each driver module.
> 
>  (History)
> 
>  Patch v4.
>  ADC platform data change : pointer array -> simple pointer
> 
>  Patch v3.
>  Use linear IRQ domain rather than old generic IRQ.
> 
>  Patch v2.
>  Use generic IRQ for interrupt handling.
>  Remove ADC exported functions. moved to new iio adc driver.
> 
> Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
> ---
>  drivers/mfd/Kconfig              |   10 ++
>  drivers/mfd/Makefile             |    2 +
>  drivers/mfd/lp8788-irq.c         |  197 +++++++++++++++++++++
>  drivers/mfd/lp8788.c             |  245 +++++++++++++++++++++++++
>  include/linux/mfd/lp8788-isink.h |   52 ++++++
>  include/linux/mfd/lp8788.h       |  364 ++++++++++++++++++++++++++++++++++++++
>  6 files changed, 870 insertions(+)
>  create mode 100644 drivers/mfd/lp8788-irq.c
>  create mode 100644 drivers/mfd/lp8788.c
>  create mode 100644 include/linux/mfd/lp8788-isink.h
>  create mode 100644 include/linux/mfd/lp8788.h
This is applied to my for-next branch now, thanks.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

      reply	other threads:[~2012-09-19 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07  8:51 [PATCH v4] mfd: add new lp8788 driver Kim, Milo
2012-09-19 17:04 ` Samuel Ortiz [this message]

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=20120919170441.GQ28670@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=Milo.Kim@ti.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    /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