All of lore.kernel.org
 help / color / mirror / Atom feed
* TX28 drivers - Please help
@ 2011-10-11 14:33 Peter Rusko
  2011-10-11 15:27 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Rusko @ 2011-10-11 14:33 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

We'd like to use the Ka-Ro TX28 module in a device with our company.
As I could see, not all the features of it's processor are supported. I 
have already added some of them using the Freescale version just to see 
that things are working, but the code became really messy. So I've 
decided to restart, and this time I'd like to commit the changes to the 
mainline kernel.

We have already designed a company board supporting the TX28 module. The 
first problem I don't know how to do well is to separate the module and 
the baseboard. I think that the module-specific things and setup should 
be in a file like mach-tx28.c (as it already is), and the board specific 
things should be in a separate file (mach-karo_stk.c ?). I'm quite 
unsure about the naming and where I should split the code.

After that works, I'd like to include support for SPI and the mxs 
touchscreen driver (which also needs the LRADC support).

How should I start? I've already downloaded the pengutronix/imx 
repository to work with.
-- 
Rusk? P?ter
fejleszt?m?rn?k

Prolan Zrt. / Prolan Co.
Hungary 2011 Budakal?sz, Szentendrei ?t 1-3.
Tel./Phone: +36 20 954 3118
Fax: +36 26 540 420
E-mail: rusko.peter at prolan.hu
Web: www.prolan.hu
Timezone:CET

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

* TX28 drivers - Please help
  2011-10-11 14:33 TX28 drivers - Please help Peter Rusko
@ 2011-10-11 15:27 ` Robert Schwebel
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Schwebel @ 2011-10-11 15:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Peter,

On Tue, Oct 11, 2011 at 04:33:09PM +0200, Peter Rusko wrote:
> We'd like to use the Ka-Ro TX28 module in a device with our company.
> As I could see, not all the features of it's processor are supported.
> I have already added some of them using the Freescale version just to
> see that things are working, but the code became really messy. So I've
> decided to restart, and this time I'd like to commit the changes to
> the mainline kernel.

This is in general a good idea :-)

> We have already designed a company board supporting the TX28 module.
> The first problem I don't know how to do well is to separate the
> module and the baseboard.

Uwe proposed a baseboard abstraction patch some time ago (should be in
the list archives, drop me a note if you do not find it), because we
have the same issue on several TX28 customer boards as well (and with
other module hardware, like the Phytec modules). However, the general
position seems to be that this path will not lead into mainline, becasue
of oftree (which is, for the long term, of course the better solution).

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

end of thread, other threads:[~2011-10-11 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-11 14:33 TX28 drivers - Please help Peter Rusko
2011-10-11 15:27 ` Robert Schwebel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.