All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] usb: gadget: udc: renesas_usb3: add USB3.0 DRD support
@ 2017-03-30  2:16 Yoshihiro Shimoda
  2017-03-30  2:16 ` [PATCH v3 1/3] usb: gadget: udc: add USB ID signal monitoring Yoshihiro Shimoda
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2017-03-30  2:16 UTC (permalink / raw)
  To: balbi; +Cc: gregkh, linux-usb, linux-renesas-soc, Yoshihiro Shimoda

This patch set is based on the latest Felipe's usb.bit / testing/next branch
(commit id = 29986993f67341493988b6c5d68e0653061975b2).

The USB3.0 DRD controller on R-Car Gen3 can change the role via DRD_CON
register in the periperal side sadly, so this patch adds support
for usb role swap feature in this udc driver.
Furtunately, the default setting of the DRD is host side, if a user want
to use host side only, we can handle it easily just to disable the udc driver.

Changes from v2:
 - Remove hardcoded mode setting as B-Peripheral in patch 1/3.
 - Merge usb3_mode_[ab]_{host,peri}(usb3) to usb3_mode_config(usb3, host, a_dev)

Changes from v1:
 - Remove patch 1 not to add "b-device" mode.
 - Add device_remove_file() calling in renesas_usb3_remove().
 - Use usb3_connect() instead of usb3_check_vbus() in usb3_mode_a_peri().

Yoshihiro Shimoda (3):
  usb: gadget: udc: add USB ID signal monitoring
  usb: gadget: udc: renesas_usb3: add extcon support
  usb: gadget: udc: renesas_usb3: add support for usb role swap

 .../ABI/testing/sysfs-platform-renesas_usb3        |  15 ++
 drivers/usb/gadget/udc/Kconfig                     |   1 +
 drivers/usb/gadget/udc/renesas_usb3.c              | 164 ++++++++++++++++++++-
 3 files changed, 175 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-platform-renesas_usb3

-- 
1.9.1

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

end of thread, other threads:[~2017-03-31  1:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-30  2:16 [PATCH v3 0/3] usb: gadget: udc: renesas_usb3: add USB3.0 DRD support Yoshihiro Shimoda
2017-03-30  2:16 ` [PATCH v3 1/3] usb: gadget: udc: add USB ID signal monitoring Yoshihiro Shimoda
2017-03-30  2:16 ` [PATCH v3 2/3] usb: gadget: udc: renesas_usb3: add extcon support Yoshihiro Shimoda
2017-03-30  2:16 ` [PATCH v3 3/3] usb: gadget: udc: renesas_usb3: add support for usb role swap Yoshihiro Shimoda
2017-03-30 10:36   ` Felipe Balbi
2017-03-31  1:58     ` Yoshihiro Shimoda

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.