Re: RFC: PATCH TI81xx fix MUSB software mode setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Dear Ravi,


Dear all,

when configuring our platform (DM8148 based) to work with
USB0 as device and USB1 as host I've found some problems.

It seems that you created the patch against the ti-psp release, there
is another way to achieve this (one port as host and other port as device).

Yes you are correct, I'm using ti-psp by cloning this tree:

http://arago-project.org/git/projects/linux-omap3.git

Please refer to release/user's guide.

I've looked here:

http://processors.wiki.ti.com/index.php/Usbgeneralpage#One_port_as_host_and_other_port_as_Gadget_.28for_DM81XX.29

but this setup does not work.

Both ports starts from "b_idle" state and always stay there.
I've try both software setting and from hardware pin (I've left ID pin floating for USB0, device, and set ID pin to gnd for USB1, host only) without success. However if I configure both port as host or device (thus disabling OTG support) they work correctly (of course, only the device port works as device and host port as host in either case ;-) )

Moreover, you should create a patch against mainline, where the musb_dsps.c is
used instead of ti81xx.c, where there is no host-only or device-only mode, by
default OTG mode is used.


Ok, but I've found here:

http://processors.wiki.ti.com/index.php/TI81XX_USB_Driver_User_Guide#OTG_support_.28TI816X.2FTI814X.2FTI813x.29

that OTG is not supported for TI81xx.
Am I wrong? Maybe the situation is different in the mainline?

Best Regards and thank for you prompt answer,

Andrea
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux