TWL4030-Core support on 3430
PATCH 3/5 TWL4030-Core support on 3430
This patch adds TWL core on 3430
Signed-off-by Girish S G <[email protected]>
--- 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(-)
arch/arm/configs/omap_3430sdp_defconfig +6 -0
@@ -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
drivers/i2c/chips/Kconfig +1 -1
@@ -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
include/asm-arm/arch-omap/board-3430sdp.h +2 -2
@@ -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)