public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Girish" <girishsg@ti.com>
To: linux-omap-open-source@linux.omap.com
Subject: [PATCH 3/5] TWL4030-Core support on 3430
Date: Fri, 2 Nov 2007 20:54:50 +0530	[thread overview]
Message-ID: <00f701c81d64$82aa8ed0$6a8918ac@ent.ti.com> (raw)

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)

                 reply	other threads:[~2007-11-02 15:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='00f701c81d64$82aa8ed0$6a8918ac@ent.ti.com' \
    --to=girishsg@ti.com \
    --cc=linux-omap-open-source@linux.omap.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