From: Chandra shekhar Date: Fri, 16 Nov 2007 13:48:26 +0000 (+0530) Subject: I2C and TWL4030 suport on 34xx X-Git-Tag: v2.6.24-omap1~208 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=e8c13a422e5af1e00dcae19df78bd5385ac6ddf7;p=linux-2.6-omap-h63xx.git I2C and TWL4030 suport on 34xx TWL4030 core support for 3430 Signed-off-by: chandra shekhar Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/configs/omap_3430sdp_defconfig b/arch/arm/configs/omap_3430sdp_defconfig index 5f718f69717..1fb87b5d38e 100644 --- a/arch/arm/configs/omap_3430sdp_defconfig +++ b/arch/arm/configs/omap_3430sdp_defconfig @@ -605,6 +605,11 @@ CONFIG_I2C=y CONFIG_I2C_BOARDINFO=y CONFIG_I2C_CHARDEV=y CONFIG_I2C_OMAP=y +# +# Miscellaneous I2C Chip support +# +CONFIG_TWL4030_CORE=y +CONFIG_TWL4030_GPIO=y # # SPI support diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig index f6b492bcbc2..196ec64e075 100644 --- a/drivers/i2c/chips/Kconfig +++ b/drivers/i2c/chips/Kconfig @@ -132,7 +132,7 @@ config GPIOEXPANDER_OMAP 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 diff --git a/include/asm-arm/arch-omap/board-3430sdp.h b/include/asm-arm/arch-omap/board-3430sdp.h index fbd41909a98..fa919c05def 100644 --- a/include/asm-arm/arch-omap/board-3430sdp.h +++ b/include/asm-arm/arch-omap/board-3430sdp.h @@ -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)