public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* several OMAP newbie questions
@ 2009-09-01 10:34 Mike Rapoport
  2009-09-04 22:08 ` Cliff Brake
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Rapoport @ 2009-09-01 10:34 UTC (permalink / raw)
  To: linux-omap

Hi all,
I've recently started to work on adding support for a custom OMAP3 board.
Several things in the arch/arm/mach-omap2/board-* caught my attention:
1) omap_xxx_map_io and omap_xxx_init_irq are mostly the same in all board-*
files, the only difference is omap_sdrc_params passed to omap2_init_common_hw.
Probably it'd make sense to have omap_map_io_{242x,243x,343x} as the initializer
of .map_io and move the common part of omap_xxx_map_io to some common place?
2) Boards that use NAND flash have the very same NAND chip select detection
code. Is this code necessary, or, if I know for sure that NAND is connected to
nCS0 I can skip the chip select detection? And, again, if several boards use the
same code for chip select detection, wouldn't it be wise to move it to some
common place?
3) If I'm not much mistaken, board specific pin mux configuration has to deal
with arch/arm/plat-omap/include/mach/mux.h and arch/arm/mach-omap2/mux.c. For
instance, if my board uses ULPI pins that have not been defined already, I need
to patch those file with my pin mux definitions. Am I right here, or have I
missed something?

-- 
Sincerely yours,
Mike.



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

end of thread, other threads:[~2009-09-15  6:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-01 10:34 several OMAP newbie questions Mike Rapoport
2009-09-04 22:08 ` Cliff Brake
2009-09-09 14:51   ` Mike Rapoport
2009-09-10 16:09   ` Kevin Hilman
2009-09-13 13:07     ` Mike Rapoport
2009-09-14 15:21       ` Kevin Hilman
2009-09-15  6:16         ` Mike Rapoport

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