Message ID | CAOMZO5DFdUNm3e6+VLioFLEORYXaN2X331jOYBm7o-pE_6MYvw@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Dear Fabio Estevam, > On Tue, Jun 25, 2013 at 11:23 AM, Fabio Estevam <festevam@gmail.com> wrote: > > On Mon, Jun 24, 2013 at 10:51 AM, Marek Vasut <marex@denx.de> wrote: > >> Fabio, can you possibly test on MX23EVK please? > > > > I never used USB gadget with chipidea driver. > > > > Could you please explain what are the changes I need to do in the dts > > file (I want to try on mx28evk first) and defconfig in order to be > > able to test gadget? I am running today's linux-next. > > I tried the following: Merge [1] into your tree, enable USB peripheral mode for CI13xxx, enable ethernet gadget, adjust your DT file like this for the usb0 node: usb0: usb@80080000 { dr_mode = "peripheral"; status = "okay"; }; And you should have gadget working. [1] http://git.pengutronix.de/?p=mgr/linux.git;a=shortlog;h=refs/heads/v3.10/topic/usb- peterchen Best regards, Marek Vasut
--- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -239,7 +239,7 @@ ahb@80080000 { usb0: usb@80080000 { - vbus-supply = <®_usb0_vbus>; + dr_mode = "peripheral"; status = "okay"; };