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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html