On 09/07/2012 10:20 AM, Richard Zhao wrote: > On Thu, Sep 06, 2012 at 05:18:29PM +0200, Marc Kleine-Budde wrote: >> On 09/06/2012 05:15 PM, Richard Zhao wrote: >>> Hi Marc, >>> >>> usbmisc_imx6q.c is only for imx6x. And for a certain running kernel, >>> there will be always one driver instance. >> >> It's currently only for imx6q, but I've patches[1] in queue for mx53. >> And mx35 is about to be written. > It's per-SoC file. mx53 and mx35 should have their specific driver, > because the register layout is SoC specific. Have you had a look at our patch[1]? It adds support for mx53 in a very clean way. What do you suggest? Create a mx53 driver that is about 90% identical with the imx6q driver? Marc >> [1] >> http://git.pengutronix.de/?p=mkl/linux.git;a=commit;h=bdeff138ba8bb40856c9946b67df2604fdb4416b -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Attachment:
signature.asc
Description: OpenPGP digital signature