[linux-cirrus] board addition convention
- From: NZG <ngustavson@xxxxxxxxxxx>
- To: linux-cirrus@xxxxxxxxxxxxx
- Date: Thu, 15 Feb 2007 11:04:37 -0600
I'm adding support for our new IPAC-9302 to the kernel.
It's very similar to the evb9302a (and in fact boots with it's kernel), but it
has some added features.
I had some questions about coding conventions.
1. I see the board specific initializations in mach-ep93xx.
I'm assuming I should go ahead and create my own board init here, modeled
after the edb9302a with my additions, then modify my bootloader to declare a
new value identifiying the new board.
2. One of the things this board offers is expanded GPIO, which we have
designed in using the fairly common 8 bit configuration/data port model.
As I have already written this same driver essentially 3 or 4 times, I would
like to write it this time as a more generic char driver.
To do this I will need to write the low level in-line functions in a device
specific file, where would be the best place to do this? In the
mach-ep93xx/board.c file? Or someplace else.
thx,
NZG
Other related posts:
- » [linux-cirrus] board addition convention