* [PATCH 1/4-V1] AM3517: Enable basic I2C Support
@ 2010-01-11 6:19 hvaibhav
2010-02-05 1:04 ` [APPLIED] " Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: hvaibhav @ 2010-01-11 6:19 UTC (permalink / raw)
To: linux-omap; +Cc: tony, khilman, Vaibhav Hiremath
From: Vaibhav Hiremath <hvaibhav@ti.com>
Add basic I2C board Hook-up support, where all the 3 I2C instances
are getting registered.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
---
arch/arm/mach-omap2/board-am3517evm.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c
index 8cce7d1..300b165 100644
--- a/arch/arm/mach-omap2/board-am3517evm.c
+++ b/arch/arm/mach-omap2/board-am3517evm.c
@@ -33,6 +33,15 @@
#include "mux.h"
+static int __init am3517_evm_i2c_init(void)
+{
+ omap_register_i2c_bus(1, 400, NULL, 0);
+ omap_register_i2c_bus(2, 400, NULL, 0);
+ omap_register_i2c_bus(3, 400, NULL, 0);
+
+ return 0;
+}
+
/*
* Board initialization
*/
@@ -73,6 +82,8 @@ static struct omap_board_mux board_mux[] __initdata = {
static void __init am3517_evm_init(void)
{
+ am3517_evm_i2c_init();
+
omap3_mux_init(board_mux, OMAP_PACKAGE_CBB);
platform_add_devices(am3517_evm_devices,
ARRAY_SIZE(am3517_evm_devices));
--
1.6.2.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [APPLIED] [PATCH 1/4-V1] AM3517: Enable basic I2C Support
2010-01-11 6:19 [PATCH 1/4-V1] AM3517: Enable basic I2C Support hvaibhav
@ 2010-02-05 1:04 ` Tony Lindgren
2010-02-05 1:18 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2010-02-05 1:04 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): a9eb689a1f53707456bb9d0c867b80088f165058
PatchWorks
http://patchwork.kernel.org/patch/72101/
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=a9eb689a1f53707456bb9d0c867b80088f165058
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [APPLIED] [PATCH 1/4-V1] AM3517: Enable basic I2C Support
2010-02-05 1:04 ` [APPLIED] " Tony Lindgren
@ 2010-02-05 1:18 ` Tony Lindgren
0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2010-02-05 1:18 UTC (permalink / raw)
To: linux-omap
* Tony Lindgren <tony@atomide.com> [100204 17:02]:
Actually added only this 1/4, the rest won't compile
so I've dropped them.
Regards,
Tony
> 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): a9eb689a1f53707456bb9d0c867b80088f165058
>
> PatchWorks
> http://patchwork.kernel.org/patch/72101/
>
> 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=a9eb689a1f53707456bb9d0c867b80088f165058
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-05 1:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11 6:19 [PATCH 1/4-V1] AM3517: Enable basic I2C Support hvaibhav
2010-02-05 1:04 ` [APPLIED] " Tony Lindgren
2010-02-05 1:18 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox