From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bk0-f46.google.com ([209.85.214.46]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tlgtv-0005oP-VD for barebox@lists.infradead.org; Thu, 20 Dec 2012 14:15:08 +0000 Received: by mail-bk0-f46.google.com with SMTP id q16so1723070bkw.33 for ; Thu, 20 Dec 2012 06:15:04 -0800 (PST) From: "Wjatscheslaw Stoljarski (Slawa)" Date: Thu, 20 Dec 2012 15:14:50 +0100 Message-Id: <1356012890-14822-1-git-send-email-wjatscheslaw.stoljarski@kiwigrid.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] MFD MC34708: Add dependence on SPI To: barebox@lists.infradead.org From: "Wjatscheslaw Stoljarski (Slawa)" MC34708 depend on I2C or SPI, so let driver depend on SPI too and rename config option name to MFD_MC34708. Signed-off-by: Wjatscheslaw Stoljarski --- arch/arm/configs/freescale_mx53_loco_defconfig | 2 +- drivers/mfd/Kconfig | 4 ++-- drivers/mfd/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/configs/freescale_mx53_loco_defconfig b/arch/arm/configs/freescale_mx53_loco_defconfig index b61f0cf..fb6fcf8 100644 --- a/arch/arm/configs/freescale_mx53_loco_defconfig +++ b/arch/arm/configs/freescale_mx53_loco_defconfig @@ -79,7 +79,7 @@ CONFIG_USB_STORAGE=y CONFIG_MCI=y CONFIG_MCI_STARTUP=y CONFIG_MCI_IMX_ESDHC=y -CONFIG_I2C_MC34708=y +CONFIG_MFD_MC34708=y CONFIG_WATCHDOG=y CONFIG_WATCHDOG_IMX=y CONFIG_FS_TFTP=y diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 20eef86..a253de3 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -8,8 +8,8 @@ config I2C_MC34704 depends on I2C bool "MC34704 PMIC driver" -config I2C_MC34708 - depends on I2C +config MFD_MC34708 + depends on I2C || SPI bool "MC34708 PMIC driver" config I2C_MC9SDZ60 diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile index 792ae2d..a242eaf 100644 --- a/drivers/mfd/Makefile +++ b/drivers/mfd/Makefile @@ -1,6 +1,6 @@ obj-$(CONFIG_MFD_MC13XXX) += mc13xxx.o obj-$(CONFIG_I2C_MC34704) += mc34704.o -obj-$(CONFIG_I2C_MC34708) += mc34708.o +obj-$(CONFIG_MFD_MC34708) += mc34708.o obj-$(CONFIG_I2C_MC9SDZ60) += mc9sdz60.o obj-$(CONFIG_I2C_LP3972) += lp3972.o obj-$(CONFIG_I2C_TWLCORE) += twl-core.o -- 1.7.9.5 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox