Commit e8c13a42 authored by Chandra shekhar's avatar Chandra shekhar Committed by Tony Lindgren

I2C and TWL4030 suport on 34xx

TWL4030 core support for 3430
Signed-off-by: default avatarchandra shekhar <x0044955@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 033a23d1
......@@ -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
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment