mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Ashish Jangam <ashish.jangam@kpitcummins.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"sameo@openedhand.com" <sameo@openedhand.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Dajun <dajun.chen@diasemi.com>,
	"linaro-dev@lists.linaro.org" <linaro-dev@lists.linaro.org>
Subject: Re: [PATCH 1/11] MFD: DA9052 MFD core module v8
Date: Fri, 18 Nov 2011 10:56:30 +0100	[thread overview]
Message-ID: <1321610190.20271.328.camel@x61.thuisdomein> (raw)
In-Reply-To: <1320300865.2092.10.camel@dhruva>

On Thu, 2011-11-03 at 11:44 +0530, Ashish Jangam wrote:
> The DA9052/53 is a highly integrated PMIC subsystem with supply domain
> flexibility to support wide range of high performance application.
> 
> It provides voltage regulators, GPIO controller, Touch Screen, RTC, Battery
> control and other functionality.
> 
> Signed-off-by: David Dajun Chen <dchen@diasemi.com>
> Signed-off-by: Ashish Jangam <ashish.jangam@kpitcummins.com>
> ---
[...]
> ---
>  drivers/mfd/Kconfig               |   26 ++
>  drivers/mfd/Makefile              |    7 +
>  drivers/mfd/da9052-core.c         |  371 ++++++++++++++++++
>  drivers/mfd/da9052-i2c.c          |  144 +++++++
>  drivers/mfd/da9052-irq.c          |  175 +++++++++
>  drivers/mfd/da9052-spi.c          |  169 ++++++++
>  include/linux/mfd/da9052/da9052.h |  154 ++++++++
>  include/linux/mfd/da9052/pdata.h  |   42 ++
>  include/linux/mfd/da9052/reg.h    |  777 +++++++++++++++++++++++++++++++++++++
>  9 files changed, 1865 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/mfd/da9052-core.c
>  create mode 100644 drivers/mfd/da9052-i2c.c
>  create mode 100644 drivers/mfd/da9052-irq.c
>  create mode 100644 drivers/mfd/da9052-spi.c
>  create mode 100644 include/linux/mfd/da9052/da9052.h
>  create mode 100644 include/linux/mfd/da9052/pdata.h
>  create mode 100644 include/linux/mfd/da9052/reg.h

These three headers are needed by drivers/gpio/gpio-da9052.c. (That file
also needs a fourth header, linux/mfd/da9052/gpio.h, but maybe that's
added by another patch in this series. I didn't check). That file got
added by commit 07bfc91523 ("GPIO: DA9052 GPIO module v3"), and is
included since v3.1.

> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index f1391c2..268f03b 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -328,6 +328,32 @@ config PMIC_DA903X
>  	  individual components like LCD backlight, voltage regulators,
>  	  LEDs and battery-charger under the corresponding menus.
>  
> +config PMIC_DA9052
> +	bool
> +	select MFD_CORE

And the DA9052 GPIO module currently depends on this Kconfig symbol.

> +config MFD_DA9052_SPI
> +	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with SPI"
> +	select REGMAP_SPI
> +	select PMIC_DA9052
> +	depends on SPI_MASTER=y
> +	help
> +	  Support for the Dialog Semiconductor DA9052 PMIC
> +	  when controlled using SPI. This driver provides common support
> +	  for accessing the device, additional drivers must be enabled in
> +	  order to use the functionality of the device.
> +
> +config MFD_DA9052_I2C
> +	bool "Support Dialog Semiconductor DA9052/53 PMIC variants with I2C"
> +	select REGMAP_I2C
> +	select PMIC_DA9052
> +	depends on I2C=y
> +	help
> +	  Support for the Dialog Semiconductor DA9052 PMIC
> +	  when controlled using I2C. This driver provides common support
> +	  for accessing the device, additional drivers must be enabled in
> +	  order to use the functionality of the device.
> +
>  config PMIC_ADP5520
>  	bool "Analog Devices ADP5520/01 MFD PMIC Core Support"
>  	depends on I2C=y

[...]

So the DA9052 GPIO module that is currently in the mainline tree was
added as unbuildable code, wasn't it?


Paul Bolle


  reply	other threads:[~2011-11-18  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03  6:14 Ashish Jangam
2011-11-18  9:56 ` Paul Bolle [this message]
2011-11-18 10:00   ` Ashish Jangam
  -- strict thread matches above, loose matches on Subject: below --
2011-10-19 14:09 Ashish Jangam
2011-10-19 22:38 ` Mark Brown

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=1321610190.20271.328.camel@x61.thuisdomein \
    --to=pebolle@tiscali.nl \
    --cc=arnd@arndb.de \
    --cc=ashish.jangam@kpitcummins.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=dajun.chen@diasemi.com \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sameo@openedhand.com \
    /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

all inboxes | Powered by JetHome®