[U-Boot] [GIT] Pull request: u-boot-dfu (24.11.2018)

Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE: -----
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Travis-CI "clear" build: https://travis-ci.org/lmajewski/u-boot-dfu/builds/459112024
Those are first two of total four patches prepared by Jean-Jacques. Let's apply them in step-by-step way (as other have some build issues).
---------------------------------------------------------------- Jean-Jacques Hiblot (18): usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers usb: introduce a separate config option for DM USB device usb: udc: implement DM versions of usb_gadget_initialize()/_release()/_handle_interrupt() dwc3_generic: do not probe the USB device driver when it's bound dwc3: move phy operation to core.c configs: evb-rk3328: Enable CONFIG_USB_DWC3 dwc3-generic: Handle the PHYs, the clocks and the reset lines dwc3-generic: Add select_dr_mode operation usb: dwc3: Fix a compilation error with the edison defconfig syscon: dm: Add a new method to get a regmap from DTS phy: Add a new driver for OMAP's USB2 PHYs dwc3-generic: Add support for the TI DWC3 glue board: ti: dra7xx-evm: turn on USB clocks in late init stage dts: dra7x: make ocp2scp@4a080000 compatible with simple-bus configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms configs: am57xx_evm: Enable DM_USB and DM_USB_DEV board: ti: dra7-evm: remove USB platform code board: ti: am57xx: remove USB platform code
Vignesh R (2): phy: ti-pip3-phy: Add support for USB3 PHY board; ti: am57xx: turn on USB clocks
arch/arm/Kconfig | 2 + arch/arm/dts/omap5-u-boot.dtsi | 4 ++ arch/sandbox/dts/test.dts | 6 +- board/ti/am57xx/board.c | 106 +++++++----------------------------- board/ti/dra7xx/evm.c | 123 +++++++---------------------------------- cmd/fastboot.c | 4 +- cmd/rockusb.c | 4 +- cmd/thordown.c | 4 +- cmd/usb_gadget_sdp.c | 4 +- cmd/usb_mass_storage.c | 4 +- common/dfu.c | 6 +- configs/am57xx_evm_defconfig | 10 +++- configs/am57xx_hs_evm_defconfig | 10 +++- configs/dra7xx_evm_defconfig | 8 +-- configs/dra7xx_hs_evm_defconfig | 8 +-- configs/evb-rk3328_defconfig | 1 + drivers/core/syscon-uclass.c | 23 ++++++++ drivers/phy/Kconfig | 9 +++ drivers/phy/Makefile | 1 + drivers/phy/omap-usb2-phy.c | 196 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/phy/ti-pipe3-phy.c | 32 ++++++++--- drivers/usb/Kconfig | 6 ++ drivers/usb/dwc3/Kconfig | 7 ++- drivers/usb/dwc3/core.c | 89 +++++++++++++++++++++++++++++- drivers/usb/dwc3/dwc3-generic.c | 292 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------- drivers/usb/dwc3/ep0.c | 3 +- drivers/usb/gadget/ether.c | 38 ++----------- drivers/usb/gadget/udc/udc-core.c | 44 ++++++++++++++- drivers/usb/host/xhci-dwc3.c | 95 +++----------------------------- include/dwc3-uboot.h | 19 +++++++ include/linux/usb/gadget.h | 18 ++++++ include/syscon.h | 13 +++++ test/dm/syscon.c | 29 ++++++++++ 33 files changed, 816 insertions(+), 402 deletions(-) create mode 100644 drivers/phy/omap-usb2-phy.c
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .

On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .
This series is now in master, thanks.

On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .
This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(

On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .
This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .

Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .
This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

On 11/26/2018 11:15 PM, Lukasz Majewski wrote:
Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit 5830791d91d1200854ef78fcb32f808c8080f0f0:
Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm (2018-11-23 17:25:27 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to 0edf2bd52772d8202469b77ba63a6cd9867d1053:
board: ti: am57xx: remove USB platform code (2018-11-24 22:59:55 +0100)
NOTE:
This series has a dependency on following patch: "spl: Add support for logging in SPL and TPL" by Simon Glass http://patchwork.ozlabs.org/patch/998686/
Let me know when this is upstream .
This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Because they collide with the SPL USB DM patchset.

On 26/11/2018 23:18, Marek Vasut wrote:
On 11/26/2018 11:15 PM, Lukasz Majewski wrote:
Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote:
On 11/24/2018 11:11 PM, Lukasz Majewski wrote: > Dear Marek, > > The following changes since commit > 5830791d91d1200854ef78fcb32f808c8080f0f0: > > Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm > (2018-11-23 17:25:27 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-dfu.git > > for you to fetch changes up to > 0edf2bd52772d8202469b77ba63a6cd9867d1053: > > board: ti: am57xx: remove USB platform code (2018-11-24 > 22:59:55 +0100) > > > NOTE: > ----- > > This series has a dependency on following patch: > "spl: Add support for logging in SPL and TPL" by Simon Glass > http://patchwork.ozlabs.org/patch/998686/ Let me know when this is upstream .
This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Because they collide with the SPL USB DM patchset.
I'm working on this. I should be able to post the rebased series tomorrow
Thanks,
JJ

Marek,
On 27/11/2018 18:38, Jean-Jacques Hiblot wrote:
On 26/11/2018 23:18, Marek Vasut wrote:
On 11/26/2018 11:15 PM, Lukasz Majewski wrote:
Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote:
On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote: > On 11/24/2018 11:11 PM, Lukasz Majewski wrote: >> Dear Marek, >> >> The following changes since commit >> 5830791d91d1200854ef78fcb32f808c8080f0f0: >> >> Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm >> (2018-11-23 17:25:27 -0500) >> >> are available in the git repository at: >> >> git://git.denx.de/u-boot-dfu.git >> >> for you to fetch changes up to >> 0edf2bd52772d8202469b77ba63a6cd9867d1053: >> >> board: ti: am57xx: remove USB platform code (2018-11-24 >> 22:59:55 +0100) >> >> >> NOTE: >> ----- >> >> This series has a dependency on following patch: >> "spl: Add support for logging in SPL and TPL" by Simon Glass >> http://patchwork.ozlabs.org/patch/998686/ > Let me know when this is upstream . This series is now in master, thanks.
I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Because they collide with the SPL USB DM patchset.
I'm working on this. I should be able to post the rebased series tomorrow
The rebased series is under test in travis-ci.org. Once it is finished. I'll post it.
Marek,
Do you mind waiting a bit before sending your PR ?
JJ
Thanks,
JJ
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

On 11/28/2018 01:24 PM, Jean-Jacques Hiblot wrote:
Marek,
On 27/11/2018 18:38, Jean-Jacques Hiblot wrote:
On 26/11/2018 23:18, Marek Vasut wrote:
On 11/26/2018 11:15 PM, Lukasz Majewski wrote:
Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote:
On 11/26/2018 07:45 PM, Tom Rini wrote: > On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote: >> On 11/24/2018 11:11 PM, Lukasz Majewski wrote: >>> Dear Marek, >>> >>> The following changes since commit >>> 5830791d91d1200854ef78fcb32f808c8080f0f0: >>> >>> Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm >>> (2018-11-23 17:25:27 -0500) >>> >>> are available in the git repository at: >>> >>> git://git.denx.de/u-boot-dfu.git >>> >>> for you to fetch changes up to >>> 0edf2bd52772d8202469b77ba63a6cd9867d1053: >>> >>> board: ti: am57xx: remove USB platform code (2018-11-24 >>> 22:59:55 +0100) >>> >>> >>> NOTE: >>> ----- >>> >>> This series has a dependency on following patch: >>> "spl: Add support for logging in SPL and TPL" by Simon Glass >>> http://patchwork.ozlabs.org/patch/998686/ >> Let me know when this is upstream . > This series is now in master, thanks. I presume you want me to pull u-boot-dfu / master branch ? It's not mentioned in the PR :-(
Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Because they collide with the SPL USB DM patchset.
I'm working on this. I should be able to post the rebased series tomorrow
The rebased series is under test in travis-ci.org. Once it is finished. I'll post it.
Thanks
Marek,
Do you mind waiting a bit before sending your PR ?
The PR is already in, I'll just roll out another one, no worries.

On 28/11/2018 13:26, Marek Vasut wrote:
On 11/28/2018 01:24 PM, Jean-Jacques Hiblot wrote:
Marek,
On 27/11/2018 18:38, Jean-Jacques Hiblot wrote:
On 26/11/2018 23:18, Marek Vasut wrote:
On 11/26/2018 11:15 PM, Lukasz Majewski wrote:
Hi Jean-Jacques ,
On 11/26/2018 09:21 PM, Marek Vasut wrote: > On 11/26/2018 07:45 PM, Tom Rini wrote: >> On Sun, Nov 25, 2018 at 07:04:49PM +0100, Marek Vasut wrote: >>> On 11/24/2018 11:11 PM, Lukasz Majewski wrote: >>>> Dear Marek, >>>> >>>> The following changes since commit >>>> 5830791d91d1200854ef78fcb32f808c8080f0f0: >>>> >>>> Merge tag 'pull-tg18' of git://git.denx.de/u-boot-dm >>>> (2018-11-23 17:25:27 -0500) >>>> >>>> are available in the git repository at: >>>> >>>> git://git.denx.de/u-boot-dfu.git >>>> >>>> for you to fetch changes up to >>>> 0edf2bd52772d8202469b77ba63a6cd9867d1053: >>>> >>>> board: ti: am57xx: remove USB platform code (2018-11-24 >>>> 22:59:55 +0100) >>>> >>>> >>>> NOTE: >>>> ----- >>>> >>>> This series has a dependency on following patch: >>>> "spl: Add support for logging in SPL and TPL" by Simon Glass >>>> http://patchwork.ozlabs.org/patch/998686/ >>> Let me know when this is upstream . >> This series is now in master, thanks. > I presume you want me to pull u-boot-dfu / master branch ? It's not > mentioned in the PR :-( Please rebase on u-boot-usb/master , it doesn't apply .
Jean-Jacques, could you check why those two series don't apply anymore to u-boot-usb/master (or -master) ?
Because they collide with the SPL USB DM patchset.
I'm working on this. I should be able to post the rebased series tomorrow
The rebased series is under test in travis-ci.org. Once it is finished. I'll post it.
Thanks
Marek,
Do you mind waiting a bit before sending your PR ?
The PR is already in, I'll just roll out another one, no worries.
OK. Thanks.

Dear Marek,
The following changes since commit e16c888fab5014b022d5781dc534f204460a073b:
Merge branch '2018-11-28-master-imports' (2018-11-28 23:04:58 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to d2e0cdf86db4bdadfdb2fd5fb6098cd3848df502:
board: ti: am57xx: remove USB platform code (2018-11-29 22:07:15 +0100)
---------------------------------------------------------------- Jean-Jacques Hiblot (19): usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers usb: introduce a separate config option for DM USB device usb: udc: implement DM versions of usb_gadget_initialize()/_release()/_handle_interrupt() dwc3_generic: do not probe the USB device driver when it's bound dwc3: move phy operation to core.c dm: usb: create a new UCLASS ID for USB gadget devices configs: evb-rk3328: Enable CONFIG_USB_DWC3 dwc3-generic: Handle the PHYs, the clocks and the reset lines dwc3-generic: Add select_dr_mode operation usb: dwc3: Fix a compilation error with the edison defconfig syscon: dm: Add a new method to get a regmap from DTS phy: Add a new driver for OMAP's USB2 PHYs dwc3-generic: Add support for the TI DWC3 glue board: ti: dra7xx-evm: turn on USB clocks in late init stage dts: dra7x: make ocp2scp@4a080000 compatible with simple-bus configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms configs: am57xx_evm: Enable DM_USB and DM_USB_DEV board: ti: dra7-evm: remove USB platform code board: ti: am57xx: remove USB platform code
Vignesh R (2): phy: ti-pip3-phy: Add support for USB3 PHY board; ti: am57xx: turn on USB clocks
arch/arm/Kconfig | 2 + arch/arm/dts/omap5-u-boot.dtsi | 4 ++ arch/sandbox/dts/test.dts | 6 ++- board/sunxi/board.c | 2 +- board/ti/am57xx/board.c | 106 ++++++++------------------------------------ board/ti/dra7xx/evm.c | 123 ++++++++------------------------------------------- cmd/fastboot.c | 4 +- cmd/rockusb.c | 4 +- cmd/thordown.c | 4 +- cmd/usb_gadget_sdp.c | 4 +- cmd/usb_mass_storage.c | 4 +- common/dfu.c | 6 +-- configs/am57xx_evm_defconfig | 12 +++-- configs/am57xx_hs_evm_defconfig | 12 +++-- configs/dra7xx_evm_defconfig | 10 +++-- configs/dra7xx_hs_evm_defconfig | 10 +++-- configs/evb-rk3328_defconfig | 1 + drivers/core/syscon-uclass.c | 23 ++++++++++ drivers/phy/Kconfig | 9 ++++ drivers/phy/Makefile | 1 + drivers/phy/omap-usb2-phy.c | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/phy/ti-pipe3-phy.c | 32 ++++++++++---- drivers/usb/Kconfig | 14 ++++++ drivers/usb/dwc3/Kconfig | 7 +-- drivers/usb/dwc3/core.c | 89 +++++++++++++++++++++++++++++++++++-- drivers/usb/dwc3/dwc3-generic.c | 293 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------- drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/gadget/ether.c | 40 +++-------------- drivers/usb/gadget/udc/Makefile | 4 ++ drivers/usb/gadget/udc/udc-core.c | 3 +- drivers/usb/gadget/udc/udc-uclass.c | 58 ++++++++++++++++++++++++ drivers/usb/host/xhci-dwc3.c | 95 +++------------------------------------ drivers/usb/musb-new/omap2430.c | 2 +- drivers/usb/musb-new/sunxi.c | 2 +- include/dm/uclass-id.h | 1 + include/dwc3-uboot.h | 19 ++++++++ include/linux/usb/gadget.h | 18 ++++++++ include/syscon.h | 13 ++++++ test/dm/syscon.c | 29 ++++++++++++ 39 files changed, 857 insertions(+), 407 deletions(-) create mode 100644 drivers/phy/omap-usb2-phy.c create mode 100644 drivers/usb/gadget/udc/udc-uclass.c
Testing: https://travis-ci.org/lmajewski/u-boot-dfu/builds/461482674
(and also some buildman tests to check if this patch series is bisectable)
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de

On 11/30/2018 08:56 AM, Lukasz Majewski wrote:
Dear Marek,
The following changes since commit e16c888fab5014b022d5781dc534f204460a073b:
Merge branch '2018-11-28-master-imports' (2018-11-28 23:04:58 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-dfu.git
for you to fetch changes up to d2e0cdf86db4bdadfdb2fd5fb6098cd3848df502:
board: ti: am57xx: remove USB platform code (2018-11-29 22:07:15 +0100)
Jean-Jacques Hiblot (19): usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers usb: introduce a separate config option for DM USB device usb: udc: implement DM versions of usb_gadget_initialize()/_release()/_handle_interrupt() dwc3_generic: do not probe the USB device driver when it's bound dwc3: move phy operation to core.c dm: usb: create a new UCLASS ID for USB gadget devices configs: evb-rk3328: Enable CONFIG_USB_DWC3 dwc3-generic: Handle the PHYs, the clocks and the reset lines dwc3-generic: Add select_dr_mode operation usb: dwc3: Fix a compilation error with the edison defconfig syscon: dm: Add a new method to get a regmap from DTS phy: Add a new driver for OMAP's USB2 PHYs dwc3-generic: Add support for the TI DWC3 glue board: ti: dra7xx-evm: turn on USB clocks in late init stage dts: dra7x: make ocp2scp@4a080000 compatible with simple-bus configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms configs: am57xx_evm: Enable DM_USB and DM_USB_DEV board: ti: dra7-evm: remove USB platform code board: ti: am57xx: remove USB platform code
Vignesh R (2): phy: ti-pip3-phy: Add support for USB3 PHY board; ti: am57xx: turn on USB clocks
arch/arm/Kconfig | 2 + arch/arm/dts/omap5-u-boot.dtsi | 4 ++ arch/sandbox/dts/test.dts | 6 ++- board/sunxi/board.c | 2 +- board/ti/am57xx/board.c | 106 ++++++++------------------------------------ board/ti/dra7xx/evm.c | 123 ++++++++------------------------------------------- cmd/fastboot.c | 4 +- cmd/rockusb.c | 4 +- cmd/thordown.c | 4 +- cmd/usb_gadget_sdp.c | 4 +- cmd/usb_mass_storage.c | 4 +- common/dfu.c | 6 +-- configs/am57xx_evm_defconfig | 12 +++-- configs/am57xx_hs_evm_defconfig | 12 +++-- configs/dra7xx_evm_defconfig | 10 +++-- configs/dra7xx_hs_evm_defconfig | 10 +++-- configs/evb-rk3328_defconfig | 1 + drivers/core/syscon-uclass.c | 23 ++++++++++ drivers/phy/Kconfig | 9 ++++ drivers/phy/Makefile | 1 + drivers/phy/omap-usb2-phy.c | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/phy/ti-pipe3-phy.c | 32 ++++++++++---- drivers/usb/Kconfig | 14 ++++++ drivers/usb/dwc3/Kconfig | 7 +-- drivers/usb/dwc3/core.c | 89 +++++++++++++++++++++++++++++++++++-- drivers/usb/dwc3/dwc3-generic.c | 293 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------- drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/gadget/ether.c | 40 +++-------------- drivers/usb/gadget/udc/Makefile | 4 ++ drivers/usb/gadget/udc/udc-core.c | 3 +- drivers/usb/gadget/udc/udc-uclass.c | 58 ++++++++++++++++++++++++ drivers/usb/host/xhci-dwc3.c | 95 +++------------------------------------ drivers/usb/musb-new/omap2430.c | 2 +- drivers/usb/musb-new/sunxi.c | 2 +- include/dm/uclass-id.h | 1 + include/dwc3-uboot.h | 19 ++++++++ include/linux/usb/gadget.h | 18 ++++++++ include/syscon.h | 13 ++++++ test/dm/syscon.c | 29 ++++++++++++ 39 files changed, 857 insertions(+), 407 deletions(-) create mode 100644 drivers/phy/omap-usb2-phy.c create mode 100644 drivers/usb/gadget/udc/udc-uclass.c
Testing: https://travis-ci.org/lmajewski/u-boot-dfu/builds/461482674
(and also some buildman tests to check if this patch series is bisectable)
Applied
participants (4)
-
Jean-Jacques Hiblot
-
Lukasz Majewski
-
Marek Vasut
-
Tom Rini