linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] AM3517 EVM: Enable I2C support.
@ 2010-02-25 10:45 Sriramakrishnan
  2010-02-25 10:45 ` [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516 Sriramakrishnan
  2010-02-25 22:40 ` [APPLIED] [PATCH 1/2] AM3517 EVM: Enable I2C support Tony Lindgren
  0 siblings, 2 replies; 4+ messages in thread
From: Sriramakrishnan @ 2010-02-25 10:45 UTC (permalink / raw)
  To: linux-omap; +Cc: Sriramakrishnan

There are multiple devices connected to I2C bus on AM3517EVM
(for instance audio codec, IO expander etc). Enable I2C support
in the default kernel configuration for AM3517 EVM.

Signed-off-by: Sriramakrishnan <srk@ti.com>
---
 arch/arm/configs/am3517_evm_defconfig |   41 ++++++++++++++++++++++++++++++++-
 1 files changed, 40 insertions(+), 1 deletions(-)

diff --git a/arch/arm/configs/am3517_evm_defconfig b/arch/arm/configs/am3517_evm_defconfig
index abe9966..04a804b 100644
--- a/arch/arm/configs/am3517_evm_defconfig
+++ b/arch/arm/configs/am3517_evm_defconfig
@@ -590,7 +590,46 @@ CONFIG_HW_RANDOM=y
 # CONFIG_R3964 is not set
 # CONFIG_RAW_DRIVER is not set
 # CONFIG_TCG_TPM is not set
-# CONFIG_I2C is not set
+CONFIG_I2C=y
+CONFIG_I2C_BOARDINFO=y
+CONFIG_I2C_COMPAT=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_HELPER_AUTO=y
+
+#
+# I2C Hardware Bus support
+#
+
+#
+# I2C system bus drivers (mostly embedded / system-on-chip)
+#
+# CONFIG_I2C_DESIGNWARE is not set
+# CONFIG_I2C_GPIO is not set
+# CONFIG_I2C_OCORES is not set
+CONFIG_I2C_OMAP=y
+# CONFIG_I2C_SIMTEC is not set
+
+#
+# External I2C/SMBus adapter drivers
+#
+# CONFIG_I2C_PARPORT_LIGHT is not set
+# CONFIG_I2C_TAOS_EVM is not set
+# CONFIG_I2C_TINY_USB is not set
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_PCA_PLATFORM is not set
+# CONFIG_I2C_STUB is not set
+
+#
+# Miscellaneous I2C Chip support
+#
+# CONFIG_SENSORS_TSL2550 is not set
+# CONFIG_I2C_DEBUG_CORE is not set
+# CONFIG_I2C_DEBUG_ALGO is not set
+# CONFIG_I2C_DEBUG_BUS is not set
+# CONFIG_I2C_DEBUG_CHIP is not set
 # CONFIG_SPI is not set
 
 #
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516.
  2010-02-25 10:45 [PATCH 1/2] AM3517 EVM: Enable I2C support Sriramakrishnan
@ 2010-02-25 10:45 ` Sriramakrishnan
  2010-02-25 22:41   ` [APPLIED] " Tony Lindgren
  2010-02-25 22:40 ` [APPLIED] [PATCH 1/2] AM3517 EVM: Enable I2C support Tony Lindgren
  1 sibling, 1 reply; 4+ messages in thread
From: Sriramakrishnan @ 2010-02-25 10:45 UTC (permalink / raw)
  To: linux-omap; +Cc: Sriramakrishnan

Correct instances where tca6416 is misspelt as tca6516 in
the board-am3517evm file.

Signed-off-by: Sriramakrishnan <srk@ti.com>
---
 arch/arm/mach-omap2/board-am3517evm.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index e6b8967..b336adc 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -80,7 +80,7 @@ static void __init am3517_evm_rtc_init(void)
 static struct pca953x_platform_data am3517evm_gpio_expander_info_0 = {
 	.gpio_base	= OMAP_MAX_GPIO_LINES,
 };
-static struct i2c_board_info __initdata am3517evm_tca6516_info_0[] = {
+static struct i2c_board_info __initdata am3517evm_tca6416_info_0[] = {
 	{
 		I2C_BOARD_INFO("tca6416", 0x21),
 		.platform_data = &am3517evm_gpio_expander_info_0,
@@ -94,7 +94,7 @@ static struct pca953x_platform_data am3517evm_ui_gpio_expander_info_1 = {
 static struct pca953x_platform_data am3517evm_ui_gpio_expander_info_2 = {
 	.gpio_base	= OMAP_MAX_GPIO_LINES + 32,
 };
-static struct i2c_board_info __initdata am3517evm_ui_tca6516_info[] = {
+static struct i2c_board_info __initdata am3517evm_ui_tca6416_info[] = {
 	{
 		I2C_BOARD_INFO("tca6416", 0x20),
 		.platform_data = &am3517evm_ui_gpio_expander_info_1,
@@ -108,10 +108,10 @@ static struct i2c_board_info __initdata am3517evm_ui_tca6516_info[] = {
 static int __init am3517_evm_i2c_init(void)
 {
 	omap_register_i2c_bus(1, 400, NULL, 0);
-	omap_register_i2c_bus(2, 400, am3517evm_tca6516_info_0,
-			ARRAY_SIZE(am3517evm_tca6516_info_0));
-	omap_register_i2c_bus(3, 400, am3517evm_ui_tca6516_info,
-			ARRAY_SIZE(am3517evm_ui_tca6516_info));
+	omap_register_i2c_bus(2, 400, am3517evm_tca6416_info_0,
+			ARRAY_SIZE(am3517evm_tca6416_info_0));
+	omap_register_i2c_bus(3, 400, am3517evm_ui_tca6416_info,
+			ARRAY_SIZE(am3517evm_ui_tca6416_info));
 
 	return 0;
 }
-- 
1.6.2.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [APPLIED] [PATCH 1/2] AM3517 EVM: Enable I2C support.
  2010-02-25 10:45 [PATCH 1/2] AM3517 EVM: Enable I2C support Sriramakrishnan
  2010-02-25 10:45 ` [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516 Sriramakrishnan
@ 2010-02-25 22:40 ` Tony Lindgren
  1 sibling, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-02-25 22:40 UTC (permalink / raw)
  To: linux-omap

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): f3e7cb6214b6299d1970cc4d032c85cf7cb2a458

PatchWorks
http://patchwork.kernel.org/patch/81964/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=f3e7cb6214b6299d1970cc4d032c85cf7cb2a458



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [APPLIED] [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516.
  2010-02-25 10:45 ` [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516 Sriramakrishnan
@ 2010-02-25 22:41   ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-02-25 22:41 UTC (permalink / raw)
  To: linux-omap

This patch has been applied to the linux-omap
by youw fwiendly patch wobot.

Branch in linux-omap: for-next

Initial commit ID (Likely to change): ca54e54bd372036deca5268a0f9d05a6a3c89b0b

PatchWorks
http://patchwork.kernel.org/patch/81963/

Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=ca54e54bd372036deca5268a0f9d05a6a3c89b0b



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-25 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 10:45 [PATCH 1/2] AM3517 EVM: Enable I2C support Sriramakrishnan
2010-02-25 10:45 ` [PATCH 2/2] AM3517EVM : correct typo - tca6416 mispelt as tca6516 Sriramakrishnan
2010-02-25 22:41   ` [APPLIED] " Tony Lindgren
2010-02-25 22:40 ` [APPLIED] [PATCH 1/2] AM3517 EVM: Enable I2C support Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).