TX28 drivers - Please help
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.
Signature · 10 lines
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
Hi Peter,
Quoted 6 lines · Peter Rusko
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 :-)
Quoted 3 lines
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
Signature · 4 lines
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 |