public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Moving I2C2 init to plat-omap/devices.c  ?
@ 2006-11-15 20:21 Syed Mohammed, Khasim
  2006-11-16  1:01 ` Tony Lindgren
  0 siblings, 1 reply; 12+ messages in thread
From: Syed Mohammed, Khasim @ 2006-11-15 20:21 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

I would like to enable I2C support for 2430. I see I2C1 device
initialization defined in arch/arm/plat-omap/devices.c and I2C2 in
arch/arm/mach-omap2/devices.c. I believe the reason for this might be to
move the common part (I2C1) to plat-omap. 

I was thinking of moving the I2C2 initialization from
mach-omap2/devices.c to plat-omap/devices.c. The reason is OMAP1 has 1
I2C block, OMAP2 has 2 and OMAP3 has 4 (1 dedicated). The I2C register
base addresses are same for 2420, 2430 and 3430. So, adding same code in
two directories looks redundant. 

Let me know if you see any issues with this approach.

Thanks & Regards,
Khasim

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

end of thread, other threads:[~2006-11-16 21:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 20:21 Moving I2C2 init to plat-omap/devices.c ? Syed Mohammed, Khasim
2006-11-16  1:01 ` Tony Lindgren
2006-11-16  1:21   ` Syed Mohammed, Khasim
2006-11-16  1:55     ` Tony Lindgren
2006-11-16  2:30       ` Woodruff, Richard
2006-11-16  9:29         ` Nishanth Menon
2006-11-16 14:58           ` Woodruff, Richard
2006-11-16 20:11             ` Nishanth Menon
2006-11-16 21:01               ` Tony Lindgren
2006-11-16 20:19             ` David Brownell
2006-11-16 20:55               ` Tony Lindgren
2006-11-16 21:29                 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox