public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/5] TWL4030-Core support on 3430
@ 2007-11-02 15:24 Girish
  0 siblings, 0 replies; only message in thread
From: Girish @ 2007-11-02 15:24 UTC (permalink / raw)
  To: linux-omap-open-source

This patch adds TWL core on 3430
Signed-off-by: Girish S G <girishsg@ti.com>
---
 arch/arm/configs/omap_3430sdp_defconfig   |    6 ++++++
 drivers/i2c/chips/Kconfig                 |    2 +-
 include/asm-arm/arch-omap/board-3430sdp.h |    4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

Index: linux-omap-git/arch/arm/configs/omap_3430sdp_defconfig
===================================================================
--- linux-omap-git.orig/arch/arm/configs/omap_3430sdp_defconfig	2007-10-25 20:49:43.000000000 +0530
+++ linux-omap-git/arch/arm/configs/omap_3430sdp_defconfig	2007-10-25 20:51:13.000000000 +0530
@@ -607,6 +607,12 @@
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_OMAP=y
 #
+# Miscellaneous I2C Chip support
+#
+CONFIG_TWL4030_CORE=y
+CONFIG_TWL4030_GPIO=y
+
+#
 # SPI support
 #
 # CONFIG_SPI is not set
Index: linux-omap-git/drivers/i2c/chips/Kconfig
===================================================================
--- linux-omap-git.orig/drivers/i2c/chips/Kconfig	2007-10-25 20:49:43.000000000 +0530
+++ linux-omap-git/drivers/i2c/chips/Kconfig	2007-10-25 20:51:13.000000000 +0530
@@ -132,7 +132,7 @@
 
 config TWL4030_CORE
 	bool "TI's TWL4030 companion chip Core Driver Support"
-	depends on I2C=y && ARCH_OMAP24XX
+	depends on I2C=y && (ARCH_OMAP24XX || ARCH_OMAP34XX)
 	help
 	  Say yes here if you have TWL4030 chip on your board
 
Index: linux-omap-git/include/asm-arm/arch-omap/board-3430sdp.h
===================================================================
--- linux-omap-git.orig/include/asm-arm/arch-omap/board-3430sdp.h	2007-10-25 20:49:43.000000000 +0530
+++ linux-omap-git/include/asm-arm/arch-omap/board-3430sdp.h	2007-10-25 20:51:13.000000000 +0530
@@ -51,7 +51,7 @@
 #define NAND_BASE	0x0C000000  /* NAND flash */
 #define ONENAND_MAP	0x20000000  /* OneNand flash */
 
-#ifdef CONFIG_I2C_TWL4030_CORE
+#ifdef CONFIG_TWL4030_CORE
 
 #define TWL4030_IRQNUM INT_34XX_SYS_NIRQ
 
@@ -59,7 +59,7 @@
 #define	IH_TWL4030_BASE		IH_BOARD_BASE
 #define	IH_TWL4030_END		(IH_TWL4030_BASE+8)
 
-#ifdef CONFIG_I2C_TWL4030_GPIO
+#ifdef CONFIG_TWL4030_GPIO
 
 /* TWL4030 GPIO Interrupts */
 #define IH_TWL4030_GPIO_BASE	(IH_TWL4030_END)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-02 15:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 15:24 [PATCH 3/5] TWL4030-Core support on 3430 Girish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox