linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] musb: sunxi: Add support for run-time changing dr-mode through sysfs
@ 2016-08-14 18:27 Hans de Goede
  2016-08-14 18:27 ` [PATCH 1/7] phy-sun4i-usb: Use bool where appropriate Hans de Goede
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Hans de Goede @ 2016-08-14 18:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All,

Here is a patch series which implements run-time changing the dr-mode
of sunxi musb controllers through the (already existing) musb "mode"
sysfs attribute.

This is useful on boards where there is no id pin, e.g. some tv-boxes
use the musb controller to get an extra usb A port without needing
a hub chip. Except for the missing id pin when using a usb A<->A cable
these ports can do peripheral mode just fine. This series makes it
possible to do e.g. this by doing echo "peripheral" > mode before
plugging in the usb A<->A cable.

This series has both sun4i-usb-phy driver and sunxi-musb-glue changes,
both are necessary for the run-time changing to work, but they can be
merged independently without breaking anything.

Please review (and if no issues are found merge).

Thanks & Regards,

Hans

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-08-14 18:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-14 18:27 [PATCH 0/7] musb: sunxi: Add support for run-time changing dr-mode through sysfs Hans de Goede
2016-08-14 18:27 ` [PATCH 1/7] phy-sun4i-usb: Use bool where appropriate Hans de Goede
2016-08-14 18:27 ` [PATCH 2/7] phy-sun4i-usb: Refactor forced session ending Hans de Goede
2016-08-14 18:27 ` [PATCH 3/7] phy-sun4i-usb: Simplify missing dr_mode handling Hans de Goede
2016-08-14 18:27 ` [PATCH 4/7] phy-sun4i-usb: Add support for phy_set_mode Hans de Goede
2016-08-14 18:27 ` [PATCH 5/7] phy-sun4i-usb: Warn when external vbus is detected Hans de Goede
2016-08-14 18:28 ` [PATCH 6/7] musb: sunxi: Always register both host and udc when build with dual-role support Hans de Goede
2016-08-14 18:28 ` [PATCH 7/7] musb: sunxi: Add support for platform_set_mode Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).