[PATCH] mx31_3ds: Allow selection between host/device modes on the OTG port
From: Fabio Estevam <hidden>
Date: 2010-06-28 17:47:26
From: Fabio Estevam <hidden>
Date: 2010-06-28 17:47:26
Hi Magnus,
--- On Thu, 6/24/10, Magnus Lilja <lilja.magnus@gmail.com> wrote:
From: Magnus Lilja <redacted> Subject: Re: [PATCH] mx31_3ds: Allow selection between host/device modes on the OTG port To: "Fabio Estevam" <redacted> Cc: linux-arm-kernel at lists.infradead.org, s.hauer at pengutronix.de, maramaopercheseimorto at gmail.com Date: Thursday, June 24, 2010, 3:05 PM Hi Fabio, On 2010-06-23 22:52, Fabio Estevam wrote:quoted
Allow selection between host/device modes on the OTGport.quoted
Selection is made via kernel command line option: 'otg_mode=host' or 'otg_mode=device'. Default mode isdevice. Would it be possible to select between host and device during run-time, e.g. when the USB modules are loaded? I'm asking out of curiosity, I don't know if Linux supports this at all.
Not sure if would be possible to make the selection in run-time.
I will let others comment.
Sascha,
I will resend this patch based on the current imx-for-2.6.26 branch.
Regards,
Fabio Estevam