Re: How to add an expansion board on IGEP v2 board.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Enric Balletbà i Serra <eballetbo@xxxxxxxxx> [101027 01:23]:
> 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 ?

Sounds good to me. Runtime detection is the best way to go.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux