lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 18 Nov 2011 10:56:30 +0100
From:	Paul Bolle <pebolle@...cali.nl>
To:	Ashish Jangam <ashish.jangam@...tcummins.com>
Cc:	Mark Brown <broonie@...nsource.wolfsonmicro.com>,
	"arnd@...db.de" <arnd@...db.de>,
	"sameo@...nedhand.com" <sameo@...nedhand.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Dajun <dajun.chen@...semi.com>,
	"linaro-dev@...ts.linaro.org" <linaro-dev@...ts.linaro.org>
Subject: Re: [PATCH 1/11] MFD: DA9052 MFD core module v8

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@...semi.com>
> Signed-off-by: Ashish Jangam <ashish.jangam@...tcummins.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ