All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Ortiz <sameo@linux.intel.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-omap@vger.kernel.org
Subject: Re: [RFC PATCH 2/5] mfd: introduce retu-mfd driver
Date: Wed, 19 Sep 2012 17:30:31 +0200	[thread overview]
Message-ID: <20120919153031.GI28670@sortiz-mobl> (raw)
In-Reply-To: <1346189667-32330-3-git-send-email-aaro.koskinen@iki.fi>

Hi Aaro,

On Wed, Aug 29, 2012 at 12:34:24AM +0300, Aaro Koskinen wrote:
> Retu is a multi-function device found on Nokia Internet Tablets
> implementing at least watchdog, RTC, headset detection and power button
> functionality.
> 
> This patch implements a minimum functionality providing only register
> access functions.
> 
> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
> Cc: sameo@linux.intel.com
> ---
>  drivers/mfd/Kconfig      |    8 +++
>  drivers/mfd/Makefile     |    1 +
>  drivers/mfd/retu-mfd.c   |  114 ++++++++++++++++++++++++++++++++++++++++++++++
>  include/linux/mfd/retu.h |   20 ++++++++
>  4 files changed, 143 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/mfd/retu-mfd.c
>  create mode 100644 include/linux/mfd/retu.h
Besides Felipe's comments, you probably want to use regmap I2C for this
driver.


> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index b1a1462..8ca1270 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -1003,6 +1003,14 @@ config MFD_PALMAS
>  	  If you say yes here you get support for the Palmas
>  	  series of PMIC chips from Texas Instruments.
>  
> +config MFD_RETU
> +	tristate "Support for Retu multi-function device"
> +	select MFD_CORE
> +	depends on I2C
> +	help
> +	  Retu is a multi-function device found on Nokia Internet Tables
> +	  (770, N800 and N810).
Which sub devices does it come with ?

Cheers,
Samuel.

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

  parent reply	other threads:[~2012-09-19 15:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 21:34 [RFC PATCH 0/5] cbus/retu drivers to mainline Aaro Koskinen
2012-08-28 21:34 ` [RFC PATCH 1/5] i2c: introduce i2c-cbus driver Aaro Koskinen
2012-08-29 23:35   ` Tony Lindgren
     [not found]   ` <1346189667-32330-2-git-send-email-aaro.koskinen-X3B1VOXEql0@public.gmane.org>
2012-08-30 15:34     ` Felipe Balbi
2012-08-28 21:34 ` [RFC PATCH 2/5] mfd: introduce retu-mfd driver Aaro Koskinen
2012-08-29 23:37   ` Tony Lindgren
2012-08-30 15:36   ` Felipe Balbi
2012-09-19 15:30   ` Samuel Ortiz [this message]
2012-08-28 21:34 ` [RFC PATCH 3/5] watchdog: introduce retu_wdt driver Aaro Koskinen
2012-08-29 23:38   ` Tony Lindgren
2012-08-28 21:34 ` [RFC PATCH 4/5] arm: omap: n8x0: add i2c-cbus platform data Aaro Koskinen
2012-08-29 23:39   ` Tony Lindgren
2012-08-30 15:38   ` Felipe Balbi
2012-08-28 21:34 ` [RFC PATCH 5/5] arm: omap: n8x0: enable retu Aaro Koskinen
2012-08-29 23:40   ` Tony Lindgren
2012-08-30 15:39   ` Felipe Balbi
2012-08-29 23:28 ` [RFC PATCH 0/5] cbus/retu drivers to mainline Tony Lindgren
2012-08-30 15:39 ` Felipe Balbi

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=20120919153031.GI28670@sortiz-mobl \
    --to=sameo@linux.intel.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=linux-omap@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.