Skip to contentSkip to conversation

usb: tegra: Changes for v5.7-rc1

GIT PULL Thierry Reding 2 participants 5 messages Mar 13, 2020 – Mar 19, 2020 3 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Greg, Felipe,

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/for-5.7-usb

for you to fetch changes up to 9dd4fbef2f88ccf46f5294805bf121d6554791e8:

usb: gadget: tegra-xudc: Support multiple device modes (2020-03-13 17:16:28 +0100)

It occurred to me that I could just as well send this pull request to you guys, rather than take it via ARM SoC. Kishon already acked all the patches for the PHY tree that this series depends on, so I've included them here as a dependency.

Let me know if you'd prefer that I take this through ARM SoC.

Thanks,
Thierry

----------------------------------------------------------------
usb: tegra: Changes for v5.7-rc1

These changes add USB OTG support for the XUSB host and XUSB device controllers found on NVIDIA Tegra SoCs.

----------------------------------------------------------------
JC Kuo (2):
phy: tegra: xusb: Protect Tegra186 soc with config
phy: tegra: xusb: Add Tegra194 support

Jon Hunter (1):
phy: tegra: xusb: Don't warn on probe defer

Nagarjuna Kristam (10):
phy: tegra: xusb: Add usb-role-switch support
phy: tegra: xusb: Add usb-phy support
phy: tegra: xusb: Add support to get companion USB 3 port
phy: tegra: xusb: Add set_mode support for USB 2 phy on Tegra210
phy: tegra: xusb: Add set_mode support for UTMI phy on Tegra186
usb: xhci-tegra: Add OTG support
usb: gadget: tegra-xudc: Remove usb-role-switch support
usb: gadget: tegra-xudc: Add usb-phy support
usb: gadget: tegra-xudc: Use phy_set_mode() to set/unset device mode
usb: gadget: tegra-xudc: Support multiple device modes

Thierry Reding (1):

      Merge branch 'for-5.7/phy' into for-5.7/usb
 drivers/phy/tegra/Kconfig           |   1 +
 drivers/phy/tegra/Makefile          |   1 +
 drivers/phy/tegra/xusb-tegra186.c   | 261 ++++++++++++++++++++++++++--------
 drivers/phy/tegra/xusb-tegra210.c   | 131 +++++++++++++----
 drivers/phy/tegra/xusb.c            | 189 +++++++++++++++++++++++++
 drivers/phy/tegra/xusb.h            |  10 ++
 drivers/usb/gadget/udc/Kconfig      |   1 -
 drivers/usb/gadget/udc/tegra-xudc.c | 273 +++++++++++++++++++++++++-----------
 drivers/usb/host/xhci-tegra.c       | 228 +++++++++++++++++++++++++++++-
 include/linux/phy/tegra/xusb.h      |   2 +
 10 files changed, 926 insertions(+), 171 deletions(-)
#2 lore raw
In reply to a message not in the archive
Quoted 12 lines · Thierry Reding

Hi Greg, Felipe,

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/for-5.7-usb

for you to fetch changes up to 9dd4fbef2f88ccf46f5294805bf121d6554791e8:

Quoted 8 lines

usb: gadget: tegra-xudc: Support multiple device modes (2020-03-13 17:16:28 +0100)

It occurred to me that I could just as well send this pull request to you guys, rather than take it via ARM SoC. Kishon already acked all the patches for the PHY tree that this series depends on, so I've included them here as a dependency.

Let me know if you'd prefer that I take this through ARM SoC.

I tried to merge this into my usb-next branch, but get merge issues in drivers/usb/gadget/udc/tegra-xudc.c that I really don't know how to resolve.

Can you give me a clue as to what to do here?

thanks,

greg k-h

#4 lore raw
In reply to a message not in the archive
Quoted 20 lines · Greg Kroah-Hartman
Quoted 19 lines · Thierry Reding

Hi Greg, Felipe,

The following changes since commit bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9:

Linux 5.6-rc1 (2020-02-09 16:08:48 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/for-5.7-usb

for you to fetch changes up to 9dd4fbef2f88ccf46f5294805bf121d6554791e8:

usb: gadget: tegra-xudc: Support multiple device modes (2020-03-13 17:16:28 +0100)

It occurred to me that I could just as well send this pull request to you guys, rather than take it via ARM SoC. Kishon already acked all the patches for the PHY tree that this series depends on, so I've included them here as a dependency.

Quoted 7 lines
Quoted 1 line

Let me know if you'd prefer that I take this through ARM SoC.

I tried to merge this into my usb-next branch, but get merge issues in drivers/usb/gadget/udc/tegra-xudc.c that I really don't know how to resolve.

Can you give me a clue as to what to do here?

Let me rebase this on top of your usb-next branch and resend this PR after resolving the conflict.

Thierry

#5 lore raw
In reply to a message not in the archive

Hi Greg, Felipe,

The following changes since commit ca9e742b5c27c230b0bf003aecba2433a60ba837:

USB: c67x00: Use the correct style for SPDX License Identifier (2020-03-17 20:03:28 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.7-usb-v2

for you to fetch changes up to b4e19931c98a088fbd80b5c3f892261c9a0e6c23:

usb: gadget: tegra-xudc: Support multiple device modes (2020-03-19 14:18:57 +0100)

This is a version of the earlier pull request[0], rebased on top of Greg's usb-next branch and the resulting conflicts resolved. I've also added a couple of patches in here that fix minor issues that were reported since last week.

Thanks,
Thierry

----------------------------------------------------------------
usb: tegra: Changes for v5.7-rc1

These changes add USB OTG support for the XUSB host and XUSB device controllers found on NVIDIA Tegra SoCs.

----------------------------------------------------------------
Corentin Labbe (1):
phy: tegra: Select USB_PHY

JC Kuo (2):
phy: tegra: xusb: Protect Tegra186 soc with config
phy: tegra: xusb: Add Tegra194 support

Jon Hunter (1):
phy: tegra: xusb: Don't warn on probe defer

Nagarjuna Kristam (10):
phy: tegra: xusb: Add usb-role-switch support
phy: tegra: xusb: Add usb-phy support
phy: tegra: xusb: Add support to get companion USB 3 port
phy: tegra: xusb: Add set_mode support for USB 2 phy on Tegra210
phy: tegra: xusb: Add set_mode support for UTMI phy on Tegra186
usb: xhci-tegra: Add OTG support
usb: gadget: tegra-xudc: Remove usb-role-switch support
usb: gadget: tegra-xudc: Add usb-phy support
usb: gadget: tegra-xudc: Use phy_set_mode() to set/unset device mode
usb: gadget: tegra-xudc: Support multiple device modes

Thierry Reding (4):
phy: tegra: Print -EPROBE_DEFER error message at debug level
phy: tegra: Fix regulator leak
phy: tegra: Don't use device-managed API to allocate ports Merge branch 'for-5.7/phy' into for-5.7/usb

 drivers/phy/tegra/Kconfig           |   2 +
 drivers/phy/tegra/Makefile          |   1 +
 drivers/phy/tegra/xusb-tegra124.c   |   6 +
 drivers/phy/tegra/xusb-tegra186.c   | 265 ++++++++++++++++++++++++++--------
 drivers/phy/tegra/xusb-tegra210.c   | 136 ++++++++++++++----
 drivers/phy/tegra/xusb.c            | 263 +++++++++++++++++++++++++++++++++-
 drivers/phy/tegra/xusb.h            |  25 ++++
 drivers/usb/gadget/udc/Kconfig      |   1 -
 drivers/usb/gadget/udc/tegra-xudc.c | 275 ++++++++++++++++++++++++------------
 drivers/usb/host/xhci-tegra.c       | 228 +++++++++++++++++++++++++++++-
 include/linux/phy/tegra/xusb.h      |   2 +
 11 files changed, 1024 insertions(+), 180 deletions(-)
#7 lore raw
In reply to a message not in the archive
Quoted 9 lines · Thierry Reding

Hi Greg, Felipe,

The following changes since commit ca9e742b5c27c230b0bf003aecba2433a60ba837:

USB: c67x00: Use the correct style for SPDX License Identifier (2020-03-17 20:03:28 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git tags/tegra-for-5.7-usb-v2

That worked, thanks!

now pulled and pushed out.

greg k-h