Patchwork [2/2] i2c: davinci: Allow i2c driver available for keystone platforms

login
register
mail settings
Submitter Santosh Shilimkar
Date July 25, 2013, 12:28 a.m.
Message ID <1374712099-32095-3-git-send-email-santosh.shilimkar@ti.com>
Download mbox | patch
Permalink /patch/261565/
State Accepted
Headers show

Comments

Santosh Shilimkar - July 25, 2013, 12:28 a.m.
Keystone SOCs uses the same I2C IP as available on DaVinci SOCs.
Update the config so that ARCH_KEYSTONE can use it.

Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Wolfram Sang <wsa@the-dreams.de>

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
---
 drivers/i2c/busses/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Wolfram Sang - Aug. 15, 2013, 12:31 p.m.
On Wed, Jul 24, 2013 at 08:28:19PM -0400, Santosh Shilimkar wrote:
> Keystone SOCs uses the same I2C IP as available on DaVinci SOCs.
> Update the config so that ARCH_KEYSTONE can use it.
> 
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Wolfram Sang <wsa@the-dreams.de>
> 
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>

Applied to for-next, thanks!

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index dc6dea6..fcdd321 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -385,7 +385,7 @@  config I2C_CPM
 
 config I2C_DAVINCI
 	tristate "DaVinci I2C driver"
-	depends on ARCH_DAVINCI
+	depends on ARCH_DAVINCI || ARCH_KEYSTONE
 	help
 	  Support for TI DaVinci I2C controller driver.