public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* How to add an expansion board on IGEP v2 board.
@ 2010-10-27  8:32 Enric Balletbò i Serra
  2010-11-05 21:45 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Enric Balletbò i Serra @ 2010-10-27  8:32 UTC (permalink / raw)
  To: linux-omap

Hello all,

I would ask some technical questions, maybe someone can help me. I
would add support for a new expansion board for IGEP v2 board,

The expansion board comes with a EEPROM, the EEPROM is used to
identify the expansion board, my idea is create a new file for
expansion board ( board-igep0020-expansion.c ) and

* on board-igep0020.c
  - Add extern void __init igep2_expansion_init(void);
  - Call igep2_expansion_init on igep2_init()

* on board-igep0020-expansion.c
  - Create  igep2_expansion_init, inside this funciton
    - Add e2prom device and read board id
    - If board ID exists then init all expansion devices

I'm in the right way ? Comments ?

Thanks in advance,
   Enric

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

end of thread, other threads:[~2010-11-05 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27  8:32 How to add an expansion board on IGEP v2 board Enric Balletbò i Serra
2010-11-05 21:45 ` Tony Lindgren

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