Re: [U-Boot] [PULL] u-boot-usb/master

2019-12-02 Thread Tom Rini
On Thu, Nov 28, 2019 at 11:17:36AM +0100, Marek Vasut wrote:

> The following changes since commit 9a0cbae22a613dfd55e15565785749b74c19fdf0:
> 
>   Merge tag 'u-boot-rockchip-20191124' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-11-23
> 20:50:11 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to dbcbdad92caf4b42a6279da6e65180532bc45620:
> 
>   sandbox: enable USB_KEYBOARD_FN_KEYS (2019-11-25 13:28:53 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-11-28 Thread Marek Vasut
The following changes since commit 9a0cbae22a613dfd55e15565785749b74c19fdf0:

  Merge tag 'u-boot-rockchip-20191124' of
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-11-23
20:50:11 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to dbcbdad92caf4b42a6279da6e65180532bc45620:

  sandbox: enable USB_KEYBOARD_FN_KEYS (2019-11-25 13:28:53 +0100)


Heinrich Schuchardt (7):
  usb: kbd: fix typo
  usb: kbd: signature of usb_kbd_put_queue()
  usb: kbd: simplify coding for arrow keys
  usb: kbd: implement special keys
  usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h
  dm: test: usb: rework keyboard test
  sandbox: enable USB_KEYBOARD_FN_KEYS

 common/usb_kbd.c   |  97 +++---
 configs/sandbox64_defconfig|   1 +
 configs/sandbox_defconfig  |   1 +
 configs/sandbox_flattree_defconfig |   1 +
 configs/sandbox_spl_defconfig  |   1 +
 drivers/usb/Kconfig|   6 +++
 drivers/usb/emul/sandbox_keyb.c|  27 ++
 include/usb.h  |   6 +++
 test/dm/usb.c  | 284
+++---
 9 files changed, 364 insertions(+), 60 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-11-22 Thread Tom Rini
On Fri, Nov 22, 2019 at 01:39:05PM +0100, Marek Vasut wrote:

> The following changes since commit d4a31e8ee5592072d8d5208b3e950cba2d89b6bd:
> 
>   Prepare v2020.01-rc3 (2019-11-18 21:31:49 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 7dc0ac6015718f5fb66bb79bf53df19f64fbfeee:
> 
>   usb: dwc2: fix possible alignment issues (2019-11-22 01:25:40 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-11-22 Thread Marek Vasut
The following changes since commit d4a31e8ee5592072d8d5208b3e950cba2d89b6bd:

  Prepare v2020.01-rc3 (2019-11-18 21:31:49 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 7dc0ac6015718f5fb66bb79bf53df19f64fbfeee:

  usb: dwc2: fix possible alignment issues (2019-11-22 01:25:40 +0100)


Simon Goldschmidt (2):
  usb: composite: fix possible alignment issues
  usb: dwc2: fix possible alignment issues

Vignesh Raghavendra (1):
  usb: cdns3: Fix include file path

 drivers/usb/cdns3/core.c   |  2 +-
 drivers/usb/cdns3/host.c   |  2 +-
 drivers/usb/gadget/composite.c | 25 ++---
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c |  4 ++--
 4 files changed, 22 insertions(+), 11 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-11-08 Thread Tom Rini
On Fri, Nov 08, 2019 at 11:25:42AM +0100, Marek Vasut wrote:

> The following changes since commit 0f282c1876af26cc2c8c018ae6293a691561011e:
> 
>   Makefile: fix dependency for imx targets (2019-11-06 09:22:32 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to e0891bb679200a8cc73c3b3d98ba40c02c31b850:
> 
>   usb: xhci: support 1.1 or later version (2019-11-08 11:09:08 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-11-08 Thread Marek Vasut
The following changes since commit 0f282c1876af26cc2c8c018ae6293a691561011e:

  Makefile: fix dependency for imx targets (2019-11-06 09:22:32 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to e0891bb679200a8cc73c3b3d98ba40c02c31b850:

  usb: xhci: support 1.1 or later version (2019-11-08 11:09:08 +0100)


Chunfeng Yun (1):
  usb: xhci: support 1.1 or later version

Sherry Sun (1):
  usb: udc: Introduce ->udc_set_speed() method

T Karthik Reddy (1):
  usb: composite: add BOS descriptor support to composite framework

Vignesh Raghavendra (7):
  list: import list_first_entry_or_null()
  bitmaps: import for_each_set_bit() macro
  usb: gadget: Add match_ep() op to usb_gadget_ops
  usb: Add Cadence USB3 host and gadget driver
  usb: cdns3: gadget: Implement udc_set_speed() callback
  usb: cdns3: Add TI wrapper driver for CDNS USB3 controller
  usb: gadget: Add gadget_is_cdns3() macro

 Makefile  |1 +
 drivers/usb/Kconfig   |2 +
 drivers/usb/cdns3/Kconfig |   58 +++
 drivers/usb/cdns3/Makefile|   11 +
 drivers/usb/cdns3/cdns3-ti.c  |  193 +++
 drivers/usb/cdns3/core.c  |  498 ++
 drivers/usb/cdns3/core.h  |  108 
 drivers/usb/cdns3/debug.h |  162 ++
 drivers/usb/cdns3/drd.c   |  301 +++
 drivers/usb/cdns3/drd.h   |  166 ++
 drivers/usb/cdns3/ep0.c   |  910 
 drivers/usb/cdns3/gadget-export.h |   28 +
 drivers/usb/cdns3/gadget.c| 2760
++
 drivers/usb/cdns3/gadget.h| 1338

 drivers/usb/cdns3/host-export.h   |   28 +
 drivers/usb/cdns3/host.c  |   55 ++
 drivers/usb/cdns3/trace.c |   11 +
 drivers/usb/cdns3/trace.h |   26 +
 drivers/usb/gadget/composite.c|   61 ++-
 drivers/usb/gadget/epautoconf.c   |3 +
 drivers/usb/gadget/gadget_chips.h |8 +
 drivers/usb/gadget/udc/udc-core.c |   23 +
 drivers/usb/host/xhci-ring.c  |2 +-
 include/linux/bitmap.h|   61 +++
 include/linux/list.h  |   14 +
 include/linux/usb/ch9.h   |3 +
 include/linux/usb/gadget.h|   34 ++
 scripts/Makefile.spl  |1 +
 28 files changed, 6859 insertions(+), 7 deletions(-)
 create mode 100644 drivers/usb/cdns3/Kconfig
 create mode 100644 drivers/usb/cdns3/Makefile
 create mode 100644 drivers/usb/cdns3/cdns3-ti.c
 create mode 100644 drivers/usb/cdns3/core.c
 create mode 100644 drivers/usb/cdns3/core.h
 create mode 100644 drivers/usb/cdns3/debug.h
 create mode 100644 drivers/usb/cdns3/drd.c
 create mode 100644 drivers/usb/cdns3/drd.h
 create mode 100644 drivers/usb/cdns3/ep0.c
 create mode 100644 drivers/usb/cdns3/gadget-export.h
 create mode 100644 drivers/usb/cdns3/gadget.c
 create mode 100644 drivers/usb/cdns3/gadget.h
 create mode 100644 drivers/usb/cdns3/host-export.h
 create mode 100644 drivers/usb/cdns3/host.c
 create mode 100644 drivers/usb/cdns3/trace.c
 create mode 100644 drivers/usb/cdns3/trace.h
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-11-06 Thread Tom Rini
On Wed, Nov 06, 2019 at 11:49:05AM +0100, Marek Vasut wrote:

> The following changes since commit 412326d1bc2d346d7b4faad6fa547eaf065681a2:
> 
>   Merge tag 'u-boot-clk-23Oct2019' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-clk (2019-10-30 13:13:46
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 02b0e1a36c5bc20174299312556ec4e266872bd6:
> 
>   usb: ehci-hcd: Keep async schedule running (2019-10-31 12:13:40 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-11-06 Thread Marek Vasut
The following changes since commit 412326d1bc2d346d7b4faad6fa547eaf065681a2:

  Merge tag 'u-boot-clk-23Oct2019' of
https://gitlab.denx.de/u-boot/custodians/u-boot-clk (2019-10-30 13:13:46
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 02b0e1a36c5bc20174299312556ec4e266872bd6:

  usb: ehci-hcd: Keep async schedule running (2019-10-31 12:13:40 +0100)


Marek Szyprowski (5):
  gadget: f_thor: properly enable 3rd endpoint defined by the protocol
  cmd: thor: select DFU subsystem also for 'thor' download tool
  dfu: mmc: add support for in-partition offset
  dwc3: flush cache only if there is a buffer attached to a request
  thor: fix error path after g_dnl_register() failure

Marek Vasut (3):
  usb: storage: Limit transfer size to 120 kiB
  usb: storage: Only clear READY flag on error
  usb: ehci-hcd: Keep async schedule running

Patrick Delaunay (10):
  dfu: cosmetic: cleanup sf to avoid checkpatch error
  doc: dfu: Add dfu documentation
  dfu: sf: add partition support for nor backend
  dfu: prepare the support of multiple interface
  dfu: allow to manage DFU on several devices
  dfu: allow read with no data without error for EOF indication
  dfu: add backend for MTD device
  dfu: add partition support for MTD backend
  dfu: add DFU virtual backend
  dfu: add callback for flush and initiated operation

Ralph Siemsen (1):
  dfu: dfu_nand: reduce verbosity

Vignesh Raghavendra (1):
  dwc3-generic: Don't fail probe if clk/reset entries are absent

 cmd/Kconfig |   1 +
 cmd/dfu.c   |  21 ---
 cmd/thordown.c  |   3 +-
 common/usb_storage.c|  49 
 doc/README.dfu  | 270
+++
 drivers/dfu/Kconfig |  21 +++
 drivers/dfu/Makefile|   2 +
 drivers/dfu/dfu.c   | 145
+--
 drivers/dfu/dfu_mmc.c   |  13 -
 drivers/dfu/dfu_mtd.c   | 311
+
 drivers/dfu/dfu_nand.c  |   2 +-
 drivers/dfu/dfu_sf.c|  56 ++-
 drivers/dfu/dfu_virt.c  |  49 
 drivers/usb/dwc3/dwc3-generic.c |   4 +-
 drivers/usb/dwc3/gadget.c   |   3 +-
 drivers/usb/gadget/f_thor.c |   7 +++
 drivers/usb/host/ehci-hcd.c |  51 +++--
 include/dfu.h   |  71 +++
 18 files changed, 992 insertions(+), 87 deletions(-)
 create mode 100644 doc/README.dfu
 create mode 100644 drivers/dfu/dfu_mtd.c
 create mode 100644 drivers/dfu/dfu_virt.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-25 Thread Tom Rini
On Fri, Oct 25, 2019 at 01:19:04PM +0200, Marek Vasut wrote:

> The following changes since commit 680023c5fab6b1777c0c6f2e76e5d2effb7903a0:
> 
>   Merge tag 'u-boot-stm32-2019-10-23' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-10-23 14:04:02
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 235f5e158e336371759f98ffbf265fe078cda251:
> 
>   ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP (2019-10-24
> 15:31:13 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-10-25 Thread Marek Vasut
The following changes since commit 680023c5fab6b1777c0c6f2e76e5d2effb7903a0:

  Merge tag 'u-boot-stm32-2019-10-23' of
https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-10-23 14:04:02
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 235f5e158e336371759f98ffbf265fe078cda251:

  ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP (2019-10-24
15:31:13 +0200)


Igor Opaniuk (1):
  usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs

Jean-Jacques Hiblot (16):
  usb: host: remove the xhci-zynqmp driver
  usb: dwc3: switch to peripheral mode when exiting
  usb: xhci: move xhci.h to include usb
  usb: dwc3: always use the inlined version of
dwc3_host_init/dwc3_host_exit
  usb: dwc3-generic: use platdata
  usb: dwc3-generic: factorize code
  usb: dwc3-generic: add a new host driver that uses the dwc3 core
  usb: dwc3-generic: if no max speed is specified in DT, assume
super speed
  usb: dwc3: Add dwc3_of_parse() to get quirks information from DT
  usb: dwc3: Kconfig: get rid of obsolete mode selection
  ARM: keystone: increase PSC timeout
  ARM: keystone: Do not enable the USB power domains at the board level
  phy: keystone-usb: handle the transition of the USB power domain
  configs: k2g_evm_defconfig: disable XHCI_DWC3 and enable
KEYSTONE_USB_PHY
  ARM: DTS: keystone: complete the description of the USB PHY devices
  configs: sei610: khadas-vim3 : disable Gadget support for the DWC3

Ye Li (1):
  ehci-mx6: Update EHCI driver to support OTG0 on i.MX7ULP

 MAINTAINERS  |   1 +
 arch/arm/dts/keystone-k2e-evm-u-boot.dtsi|  32 +++
 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi|  28 
 arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi   |  14 
 arch/arm/dts/keystone-k2l-evm-u-boot.dtsi|  18 +++
 arch/arm/mach-keystone/include/mach/psc_defs.h   |   2 +-
 board/ti/ks2_evm/board.c |  13 
 configs/avnet_ultra96_rev1_defconfig |   1 -
 configs/evb-rk3328_defconfig |   1 +
 configs/k2g_evm_defconfig|   3 +-
 configs/khadas-vim3_defconfig|   1 +
 configs/odroid-n2_defconfig  |   1 +
 configs/rock64-rk3328_defconfig  |   1 +
 configs/sei510_defconfig |   1 +
 configs/sei610_defconfig |   1 +
 configs/u200_defconfig   |   1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm017_dc3_defconfig |   1 -
 configs/xilinx_zynqmp_zcu100_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig|   1 -
 configs/xilinx_zynqmp_zcu102_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_revB_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu106_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu111_revA_defconfig  |   1 -
 drivers/phy/keystone-usb-phy.c   |  22 +
 drivers/usb/dwc3/Kconfig |  18 ++-
 drivers/usb/dwc3/core.c  |  84
++--
 drivers/usb/dwc3/core.h  |   6 +---
 drivers/usb/dwc3/dwc3-generic.c  | 146
+---
 drivers/usb/host/Kconfig |  13 ++--
 drivers/usb/host/Makefile|   1 -
 drivers/usb/host/ehci-mx6.c  |  68
+++
 drivers/usb/host/xhci-dwc3.c |   2 +-
 drivers/usb/host/xhci-exynos5.c  |   2 +-
 drivers/usb/host/xhci-fsl.c  |   2 +-
 drivers/usb/host/xhci-mem.c  |   2 +-
 drivers/usb/host/xhci-mvebu.c|   2 +-
 drivers/usb/host/xhci-omap.c |   2 +-
 drivers/usb/host/xhci-pci.c  |   2 +-
 drivers/usb/host/xhci-rcar.c |   2 +-
 drivers/usb/host/xhci-ring.c |   2 +-
 drivers/usb/host/xhci-rockchip.c |   2 +-
 drivers/usb/host/xhci-zynqmp.c   | 146

 drivers/usb/host/xhci.c  |   2 +-
 drivers/usb/phy/omap_usb_phy.c   |   2 +-
 {drivers/usb/host => include/usb}/xhci.h |   0
 49 files changed, 384 insertions(+), 274 deletions(-)
 create mode 100644 arch/arm/dts/keystone-k2l-evm-u-boot.d

Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-24 Thread Igor Opaniuk
Hi Tom,

On Thu, Oct 24, 2019 at 2:24 PM Tom Rini  wrote:
>
> On Thu, Oct 24, 2019 at 12:22:25PM +0300, Igor Opaniuk wrote:
> > Hi Tom,
> >
> > On Wed, Oct 23, 2019 at 10:36 PM Marek Vasut  wrote:
> > >
> > > On 10/23/19 9:26 PM, Tom Rini wrote:
> > > > On Sun, Oct 20, 2019 at 05:08:37PM +0200, Marek Vasut wrote:
> > > >
> > > >> The following changes since commit 
> > > >> 6891152a4596d38ac25d2fe1238e3b6a938554b8:
> > > >>
> > > >>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
> > > >> 21:00:10 -0400)
> > > >>
> > > >> are available in the Git repository at:
> > > >>
> > > >>   git://git.denx.de/u-boot-usb.git master
> > > >>
> > > >> for you to fetch changes up to 
> > > >> 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:
> > > >>
> > > >>   dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)
> > > >>
> > > >
> > > > Two problems.  First (and I was going to fix this myself, it's not too
> > > > hard) is that the DWC3 series is once again out of date with new
> > > > platforms added since posting, this time khadas-vim3 and sei610.
> > >
> > > Lovely, CCing Jean again ...
> > >
> > > > But the second and bigger problem is that (I assume) the mx6 patch makes
> > > > tbs2910 now exceed the binary size limit and fail to link.
> >
> > Could you please provide steps to reproduce (or just point to CI build log).
> > I've tried building both u-boot-usb tree and u-boot with all changes
> > from this PR
> > applied on top. In all cases everything is OK:
> >
> > $ make tbs2910_defconfig
> > $ make
> > #
> > # configuration written to .config
> > #
> > 
> >   OBJCOPY u-boot-nodtb.bin
> >   COPYu-boot.bin
> >   MKIMAGE u-boot.imx
> >   OBJCOPY u-boot.srec
> >   SYM u-boot.sym
> > = WARNING ==
> > This board does not use CONFIG_DM_VIDEO Please update
> > the board to use CONFIG_DM_VIDEO before the v2019.07 release.
> > Failure to update by the deadline may result in board removal.
> > See doc/driver-model/MIGRATION.txt for more info.
> > 
> > = WARNING ==
> > CONFIG_OF_EMBED is enabled. This option should only
> > be used for debugging purposes. Please use
> > CONFIG_OF_SEPARATE for boards in mainline.
> > See doc/README.fdt-control for more info.
> > 
> >   CFGCHK  u-boot.cfg
>
> What toolchain are you using?  Thanks!
It's gcc-arm-8.2-2019.01

>
> --
> Tom

After discussion with Marek in IRC, found out that
this issue is definitely toolchain dependent .

I've managed to reproduce this with buildman (and gcc-7.3.0, which is
fetched by default)

$ ./tools/buildman/buildman --board=tbs2910
boards.cfg is up to date. Nothing to do.
Building current source for 1 boards (1 thread, 8 jobs per thread)
   arm:  +   tbs2910
+u-boot.imx exceeds file size limit:
+/bin/sh: 1: printf: bytes: expected numeric value
+  limit:  00x5fc00 bytes
+  actual: 0x60c00 bytes
+  excess: 0x1000 bytes
+make[1]: *** [u-boot.imx] Error 1
+make[1]: *** Deleting file 'u-boot.imx'
+make: *** [sub-make] Error 2
001 /1  tbs2910

Thanks

-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk

mailto: igor.opan...@gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-24 Thread Tom Rini
On Thu, Oct 24, 2019 at 12:22:25PM +0300, Igor Opaniuk wrote:
> Hi Tom,
> 
> On Wed, Oct 23, 2019 at 10:36 PM Marek Vasut  wrote:
> >
> > On 10/23/19 9:26 PM, Tom Rini wrote:
> > > On Sun, Oct 20, 2019 at 05:08:37PM +0200, Marek Vasut wrote:
> > >
> > >> The following changes since commit 
> > >> 6891152a4596d38ac25d2fe1238e3b6a938554b8:
> > >>
> > >>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
> > >> 21:00:10 -0400)
> > >>
> > >> are available in the Git repository at:
> > >>
> > >>   git://git.denx.de/u-boot-usb.git master
> > >>
> > >> for you to fetch changes up to 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:
> > >>
> > >>   dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)
> > >>
> > >
> > > Two problems.  First (and I was going to fix this myself, it's not too
> > > hard) is that the DWC3 series is once again out of date with new
> > > platforms added since posting, this time khadas-vim3 and sei610.
> >
> > Lovely, CCing Jean again ...
> >
> > > But the second and bigger problem is that (I assume) the mx6 patch makes
> > > tbs2910 now exceed the binary size limit and fail to link.
> 
> Could you please provide steps to reproduce (or just point to CI build log).
> I've tried building both u-boot-usb tree and u-boot with all changes
> from this PR
> applied on top. In all cases everything is OK:
> 
> $ make tbs2910_defconfig
> $ make
> #
> # configuration written to .config
> #
> 
>   OBJCOPY u-boot-nodtb.bin
>   COPYu-boot.bin
>   MKIMAGE u-boot.imx
>   OBJCOPY u-boot.srec
>   SYM u-boot.sym
> = WARNING ==
> This board does not use CONFIG_DM_VIDEO Please update
> the board to use CONFIG_DM_VIDEO before the v2019.07 release.
> Failure to update by the deadline may result in board removal.
> See doc/driver-model/MIGRATION.txt for more info.
> 
> = WARNING ==
> CONFIG_OF_EMBED is enabled. This option should only
> be used for debugging purposes. Please use
> CONFIG_OF_SEPARATE for boards in mainline.
> See doc/README.fdt-control for more info.
> 
>   CFGCHK  u-boot.cfg

What toolchain are you using?  Thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-24 Thread Igor Opaniuk
Hi Tom,

On Wed, Oct 23, 2019 at 10:36 PM Marek Vasut  wrote:
>
> On 10/23/19 9:26 PM, Tom Rini wrote:
> > On Sun, Oct 20, 2019 at 05:08:37PM +0200, Marek Vasut wrote:
> >
> >> The following changes since commit 
> >> 6891152a4596d38ac25d2fe1238e3b6a938554b8:
> >>
> >>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
> >> 21:00:10 -0400)
> >>
> >> are available in the Git repository at:
> >>
> >>   git://git.denx.de/u-boot-usb.git master
> >>
> >> for you to fetch changes up to 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:
> >>
> >>   dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)
> >>
> >
> > Two problems.  First (and I was going to fix this myself, it's not too
> > hard) is that the DWC3 series is once again out of date with new
> > platforms added since posting, this time khadas-vim3 and sei610.
>
> Lovely, CCing Jean again ...
>
> > But the second and bigger problem is that (I assume) the mx6 patch makes
> > tbs2910 now exceed the binary size limit and fail to link.

Could you please provide steps to reproduce (or just point to CI build log).
I've tried building both u-boot-usb tree and u-boot with all changes
from this PR
applied on top. In all cases everything is OK:

$ make tbs2910_defconfig
$ make
#
# configuration written to .config
#

  OBJCOPY u-boot-nodtb.bin
  COPYu-boot.bin
  MKIMAGE u-boot.imx
  OBJCOPY u-boot.srec
  SYM u-boot.sym
= WARNING ==
This board does not use CONFIG_DM_VIDEO Please update
the board to use CONFIG_DM_VIDEO before the v2019.07 release.
Failure to update by the deadline may result in board removal.
See doc/driver-model/MIGRATION.txt for more info.

= WARNING ==
CONFIG_OF_EMBED is enabled. This option should only
be used for debugging purposes. Please use
CONFIG_OF_SEPARATE for boards in mainline.
See doc/README.fdt-control for more info.

  CFGCHK  u-boot.cfg

>
> And Igor ...
>
> --
> Best regards,
> Marek Vasut



-- 
Best regards - Freundliche Grüsse - Meilleures salutations

Igor Opaniuk

mailto: igor.opan...@gmail.com
skype: igor.opanyuk
+380 (93) 836 40 67
http://ua.linkedin.com/in/iopaniuk
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-23 Thread Marek Vasut
On 10/23/19 9:26 PM, Tom Rini wrote:
> On Sun, Oct 20, 2019 at 05:08:37PM +0200, Marek Vasut wrote:
> 
>> The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8:
>>
>>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
>> 21:00:10 -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-usb.git master
>>
>> for you to fetch changes up to 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:
>>
>>   dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)
>>
> 
> Two problems.  First (and I was going to fix this myself, it's not too
> hard) is that the DWC3 series is once again out of date with new
> platforms added since posting, this time khadas-vim3 and sei610.

Lovely, CCing Jean again ...

> But the second and bigger problem is that (I assume) the mx6 patch makes
> tbs2910 now exceed the binary size limit and fail to link.

And Igor ...

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-23 Thread Tom Rini
On Sun, Oct 20, 2019 at 05:08:37PM +0200, Marek Vasut wrote:

> The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
> 21:00:10 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:
> 
>   dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)
> 

Two problems.  First (and I was going to fix this myself, it's not too
hard) is that the DWC3 series is once again out of date with new
platforms added since posting, this time khadas-vim3 and sei610.

But the second and bigger problem is that (I assume) the mx6 patch makes
tbs2910 now exceed the binary size limit and fail to link.

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-10-20 Thread Marek Vasut
The following changes since commit 6891152a4596d38ac25d2fe1238e3b6a938554b8:

  Merge branch 'master' of git://git.denx.de/u-boot-socfpga (2019-10-14
21:00:10 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 79b03816cb7d17ce717cbeb2d1c69836a0adef1e:

  dm: test: usb: rework keyboard test (2019-10-15 13:12:09 +0200)


Heinrich Schuchardt (5):
  usb: kbd: simplify coding for arrow keys
  usb: kbd: implement special keys
  usb: kbd: fix typo
  usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h
  dm: test: usb: rework keyboard test

Igor Opaniuk (1):
  usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs

Jean-Jacques Hiblot (15):
  usb: host: remove the xhci-zynqmp driver
  usb: dwc3: switch to peripheral mode when exiting
  usb: xhci: move xhci.h to include usb
  usb: dwc3: always use the inlined version of
dwc3_host_init/dwc3_host_exit
  usb: dwc3-generic: use platdata
  usb: dwc3-generic: factorize code
  usb: dwc3-generic: add a new host driver that uses the dwc3 core
  usb: dwc3-generic: if no max speed is specified in DT, assume
super speed
  usb: dwc3: Add dwc3_of_parse() to get quirks information from DT
  usb: dwc3: Kconfig: get rid of obsolete mode selection
  ARM: keystone: increase PSC timeout
  ARM: keystone: Do not enable the USB power domains at the board level
  phy: keystone-usb: handle the transition of the USB power domain
  configs: k2g_evm_defconfig: disable XHCI_DWC3 and enable
KEYSTONE_USB_PHY
  ARM: DTS: keystone: complete the description of the USB PHY devices

 MAINTAINERS  |   1 +
 arch/arm/dts/keystone-k2e-evm-u-boot.dtsi|  32 ++
 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi|  28 +
 arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi   |  14 +
 arch/arm/dts/keystone-k2l-evm-u-boot.dtsi|  18 ++
 arch/arm/mach-keystone/include/mach/psc_defs.h   |   2 +-
 board/ti/ks2_evm/board.c |  13 
 common/usb_kbd.c |  89
+++
 configs/avnet_ultra96_rev1_defconfig |   1 -
 configs/evb-rk3328_defconfig |   1 +
 configs/k2g_evm_defconfig|   3 +-
 configs/odroid-n2_defconfig  |   1 +
 configs/rock64-rk3328_defconfig  |   1 +
 configs/sei510_defconfig |   1 +
 configs/u200_defconfig   |   1 +
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm017_dc3_defconfig |   1 -
 configs/xilinx_zynqmp_zcu100_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig|   1 -
 configs/xilinx_zynqmp_zcu102_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_revB_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu106_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu111_revA_defconfig  |   1 -
 drivers/phy/keystone-usb-phy.c   |  22 +++
 drivers/usb/dwc3/Kconfig |  18 +-
 drivers/usb/dwc3/core.c  |  84
-
 drivers/usb/dwc3/core.h  |   6 +-
 drivers/usb/dwc3/dwc3-generic.c  | 146
+--
 drivers/usb/emul/sandbox_keyb.c  |  27 +---
 drivers/usb/host/Kconfig |   7 ---
 drivers/usb/host/Makefile|   1 -
 drivers/usb/host/ehci-mx6.c  |  15 ++---
 drivers/usb/host/xhci-dwc3.c |   2 +-
 drivers/usb/host/xhci-exynos5.c  |   2 +-
 drivers/usb/host/xhci-fsl.c  |   2 +-
 drivers/usb/host/xhci-mem.c  |   2 +-
 drivers/usb/host/xhci-mvebu.c|   2 +-
 drivers/usb/host/xhci-omap.c |   2 +-
 drivers/usb/host/xhci-pci.c  |   2 +-
 drivers/usb/host/xhci-rcar.c |   2 +-
 drivers/usb/host/xhci-ring.c |   2 +-
 drivers/usb/host/xhci-rockchip.c |   2 +-
 drivers/usb/host/xhci-zynqmp.c   | 146
---
 drivers/usb/host/xhci.c  |   2 +-
 drivers/usb/phy/omap_usb_phy.c   |   2 +-
 include/usb.h|   6 ++
 {drivers/usb/host => include/usb}/xhci.h |   0
 test/dm/usb.c| 283
+---
 51 files changed, 699 insertions

Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-15 Thread Marek Vasut
On 10/15/19 6:59 PM, Jean-Jacques Hiblot wrote:
> 
> On 15/10/2019 11:36, Jean-Jacques Hiblot wrote:
>> Hi Marek,
>>
>> On 15/10/2019 03:01, Marek Vasut wrote:
>>> On 10/15/19 2:59 AM, Tom Rini wrote:
 On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote:

> The following changes since commit
> 44fb0d6c9f5147a41c710032869e5e01b3c9e310:
>
>    Merge tag 'xilinx-for-v2020.01' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
> 16:22:03 -0400)
>
> are available in the Git repository at:
>
>    git://git.denx.de/u-boot-usb.git master
>
> for you to fetch changes up to
> 3cf0f7a8d485e4bf969628f5658e075084b2f013:
>
>    usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12
> 13:07:32
> +0200)
>
 NAK.  From: https://gitlab.denx.de/u-boot/u-boot/-/jobs/19870
 sei510 rock64-rk3328 u200 odroid-n2 fail due to:
 +drivers/usb/gadget/udc/built-in.o: In function
 `usb_gadget_register_driver':
 +drivers/usb/gadget/udc/udc-core.c:325: multiple definition of
 `usb_gadget_register_driver'
 +drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:238: first
 defined here
 +drivers/usb/gadget/udc/built-in.o: In function
 `usb_gadget_unregister_driver':
 +drivers/usb/gadget/udc/udc-core.c:334: multiple definition of
 `usb_gadget_unregister_driver'
 +drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:287: first
 defined here
>>> Sigh, +CC Jean.
>>
>> Looks like v3 has been merged instead of the latest v4 which has the
>> changes in defconfig to prevent this.
>>
>> v4: https://patchwork.ozlabs.org/project/uboot/list/?series=130132
>>
>> v3:
>> https://patchwork.ozlabs.org/project/uboot/list/?series=116460&state=*
>>
>> Changes in v4:
>> - removed patches already merged (DWC3 fixes)
>> - update more defconfigs (u200, sei510, rock64-rk332 and odroid-n2)
>> - Fix the test of the USB_DWC3_GADGET option. IS_ENABLED() requires the
>>   whole option name including the 'CONFIG_' prefix
>>
>> JJ
> 
> 
> Travis build with v4 rebased on top of u-boot-usb/master (minus the v3
> patches): https://travis-ci.org/jjhiblot/u-boot/jobs/598065745

I loaded the V4 into travis too, thanks.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-15 Thread Jean-Jacques Hiblot


On 15/10/2019 11:36, Jean-Jacques Hiblot wrote:

Hi Marek,

On 15/10/2019 03:01, Marek Vasut wrote:

On 10/15/19 2:59 AM, Tom Rini wrote:

On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote:

The following changes since commit 
44fb0d6c9f5147a41c710032869e5e01b3c9e310:


   Merge tag 'xilinx-for-v2020.01' of
https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
16:22:03 -0400)

are available in the Git repository at:

   git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 
3cf0f7a8d485e4bf969628f5658e075084b2f013:


   usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12 
13:07:32

+0200)


NAK.  From: https://gitlab.denx.de/u-boot/u-boot/-/jobs/19870
sei510 rock64-rk3328 u200 odroid-n2 fail due to:
+drivers/usb/gadget/udc/built-in.o: In function 
`usb_gadget_register_driver':
+drivers/usb/gadget/udc/udc-core.c:325: multiple definition of 
`usb_gadget_register_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:238: 
first defined here
+drivers/usb/gadget/udc/built-in.o: In function 
`usb_gadget_unregister_driver':
+drivers/usb/gadget/udc/udc-core.c:334: multiple definition of 
`usb_gadget_unregister_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:287: 
first defined here

Sigh, +CC Jean.


Looks like v3 has been merged instead of the latest v4 which has the 
changes in defconfig to prevent this.


v4: https://patchwork.ozlabs.org/project/uboot/list/?series=130132

v3: https://patchwork.ozlabs.org/project/uboot/list/?series=116460&state=*

Changes in v4:
- removed patches already merged (DWC3 fixes)
- update more defconfigs (u200, sei510, rock64-rk332 and odroid-n2)
- Fix the test of the USB_DWC3_GADGET option. IS_ENABLED() requires the
  whole option name including the 'CONFIG_' prefix

JJ



Travis build with v4 rebased on top of u-boot-usb/master (minus the v3 
patches): https://travis-ci.org/jjhiblot/u-boot/jobs/598065745







___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-15 Thread Jean-Jacques Hiblot

Hi Marek,

On 15/10/2019 03:01, Marek Vasut wrote:

On 10/15/19 2:59 AM, Tom Rini wrote:

On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote:


The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310:

   Merge tag 'xilinx-for-v2020.01' of
https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
16:22:03 -0400)

are available in the Git repository at:

   git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 3cf0f7a8d485e4bf969628f5658e075084b2f013:

   usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12 13:07:32
+0200)


NAK.  From: https://gitlab.denx.de/u-boot/u-boot/-/jobs/19870
sei510 rock64-rk3328 u200 odroid-n2 fail due to:
+drivers/usb/gadget/udc/built-in.o: In function `usb_gadget_register_driver':
+drivers/usb/gadget/udc/udc-core.c:325: multiple definition of 
`usb_gadget_register_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:238: first 
defined here
+drivers/usb/gadget/udc/built-in.o: In function `usb_gadget_unregister_driver':
+drivers/usb/gadget/udc/udc-core.c:334: multiple definition of 
`usb_gadget_unregister_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:287: first 
defined here

Sigh, +CC Jean.


Looks like v3 has been merged instead of the latest v4 which has the 
changes in defconfig to prevent this.


v4: https://patchwork.ozlabs.org/project/uboot/list/?series=130132

v3: https://patchwork.ozlabs.org/project/uboot/list/?series=116460&state=*

Changes in v4:
- removed patches already merged (DWC3 fixes)
- update more defconfigs (u200, sei510, rock64-rk332 and odroid-n2)
- Fix the test of the USB_DWC3_GADGET option. IS_ENABLED() requires the
  whole option name including the 'CONFIG_' prefix

JJ




___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-14 Thread Marek Vasut
On 10/15/19 2:59 AM, Tom Rini wrote:
> On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote:
> 
>> The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310:
>>
>>   Merge tag 'xilinx-for-v2020.01' of
>> https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
>> 16:22:03 -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-usb.git master
>>
>> for you to fetch changes up to 3cf0f7a8d485e4bf969628f5658e075084b2f013:
>>
>>   usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12 13:07:32
>> +0200)
>>
> 
> NAK.  From: https://gitlab.denx.de/u-boot/u-boot/-/jobs/19870
> sei510 rock64-rk3328 u200 odroid-n2 fail due to:
> +drivers/usb/gadget/udc/built-in.o: In function `usb_gadget_register_driver':
> +drivers/usb/gadget/udc/udc-core.c:325: multiple definition of 
> `usb_gadget_register_driver'
> +drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:238: first 
> defined here
> +drivers/usb/gadget/udc/built-in.o: In function 
> `usb_gadget_unregister_driver':
> +drivers/usb/gadget/udc/udc-core.c:334: multiple definition of 
> `usb_gadget_unregister_driver'
> +drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:287: first 
> defined here

Sigh, +CC Jean.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-10-14 Thread Tom Rini
On Tue, Oct 15, 2019 at 01:34:57AM +0200, Marek Vasut wrote:

> The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310:
> 
>   Merge tag 'xilinx-for-v2020.01' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
> 16:22:03 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 3cf0f7a8d485e4bf969628f5658e075084b2f013:
> 
>   usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12 13:07:32
> +0200)
> 

NAK.  From: https://gitlab.denx.de/u-boot/u-boot/-/jobs/19870
sei510 rock64-rk3328 u200 odroid-n2 fail due to:
+drivers/usb/gadget/udc/built-in.o: In function `usb_gadget_register_driver':
+drivers/usb/gadget/udc/udc-core.c:325: multiple definition of 
`usb_gadget_register_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:238: first 
defined here
+drivers/usb/gadget/udc/built-in.o: In function `usb_gadget_unregister_driver':
+drivers/usb/gadget/udc/udc-core.c:334: multiple definition of 
`usb_gadget_unregister_driver'
+drivers/usb/gadget/built-in.o:drivers/usb/gadget/dwc2_udc_otg.c:287: first 
defined here

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-10-14 Thread Marek Vasut
The following changes since commit 44fb0d6c9f5147a41c710032869e5e01b3c9e310:

  Merge tag 'xilinx-for-v2020.01' of
https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze (2019-10-09
16:22:03 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 3cf0f7a8d485e4bf969628f5658e075084b2f013:

  usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs (2019-10-12 13:07:32
+0200)


Igor Opaniuk (1):
  usb: ehci-mx6: Fix bus enumeration for iMX7 SoCs

Jean-Jacques Hiblot (15):
  usb: host: remove the xhci-zynqmp driver
  usb: dwc3: switch to peripheral mode when exiting
  usb: xhci: move xhci.h to include usb
  usb: dwc3: always use the inlined version of
dwc3_host_init/dwc3_host_exit
  usb: dwc3-generic: use platdata
  usb: dwc3-generic: factorize code
  usb: dwc3-generic: add a new host driver that uses the dwc3 core
  usb: dwc3-generic: if no max speed is specified in DT, assume
super speed
  usb: dwc3: Add dwc3_of_parse() to get quirks information from DT
  usb: dwc3: Kconfig: get rid of obsolete mode selection
  ARM: keystone: increase PSC timeout
  ARM: keystone: Do not enable the USB power domains at the board level
  phy: keystone-usb: handle the transition of the USB power domain
  configs: k2g_evm_defconfig: disable XHCI_DWC3 and enable
KEYSTONE_USB_PHY
  ARM: DTS: keystone: complete the description of the USB PHY devices

 MAINTAINERS  |   1 +
 arch/arm/dts/keystone-k2e-evm-u-boot.dtsi|  32 +++
 arch/arm/dts/keystone-k2g-evm-u-boot.dtsi|  28 
 arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi   |  14 
 arch/arm/dts/keystone-k2l-evm-u-boot.dtsi|  18 +++
 arch/arm/mach-keystone/include/mach/psc_defs.h   |   2 +-
 board/ti/ks2_evm/board.c |  13 
 configs/avnet_ultra96_rev1_defconfig |   1 -
 configs/evb-rk3328_defconfig |   1 +
 configs/k2g_evm_defconfig|   3 +-
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig |   1 -
 configs/xilinx_zynqmp_zc1751_xm017_dc3_defconfig |   1 -
 configs/xilinx_zynqmp_zcu100_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig|   1 -
 configs/xilinx_zynqmp_zcu102_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu102_revB_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu104_revC_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu106_revA_defconfig  |   1 -
 configs/xilinx_zynqmp_zcu111_revA_defconfig  |   1 -
 drivers/phy/keystone-usb-phy.c   |  22 +
 drivers/usb/dwc3/Kconfig |  18 ++-
 drivers/usb/dwc3/core.c  |  84
++--
 drivers/usb/dwc3/core.h  |   6 +---
 drivers/usb/dwc3/dwc3-generic.c  | 146
+---
 drivers/usb/host/Kconfig |   7 
 drivers/usb/host/Makefile|   1 -
 drivers/usb/host/ehci-mx6.c  |  15 +
 drivers/usb/host/xhci-dwc3.c |   2 +-
 drivers/usb/host/xhci-exynos5.c  |   2 +-
 drivers/usb/host/xhci-fsl.c  |   2 +-
 drivers/usb/host/xhci-mem.c  |   2 +-
 drivers/usb/host/xhci-mvebu.c|   2 +-
 drivers/usb/host/xhci-omap.c |   2 +-
 drivers/usb/host/xhci-pci.c  |   2 +-
 drivers/usb/host/xhci-rcar.c |   2 +-
 drivers/usb/host/xhci-ring.c |   2 +-
 drivers/usb/host/xhci-rockchip.c |   2 +-
 drivers/usb/host/xhci-zynqmp.c   | 146

 drivers/usb/host/xhci.c  |   2 +-
 drivers/usb/phy/omap_usb_phy.c   |   2 +-
 {drivers/usb/host => include/usb}/xhci.h |   0
 43 files changed, 335 insertions(+), 258 deletions(-)
 create mode 100644 arch/arm/dts/keystone-k2l-evm-u-boot.dtsi
 delete mode 100644 drivers/usb/host/xhci-zynqmp.c
 rename {drivers/usb/host => include/usb}/xhci.h (100%)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-09-16 Thread Tom Rini
On Sat, Sep 14, 2019 at 02:27:05PM +0200, Marek Vasut wrote:

> The following changes since commit 001c8ea94ae710d8340829237a7d788b25ce2ae7:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2019-09-10
> 08:52:00 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to e3e5825d0143c2b24583d256ef111ae9344382a2:
> 
>   usb: musb_hcd: fix compilation error (2019-09-11 10:11:39 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-09-14 Thread Marek Vasut
The following changes since commit 001c8ea94ae710d8340829237a7d788b25ce2ae7:

  Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2019-09-10
08:52:00 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to e3e5825d0143c2b24583d256ef111ae9344382a2:

  usb: musb_hcd: fix compilation error (2019-09-11 10:11:39 +0200)


Jean-Jacques Hiblot (1):
  usb: musb_hcd: fix compilation error

Michal Suchanek (5):
  usb_kdb: only process events successfully received
  usb: usb_submit_int_msg -> usb_int_msg
  usb: storage: submit_int_msg -> usb_int_msg
  usb: Add nonblock argument to submit_int_msg
  dwc2: use the nonblock argument in submit_int_msg

 common/usb.c   | 11 +++
 common/usb_kbd.c   | 11 +--
 common/usb_storage.c   |  4 ++--
 drivers/usb/emul/sandbox_keyb.c|  3 ++-
 drivers/usb/emul/usb-emul-uclass.c |  6 --
 drivers/usb/host/dwc2.c| 15 +--
 drivers/usb/host/ehci-hcd.c| 13 -
 drivers/usb/host/ohci-hcd.c|  4 ++--
 drivers/usb/host/sl811-hcd.c   |  2 +-
 drivers/usb/host/usb-sandbox.c |  5 +++--
 drivers/usb/host/usb-uclass.c  |  5 +++--
 drivers/usb/host/xhci.c| 13 -
 drivers/usb/musb-new/musb_uboot.c  | 12 +++-
 drivers/usb/musb/musb_hcd.c|  4 ++--
 include/usb.h  | 11 ++-
 15 files changed, 69 insertions(+), 50 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-09-01 Thread Marek Vasut
On 8/31/19 9:40 PM, Tom Rini wrote:
> On Thu, Aug 29, 2019 at 02:08:05PM +0200, Marek Vasut wrote:
> 
>> The following changes since commit 8c56ea5c1e033f16993e5427300399ef848234bb:
>>
>>   Merge branch 'u-boot-stm32_20190827' of
>> https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-08-27 13:19:47
>> -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-usb.git master
>>
>> for you to fetch changes up to fd0637b814cdbc8aa9060f313f6c8e71fb9c5d15:
>>
>>   dwc2: use the nonblock argument in submit_int_msg (2019-08-29 14:07:26
>> +0200)
>>
> 
> NAK, this breaks nokia_rx51 and am3517_crane:
> +(nokia_rx51,am3517_crane) ../drivers/usb/musb/musb_hcd.c:1052:5: error: 
> conflicting types for 'submit_int_msg'
> +(nokia_rx51,am3517_crane)  int submit_int_msg(struct usb_device *dev, 
> unsigned long pipe,
> +(nokia_rx51,am3517_crane)  ^~
> +(nokia_rx51,am3517_crane) In file included from 
> ../drivers/usb/musb/musb_hcd.c:11:0:
> +(nokia_rx51,am3517_crane) ../include/usb.h:186:5: note: previous declaration 
> of 'submit_int_msg' was here
> +(nokia_rx51,am3517_crane)  int submit_int_msg(struct usb_device *dev, 
> unsigned long pipe, void *buffer,
> +(nokia_rx51,am3517_crane) make[2]: *** [../scripts/Makefile.build:279: 
> drivers/usb/musb/musb_hcd.o] Error 1
> +(nokia_rx51,am3517_crane) make[1]: *** [Makefile:1598: drivers/usb/musb] 
> Error 2
> +(nokia_rx51,am3517_crane) make: *** [Makefile:148: sub-make] Error 2

Aaargh! I am CCing the author of the patches ...
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-08-31 Thread Tom Rini
On Thu, Aug 29, 2019 at 02:08:05PM +0200, Marek Vasut wrote:

> The following changes since commit 8c56ea5c1e033f16993e5427300399ef848234bb:
> 
>   Merge branch 'u-boot-stm32_20190827' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-08-27 13:19:47
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to fd0637b814cdbc8aa9060f313f6c8e71fb9c5d15:
> 
>   dwc2: use the nonblock argument in submit_int_msg (2019-08-29 14:07:26
> +0200)
> 

NAK, this breaks nokia_rx51 and am3517_crane:
+(nokia_rx51,am3517_crane) ../drivers/usb/musb/musb_hcd.c:1052:5: error: 
conflicting types for 'submit_int_msg'
+(nokia_rx51,am3517_crane)  int submit_int_msg(struct usb_device *dev, unsigned 
long pipe,
+(nokia_rx51,am3517_crane)  ^~
+(nokia_rx51,am3517_crane) In file included from 
../drivers/usb/musb/musb_hcd.c:11:0:
+(nokia_rx51,am3517_crane) ../include/usb.h:186:5: note: previous declaration 
of 'submit_int_msg' was here
+(nokia_rx51,am3517_crane)  int submit_int_msg(struct usb_device *dev, unsigned 
long pipe, void *buffer,
+(nokia_rx51,am3517_crane) make[2]: *** [../scripts/Makefile.build:279: 
drivers/usb/musb/musb_hcd.o] Error 1
+(nokia_rx51,am3517_crane) make[1]: *** [Makefile:1598: drivers/usb/musb] Error 
2
+(nokia_rx51,am3517_crane) make: *** [Makefile:148: sub-make] Error 2

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-08-29 Thread Marek Vasut
The following changes since commit 8c56ea5c1e033f16993e5427300399ef848234bb:

  Merge branch 'u-boot-stm32_20190827' of
https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-08-27 13:19:47
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to fd0637b814cdbc8aa9060f313f6c8e71fb9c5d15:

  dwc2: use the nonblock argument in submit_int_msg (2019-08-29 14:07:26
+0200)


Michal Suchanek (5):
  usb_kdb: only process events successfully received
  usb: usb_submit_int_msg -> usb_int_msg
  usb: storage: submit_int_msg -> usb_int_msg
  usb: Add nonblock argument to submit_int_msg
  dwc2: use the nonblock argument in submit_int_msg

 common/usb.c   | 11 +++
 common/usb_kbd.c   | 11 +--
 common/usb_storage.c   |  4 ++--
 drivers/usb/emul/sandbox_keyb.c|  3 ++-
 drivers/usb/emul/usb-emul-uclass.c |  6 --
 drivers/usb/host/dwc2.c| 15 +--
 drivers/usb/host/ehci-hcd.c| 13 -
 drivers/usb/host/ohci-hcd.c|  4 ++--
 drivers/usb/host/r8a66597-hcd.c|  2 +-
 drivers/usb/host/sl811-hcd.c   |  2 +-
 drivers/usb/host/usb-sandbox.c |  5 +++--
 drivers/usb/host/usb-uclass.c  |  5 +++--
 drivers/usb/host/xhci.c| 13 -
 drivers/usb/musb-new/musb_uboot.c  | 12 +++-
 include/usb.h  | 11 ++-
 15 files changed, 68 insertions(+), 49 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-08-10 Thread Tom Rini
On Sat, Aug 10, 2019 at 03:33:44PM +0200, Marek Vasut wrote:

> The following changes since commit 2e8fef747bf773691d174b2b8120d7aa6c637bcf:
> 
>   test/py: avb: Move AVB test to android dir (2019-08-07 23:15:13 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 29a81142be960a07761f50ccae6cde766e3696d9:
> 
>   fastboot: Remove "bootloader-version" variable (2019-08-08 11:35:02 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-08-10 Thread Marek Vasut
The following changes since commit 2e8fef747bf773691d174b2b8120d7aa6c637bcf:

  test/py: avb: Move AVB test to android dir (2019-08-07 23:15:13 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 29a81142be960a07761f50ccae6cde766e3696d9:

  fastboot: Remove "bootloader-version" variable (2019-08-08 11:35:02 +0200)


Adam Ford (3):
  phy: Add support for phy-da8xx-usb
  usb: musb-new: Add support for da8xx-musb
  ARM: da850-evm: Enable the USB PHY and MUSB Driver

Heiko Schocher (5):
  usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used
  usb, ohci: fix ohci swap register access
  usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI
  usb, ohci: add warning if none on pci found
  usb, ohci, pci: add DM support for PCI-based OHCI USB controller

Marek Szyprowski (1):
  thor: fix crash after usb initialization failure

Ralph Siemsen (1):
  usb: gadget: f_dfu.c: fix memory leak

Sam Protsenko (3):
  fastboot: Remove "slot-suffixes" variable
  fastboot: getvar: Add "is-userspace" variable
  fastboot: Remove "bootloader-version" variable

 cmd/thordown.c|   6 ++-
 configs/da850evm_defconfig|   5 +++
 configs/da850evm_direct_nor_defconfig |   5 +++
 configs/da850evm_nand_defconfig   |   5 +++
 doc/android/fastboot.txt  |   6 +--
 drivers/fastboot/fb_getvar.c  |  27 ++--
 drivers/phy/Kconfig   |   6 +++
 drivers/phy/Makefile  |   1 +
 drivers/phy/phy-da8xx-usb.c   |  64 
 drivers/usb/gadget/f_dfu.c|   1 +
 drivers/usb/host/Kconfig  |   7 +++
 drivers/usb/host/Makefile |   1 +
 drivers/usb/host/ohci-hcd.c   |  12 --
 drivers/usb/host/ohci-pci.c   |  52 ++
 drivers/usb/host/ohci.h   |   4 +-
 drivers/usb/musb-new/Kconfig  |   8 
 drivers/usb/musb-new/Makefile |   1 +
 drivers/usb/musb-new/da8xx.c  | 350
+
 18 files changed, 537 insertions(+), 24 deletions(-)
 create mode 100644 drivers/phy/phy-da8xx-usb.c
 create mode 100644 drivers/usb/host/ohci-pci.c
 create mode 100644 drivers/usb/musb-new/da8xx.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-07-07 Thread Tom Rini
On Sat, Jul 06, 2019 at 08:27:30PM +0200, Marek Vasut wrote:

> The following changes since commit 1f83431f0053f6fb20c511c391ffc687433848cf:
> 
>   board: amlogic: add mailing-list to MAINTAINERS (2019-07-04 11:36:52
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 3b83829ed63fabe460592395571c1d8fd9b861c8:
> 
>   usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic
> glue (2019-07-05 14:19:41 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-07-06 Thread Marek Vasut
The following changes since commit 1f83431f0053f6fb20c511c391ffc687433848cf:

  board: amlogic: add mailing-list to MAINTAINERS (2019-07-04 11:36:52
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 3b83829ed63fabe460592395571c1d8fd9b861c8:

  usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic
glue (2019-07-05 14:19:41 +0200)


Jean-Jacques Hiblot (3):
  usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback
  dm: Add a No-op uclass
  usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3
generic glue

Marek Vasut (1):
  usb: ehci-mx6: Fix bus enumeration for DM case

 arch/sandbox/dts/test.dts   | 12 
 drivers/core/uclass.c   |  5 +
 drivers/usb/dwc3/dwc3-generic.c |  4 ++--
 drivers/usb/host/ehci-mx6.c | 37 +
 include/dm/uclass-id.h  |  1 +
 test/dm/Makefile|  1 +
 test/dm/nop.c   | 73
+
 7 files changed, 131 insertions(+), 2 deletions(-)
 create mode 100644 test/dm/nop.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-18 Thread Tom Rini
On Fri, Jun 14, 2019 at 12:45:47PM +0200, Marek Vasut wrote:

> Assorted gadget fixes.
> 
> The following changes since commit c2ea87883ef309570c8903e6de4b8b78685d73d0:
> 
>   Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efi
> (2019-06-12 07:15:38 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 220f655176de8e6aa4aaea91bb2182260d26c4a4:
> 
>   fastboot: Check if partition really exist in getvar_has_slot()
> (2019-06-14 12:39:54 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-18 Thread Marek Vasut
On 6/18/19 1:42 PM, Sam Protsenko wrote:
> Hi Marek,
> 
> On Sat, Jun 15, 2019 at 6:16 PM Marek Vasut  wrote:
>>
>> On 6/15/19 4:24 PM, Eugeniu Rosca wrote:
>>> Hi Marek,
>>>
>>> On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote:
 On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
> Hello Marek, Lukasz cc: Sam
>
> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
> [..]
>> Sam Protsenko (3):
>>   fastboot: Fix slot names reported by getvar
>
> Commit [1] from this PR got replaced by series [2].

 Replaced where ? [1] seems like a fix to me, [2] seems like feature
 addition ,
>>>
>>> Your instincts are correct (i.e. features must be rejected at this late
>>> stage) and they deserve credits. However and what seems extremely
>>> interesting is:
>>>  - it is very easy to masquerade a fix as a feature (and viceversa),
>>>just by slightly adjusting the title [1-2] and it's very easy to
>>>play with your perception this way
>>
>> Likely because free software development is built on trust. If there are
>> malicious actors who decide to not play nice, and even try to manipulate
>> others by elaborately crafting commit messages or otherwise, this might
>> work out to worm patches in. But at the end of the day, this helps no
>> one, so please refrain from such underhanded practices.
>>
> 
> I believe it's for maintainer to decide, which patches are ok to go to
> -rc, and which are not. We can always discuss that here in mailing
> list, if something is not clear.
> 
>>>  - it seems like there isn't a process (and this is a OSS-wide issue) of
>>>marking a patch as fix/feature (the latter would help the maintainer
>>>enormously)
>>
>> Maybe you can start a separate thread and help figure out such a
>> process? Complaining about unrelated stuff under random patches/PRs
>> won't make that happen, it will only happen if someone takes the
>> initiative. Scratching your own itch and all that.
>>
>>>  - it also appears that sometimes there is a fine line in our minds
>>>between what's a fix and what's a feature
>>>
>>> So, in a nutshell, series [2] is the v2 of commit [1].
>>> IMHO there is no feature added.
>>> The two commits from series [2] are:
>>>  - https://patchwork.ozlabs.org/patch/1116099/
>>>  - https://patchwork.ozlabs.org/patch/1116101/
>>
>> Seems this was not clearly marked as so.
>> I would suggest Sam sends a V3 on top of this PR and be done with it.
>>
> 
> Agreed. From my point of view, both V2 and V3 are simultaneously
> harmless *and* not required in this release. Just because there are no
> users for A/B slotted partitions in upstream U-Boot right now.
> 
> The only important fix to be included in release, is this patch-series:
> 
> [PATCH v3 0/3] fastboot: Fix getvar "has-slot" and cleanup
> 
> which actually fixes fastboot on non-slotted partitions (like on
> BeagleBoard X15), where right now we are unable to flash images.
> 
>>> What's interesting is that, depending on which version of fastboot
>>> utility users use/assume, they might see a "regression" introduced
>>> by [1-2]. Both [1-2] do changes to align U-Boot with latest fastboot
>>> utility from AOSP. What [2] is doing _in addition_ to [1] is:
>>>  - remove some dead code in U-Boot which will never be exercised
>>>assuming users run the latest fastboot
>>>  - place a bold warning in commit description that users are assumed to
>>>be using the latest fastboot utility
>>
>> If this can be fixed better, patches welcome.
>>
 so merging [1] this late in the release cycle seems like the
 right thing to do.
>>>
>>> My assumption is that Sam would like to see [1] being dropped in favor
>>> of [2], as commented in https://patchwork.ozlabs.org/patch/1114850/#2194140
>>
>> I will leave that up to Sam and Lukasz to figure this out.
>> However, I would prefer a V3 on top of this PR, that's easiest IMO.
>>
> 
> Let's make it so. I can send V3 later. Discussed patch ("fastboot: Fix
> slot names reported by getvar") is not crucial anyway, I guess.

Please do, the USB PR is now in.

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-18 Thread Sam Protsenko
Hi Marek,

On Sat, Jun 15, 2019 at 6:16 PM Marek Vasut  wrote:
>
> On 6/15/19 4:24 PM, Eugeniu Rosca wrote:
> > Hi Marek,
> >
> > On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote:
> >> On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
> >>> Hello Marek, Lukasz cc: Sam
> >>>
> >>> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
> >>> [..]
>  Sam Protsenko (3):
>    fastboot: Fix slot names reported by getvar
> >>>
> >>> Commit [1] from this PR got replaced by series [2].
> >>
> >> Replaced where ? [1] seems like a fix to me, [2] seems like feature
> >> addition ,
> >
> > Your instincts are correct (i.e. features must be rejected at this late
> > stage) and they deserve credits. However and what seems extremely
> > interesting is:
> >  - it is very easy to masquerade a fix as a feature (and viceversa),
> >just by slightly adjusting the title [1-2] and it's very easy to
> >play with your perception this way
>
> Likely because free software development is built on trust. If there are
> malicious actors who decide to not play nice, and even try to manipulate
> others by elaborately crafting commit messages or otherwise, this might
> work out to worm patches in. But at the end of the day, this helps no
> one, so please refrain from such underhanded practices.
>

I believe it's for maintainer to decide, which patches are ok to go to
-rc, and which are not. We can always discuss that here in mailing
list, if something is not clear.

> >  - it seems like there isn't a process (and this is a OSS-wide issue) of
> >marking a patch as fix/feature (the latter would help the maintainer
> >enormously)
>
> Maybe you can start a separate thread and help figure out such a
> process? Complaining about unrelated stuff under random patches/PRs
> won't make that happen, it will only happen if someone takes the
> initiative. Scratching your own itch and all that.
>
> >  - it also appears that sometimes there is a fine line in our minds
> >between what's a fix and what's a feature
> >
> > So, in a nutshell, series [2] is the v2 of commit [1].
> > IMHO there is no feature added.
> > The two commits from series [2] are:
> >  - https://patchwork.ozlabs.org/patch/1116099/
> >  - https://patchwork.ozlabs.org/patch/1116101/
>
> Seems this was not clearly marked as so.
> I would suggest Sam sends a V3 on top of this PR and be done with it.
>

Agreed. From my point of view, both V2 and V3 are simultaneously
harmless *and* not required in this release. Just because there are no
users for A/B slotted partitions in upstream U-Boot right now.

The only important fix to be included in release, is this patch-series:

[PATCH v3 0/3] fastboot: Fix getvar "has-slot" and cleanup

which actually fixes fastboot on non-slotted partitions (like on
BeagleBoard X15), where right now we are unable to flash images.

> > What's interesting is that, depending on which version of fastboot
> > utility users use/assume, they might see a "regression" introduced
> > by [1-2]. Both [1-2] do changes to align U-Boot with latest fastboot
> > utility from AOSP. What [2] is doing _in addition_ to [1] is:
> >  - remove some dead code in U-Boot which will never be exercised
> >assuming users run the latest fastboot
> >  - place a bold warning in commit description that users are assumed to
> >be using the latest fastboot utility
>
> If this can be fixed better, patches welcome.
>
> >> so merging [1] this late in the release cycle seems like the
> >> right thing to do.
> >
> > My assumption is that Sam would like to see [1] being dropped in favor
> > of [2], as commented in https://patchwork.ozlabs.org/patch/1114850/#2194140
>
> I will leave that up to Sam and Lukasz to figure this out.
> However, I would prefer a V3 on top of this PR, that's easiest IMO.
>

Let's make it so. I can send V3 later. Discussed patch ("fastboot: Fix
slot names reported by getvar") is not crucial anyway, I guess.

Thanks!

> >>> [1] 
> >>> https://git.denx.de/?p=u-boot/u-boot-usb.git;a=commit;h=97a0c6ff577d57f162abc696c4efc962981229b1
> >>> [2] https://patchwork.ozlabs.org/cover/1116097/ ("fastboot: Support
> >>> new A/B slot format")
> >>>
> >
>
>
> --
> Best regards,
> Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-17 Thread Tom Rini
On Sat, Jun 15, 2019 at 04:43:38PM +0200, Marek Vasut wrote:
> On 6/15/19 4:24 PM, Eugeniu Rosca wrote:
> > Hi Marek,
> > 
> > On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote:
> >> On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
> >>> Hello Marek, Lukasz cc: Sam
> >>>
> >>> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
> >>> [..]
>  Sam Protsenko (3):
>    fastboot: Fix slot names reported by getvar
> >>>
> >>> Commit [1] from this PR got replaced by series [2].
> >>
> >> Replaced where ? [1] seems like a fix to me, [2] seems like feature
> >> addition ,
> > 
> > Your instincts are correct (i.e. features must be rejected at this late
> > stage) and they deserve credits. However and what seems extremely
> > interesting is:
> >  - it is very easy to masquerade a fix as a feature (and viceversa),
> >just by slightly adjusting the title [1-2] and it's very easy to
> >play with your perception this way
> 
> Likely because free software development is built on trust. If there are
> malicious actors who decide to not play nice, and even try to manipulate
> others by elaborately crafting commit messages or otherwise, this might
> work out to worm patches in. But at the end of the day, this helps no
> one, so please refrain from such underhanded practices.

Yes, as a community we expect people to be clear and, well, plainly
spoken, perhaps is the best way to say it.  A bug fix is a bug fix and a
new feature is a new feature.

> >  - it seems like there isn't a process (and this is a OSS-wide issue) of
> >marking a patch as fix/feature (the latter would help the maintainer
> >enormously)
> 
> Maybe you can start a separate thread and help figure out such a
> process? Complaining about unrelated stuff under random patches/PRs
> won't make that happen, it will only happen if someone takes the
> initiative. Scratching your own itch and all that.
> 
> >  - it also appears that sometimes there is a fine line in our minds
> >between what's a fix and what's a feature
> > 
> > So, in a nutshell, series [2] is the v2 of commit [1].
> > IMHO there is no feature added.
> > The two commits from series [2] are:
> >  - https://patchwork.ozlabs.org/patch/1116099/
> >  - https://patchwork.ozlabs.org/patch/1116101/
> 
> Seems this was not clearly marked as so.
> I would suggest Sam sends a V3 on top of this PR and be done with it.

Agreed.

> > What's interesting is that, depending on which version of fastboot
> > utility users use/assume, they might see a "regression" introduced
> > by [1-2]. Both [1-2] do changes to align U-Boot with latest fastboot
> > utility from AOSP. What [2] is doing _in addition_ to [1] is:
> >  - remove some dead code in U-Boot which will never be exercised
> >assuming users run the latest fastboot
> >  - place a bold warning in commit description that users are assumed to
> >be using the latest fastboot utility
> 
> If this can be fixed better, patches welcome.
> 
> >> so merging [1] this late in the release cycle seems like the
> >> right thing to do.
> > 
> > My assumption is that Sam would like to see [1] being dropped in favor
> > of [2], as commented in https://patchwork.ozlabs.org/patch/1114850/#2194140
> 
> I will leave that up to Sam and Lukasz to figure this out.
> However, I would prefer a V3 on top of this PR, that's easiest IMO.

Agreed.  Thanks all!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-15 Thread Marek Vasut
On 6/15/19 4:24 PM, Eugeniu Rosca wrote:
> Hi Marek,
> 
> On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote:
>> On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
>>> Hello Marek, Lukasz cc: Sam
>>>
>>> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
>>> [..]
 Sam Protsenko (3):
   fastboot: Fix slot names reported by getvar
>>>
>>> Commit [1] from this PR got replaced by series [2].
>>
>> Replaced where ? [1] seems like a fix to me, [2] seems like feature
>> addition ,
> 
> Your instincts are correct (i.e. features must be rejected at this late
> stage) and they deserve credits. However and what seems extremely
> interesting is:
>  - it is very easy to masquerade a fix as a feature (and viceversa),
>just by slightly adjusting the title [1-2] and it's very easy to
>play with your perception this way

Likely because free software development is built on trust. If there are
malicious actors who decide to not play nice, and even try to manipulate
others by elaborately crafting commit messages or otherwise, this might
work out to worm patches in. But at the end of the day, this helps no
one, so please refrain from such underhanded practices.

>  - it seems like there isn't a process (and this is a OSS-wide issue) of
>marking a patch as fix/feature (the latter would help the maintainer
>enormously)

Maybe you can start a separate thread and help figure out such a
process? Complaining about unrelated stuff under random patches/PRs
won't make that happen, it will only happen if someone takes the
initiative. Scratching your own itch and all that.

>  - it also appears that sometimes there is a fine line in our minds
>between what's a fix and what's a feature
> 
> So, in a nutshell, series [2] is the v2 of commit [1].
> IMHO there is no feature added.
> The two commits from series [2] are:
>  - https://patchwork.ozlabs.org/patch/1116099/
>  - https://patchwork.ozlabs.org/patch/1116101/

Seems this was not clearly marked as so.
I would suggest Sam sends a V3 on top of this PR and be done with it.

> What's interesting is that, depending on which version of fastboot
> utility users use/assume, they might see a "regression" introduced
> by [1-2]. Both [1-2] do changes to align U-Boot with latest fastboot
> utility from AOSP. What [2] is doing _in addition_ to [1] is:
>  - remove some dead code in U-Boot which will never be exercised
>assuming users run the latest fastboot
>  - place a bold warning in commit description that users are assumed to
>be using the latest fastboot utility

If this can be fixed better, patches welcome.

>> so merging [1] this late in the release cycle seems like the
>> right thing to do.
> 
> My assumption is that Sam would like to see [1] being dropped in favor
> of [2], as commented in https://patchwork.ozlabs.org/patch/1114850/#2194140

I will leave that up to Sam and Lukasz to figure this out.
However, I would prefer a V3 on top of this PR, that's easiest IMO.

>>> [1] 
>>> https://git.denx.de/?p=u-boot/u-boot-usb.git;a=commit;h=97a0c6ff577d57f162abc696c4efc962981229b1
>>> [2] https://patchwork.ozlabs.org/cover/1116097/ ("fastboot: Support
>>> new A/B slot format")
>>>
> 


-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-15 Thread Eugeniu Rosca
Hi Marek,

On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote:
> On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
> > Hello Marek, Lukasz cc: Sam
> > 
> > On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
> > [..]
> >> Sam Protsenko (3):
> >>   fastboot: Fix slot names reported by getvar
> > 
> > Commit [1] from this PR got replaced by series [2].
> 
> Replaced where ? [1] seems like a fix to me, [2] seems like feature
> addition ,

Your instincts are correct (i.e. features must be rejected at this late
stage) and they deserve credits. However and what seems extremely
interesting is:
 - it is very easy to masquerade a fix as a feature (and viceversa),
   just by slightly adjusting the title [1-2] and it's very easy to
   play with your perception this way
 - it seems like there isn't a process (and this is a OSS-wide issue) of
   marking a patch as fix/feature (the latter would help the maintainer
   enormously)
 - it also appears that sometimes there is a fine line in our minds
   between what's a fix and what's a feature

So, in a nutshell, series [2] is the v2 of commit [1].
IMHO there is no feature added.
The two commits from series [2] are:
 - https://patchwork.ozlabs.org/patch/1116099/
 - https://patchwork.ozlabs.org/patch/1116101/

What's interesting is that, depending on which version of fastboot
utility users use/assume, they might see a "regression" introduced
by [1-2]. Both [1-2] do changes to align U-Boot with latest fastboot
utility from AOSP. What [2] is doing _in addition_ to [1] is:
 - remove some dead code in U-Boot which will never be exercised
   assuming users run the latest fastboot
 - place a bold warning in commit description that users are assumed to
   be using the latest fastboot utility

> so merging [1] this late in the release cycle seems like the
> right thing to do.

My assumption is that Sam would like to see [1] being dropped in favor
of [2], as commented in https://patchwork.ozlabs.org/patch/1114850/#2194140

> > 
> > [1] 
> > https://git.denx.de/?p=u-boot/u-boot-usb.git;a=commit;h=97a0c6ff577d57f162abc696c4efc962981229b1
> > [2] https://patchwork.ozlabs.org/cover/1116097/ ("fastboot: Support
> > new A/B slot format")
> >

-- 
Best regards,
Eugeniu
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-15 Thread Marek Vasut
On 6/15/19 11:46 AM, Eugeniu Rosca wrote:
> Hello Marek, Lukasz cc: Sam
> 
> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
> [..]
>> Sam Protsenko (3):
>>   fastboot: Fix slot names reported by getvar
> 
> Commit [1] from this PR got replaced by series [2].

Replaced where ? [1] seems like a fix to me, [2] seems like feature
addition , so merging [1] this late in the release cycle seems like the
right thing to do.

> If this PR is merged as-is, the benefit of the new series will be lost
> and the series will need rework (since it overlaps with [1]).
> Ideally [2] should replace commit [1]. Is this feasible and do you
> have any suggestions how to achieve this? TIA.
> 
> [1] 
> https://git.denx.de/?p=u-boot/u-boot-usb.git;a=commit;h=97a0c6ff577d57f162abc696c4efc962981229b1
> [2] https://patchwork.ozlabs.org/cover/1116097/ ("fastboot: Support
> new A/B slot format")
> 
> Thanks,
> Eugeniu,
> 


-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-06-15 Thread Eugeniu Rosca
Hello Marek, Lukasz cc: Sam

On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut  wrote:
[..]
> Sam Protsenko (3):
>   fastboot: Fix slot names reported by getvar

Commit [1] from this PR got replaced by series [2].
If this PR is merged as-is, the benefit of the new series will be lost
and the series will need rework (since it overlaps with [1]).
Ideally [2] should replace commit [1]. Is this feasible and do you
have any suggestions how to achieve this? TIA.

[1] 
https://git.denx.de/?p=u-boot/u-boot-usb.git;a=commit;h=97a0c6ff577d57f162abc696c4efc962981229b1
[2] https://patchwork.ozlabs.org/cover/1116097/ ("fastboot: Support
new A/B slot format")

Thanks,
Eugeniu,
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-06-14 Thread Marek Vasut
Assorted gadget fixes.

The following changes since commit c2ea87883ef309570c8903e6de4b8b78685d73d0:

  Merge tag 'efi-2019-07-rc5' of git://git.denx.de/u-boot-efi
(2019-06-12 07:15:38 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 220f655176de8e6aa4aaea91bb2182260d26c4a4:

  fastboot: Check if partition really exist in getvar_has_slot()
(2019-06-14 12:39:54 +0200)


Igor Opaniuk (1):
  fastboot: Check if partition really exist in getvar_has_slot()

Marek Vasut (1):
  spl: dfu: Fix printed variable name

Sam Protsenko (3):
  fastboot: Fix slot names reported by getvar
  fastboot: Use const qualifier for char *part_name
  fastboot: getvar: Refactor fastboot_*_get_part_info() usage

Sjoerd Simons (1):
  usb: gadget: error out if g_dnl registration fails

 cmd/usb_gadget_sdp.c |  11 ---
 common/spl/spl_dfu.c |   2 +-
 common/spl/spl_sdp.c |   6 +-
 drivers/fastboot/fb_getvar.c | 103
+++
 drivers/fastboot/fb_mmc.c|   3 ++-
 drivers/fastboot/fb_nand.c   |   4 ++--
 include/fb_mmc.h |   3 ++-
 include/fb_nand.h|   4 ++--
 8 files changed, 101 insertions(+), 35 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-05-04 Thread Tom Rini
On Fri, May 03, 2019 at 05:15:30PM +0200, Marek Vasut wrote:

> The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f:
> 
>   Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx
> (2019-05-01 07:25:51 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to ff83e4c368f0155617e813d275d88192f05131e1:
> 
>   ARM: davinci: Remove unused functions from header (2019-05-03 17:14:49
> +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-05-03 Thread Marek Vasut
The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f:

  Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx
(2019-05-01 07:25:51 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to ff83e4c368f0155617e813d275d88192f05131e1:

  ARM: davinci: Remove unused functions from header (2019-05-03 17:14:49
+0200)


Adam Ford (2):
  usb: ohci: Re-enable commented out delay
  ARM: davinci: Remove unused functions from header

 arch/arm/mach-davinci/include/mach/da8xx-usb.h | 3 ---
 drivers/usb/host/ohci-hcd.c| 2 --
 2 files changed, 5 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-04-22 Thread Tom Rini
On Sun, Apr 21, 2019 at 09:39:25PM +0200, Marek Vasut wrote:

> The following changes since commit 1f4ae66eaab29bfb5d1eb44996f7826c9cd01ed1:
> 
>   Merge tag 'arc-for-2019.07' of git://git.denx.de/u-boot-arc
> (2019-04-18 12:12:16 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 7fd9f31c6bd13609da61b985cf8f5f65ebebd913:
> 
>   usb: dwc2: fix gadget disconnect (2019-04-21 10:26:52 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-04-21 Thread Marek Vasut
The following changes since commit 1f4ae66eaab29bfb5d1eb44996f7826c9cd01ed1:

  Merge tag 'arc-for-2019.07' of git://git.denx.de/u-boot-arc
(2019-04-18 12:12:16 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 7fd9f31c6bd13609da61b985cf8f5f65ebebd913:

  usb: dwc2: fix gadget disconnect (2019-04-21 10:26:52 +0200)


Alex Kiernan (3):
  configs: Migrate USB_MUSB_DISABLE_BULK_COMBINE_SPLIT to Kconfig
  usb: Select USB_MUSB_DSPS with USB_MUSB_TI
  fastboot: Replace literal 32 with PART_NAME_LEN

Andy Shevchenko (1):
  dfu: Avoid declaring unused variables and absent parameters

Eugeniu Rosca (3):
  fastboot: getvar: correct/rename "has_slot" to "has-slot"
  fastboot: Improve error reporting on 'getvar partition-{size, type}'
  fastboot: add support for 'getvar platform'

Fabrice Gasnier (1):
  usb: dwc2: fix gadget disconnect

Patrice Chotard (1):
  usb: dwc2_udc_otg: Add tx_fifo_sz array support

Patrick Delaunay (16):
  phy: usbphyc: remove unused variable index
  phy: usbphyc: update xlate with DT binding
  phy: usbphyc: Binding update of vdda supply
  phy: usbphyc: move vdda1v1 and vdda1v8 in phy_init
  phy: usbphyc: increase PLL wait timeout
  usb: dwc2: remove unused variable regs_otg
  usb: dwc2: convert driver to DM_USB_GADGET
  usb: dwc2: force reset assert before to probe the driver
  usb: dwc2: Add force-b-session-valid support
  usb: dwc2: Add function for session B check
  usb: dwc2_udc_otg: Read MAX_HW_ENDPOINT from HWCFG4 register
  usb: dwc2: add support for STM32MP1
  stm32mp1: remove CONFIG_USB_DWC2, HOST support for USBO
  stm32mp1: migrate USBOTG device to driver model
  stm32mp1: add stusb1600 support for DK1 and DK2 board
  usb: reload watchdog during ums command

 arch/arm/dts/stm32mp157-pinctrl.dtsi   |   7 +++
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi   |   3 +-
 arch/arm/dts/stm32mp157a-dk1.dts   |  34 +++-
 arch/arm/dts/stm32mp157c-ed1.dts   |   8 ---
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi   |   1 +
 arch/arm/dts/stm32mp157c.dtsi  |   5 +-
 board/st/stm32mp1/stm32mp1.c   | 185
++---
 cmd/dfu.c  |   3 ++
 cmd/usb_mass_storage.c |   3 ++
 configs/am335x_boneblack_vboot_defconfig   |   1 -
 configs/am335x_evm_defconfig   |   1 -
 configs/am335x_hs_evm_defconfig|   1 -
 configs/am335x_hs_evm_uart_defconfig   |   1 -
 configs/brppt1_mmc_defconfig   |   1 -
 configs/brppt1_nand_defconfig  |   1 -
 configs/brppt1_spi_defconfig   |   1 -
 configs/chiliboard_defconfig   |   1 -
 configs/stm32mp15_basic_defconfig  |   2 +-
 configs/stm32mp15_trusted_defconfig|   2 +-
 doc/device-tree-bindings/phy/phy-stm32-usbphyc.txt |   4 +-
 doc/device-tree-bindings/usb/dwc2.txt  |  58
+
 drivers/fastboot/fb_getvar.c   |  16 +-
 drivers/fastboot/fb_mmc.c  |  10 ++--
 drivers/phy/phy-stm32-usbphyc.c| 111
---
 drivers/usb/gadget/dwc2_udc_otg.c  | 388
+---
 drivers/usb/gadget/dwc2_udc_otg_priv.h |   1 -
 drivers/usb/gadget/dwc2_udc_otg_regs.h |  37 ++---
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c |  14 -
 drivers/usb/musb-new/Kconfig   |  10 
 include/configs/am335x_evm.h   |   1 -
 include/configs/baltos.h   |   1 -
 include/configs/bav335x.h  |   1 -
 include/configs/brppt1.h   |   3 --
 include/configs/brxre1.h   |   3 --
 include/configs/chiliboard.h   |   1 -
 include/configs/pengwyn.h  |   1 -
 include/configs/siemens-am33x-common.h |   2 -
 include/usb/dwc2_udc.h |   7 +++
 scripts/config_whitelist.txt   |   1 -
 39 files changed, 680 insertions(+), 251 deletions(-)
 create mode 100644 doc/device-tree-bindings/usb/dwc2.txt
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-04-11 Thread Tom Rini
On Wed, Apr 10, 2019 at 04:45:43PM +0200, Marek Vasut wrote:

> The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066:
> 
>   Prepare v2019.04 (2019-04-08 21:40:40 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 69535b33bc1fce43dcc10b646cf44db81cffa131:
> 
>   usb: ehci-mx6: Use common code to extract dr_mode (2019-04-09 13:11:45
> +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-04-10 Thread Marek Vasut
The following changes since commit 3c99166441bf3ea325af2da83cfe65430b49c066:

  Prepare v2019.04 (2019-04-08 21:40:40 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 69535b33bc1fce43dcc10b646cf44db81cffa131:

  usb: ehci-mx6: Use common code to extract dr_mode (2019-04-09 13:11:45
+0200)


Adam Ford (1):
  usb: ehci-mx6: Use common code to extract dr_mode

Ismael Luceno Cortes (2):
  usb: host: Print device name when scanning
  usb: Make portspeed return a read-only string

 cmd/usb.c | 18 +-
 common/usb_hub.c  | 18 +-
 drivers/usb/host/ehci-mx6.c   | 29 +++--
 drivers/usb/host/usb-uclass.c | 12 
 4 files changed, 29 insertions(+), 48 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-04-06 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:48:46PM +0200, Marek Vasut wrote:

> The following changes since commit bcd40c347d2c983625065ec70e9e9e1f98b42baf:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-04-01
> 12:31:22 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 2a766db11a7e3129db0c893a43661ed7ee944c55:
> 
>   doc: Fix outdated ohci board hook documentation (2019-04-02 12:52:54
> +0200)
> 

Applied (a while ago, but I don't see my own email) to u-boot/master,
thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-04-03 Thread Marek Vasut
The following changes since commit bcd40c347d2c983625065ec70e9e9e1f98b42baf:

  Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-04-01
12:31:22 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 2a766db11a7e3129db0c893a43661ed7ee944c55:

  doc: Fix outdated ohci board hook documentation (2019-04-02 12:52:54
+0200)


Krzysztof Kozlowski (1):
  doc: Fix outdated ohci board hook documentation

 doc/README.generic_usb_ohci | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-03-19 Thread Tom Rini
On Mon, Mar 18, 2019 at 04:08:18AM +0100, Marek Vasut wrote:

> The following changes since commit 9659eb46af6249b6e4b3712e60a1eb2e87fc48a1:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-03-14
> 11:37:11 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to f402d268e8e17e9d6d1d9bf8a8b1f6e0b07718ef:
> 
>   fastboot: common: fix default fastboot_boot on 64-bit (2019-03-16
> 13:29:43 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-03-17 Thread Marek Vasut
The following changes since commit 9659eb46af6249b6e4b3712e60a1eb2e87fc48a1:

  Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-03-14
11:37:11 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to f402d268e8e17e9d6d1d9bf8a8b1f6e0b07718ef:

  fastboot: common: fix default fastboot_boot on 64-bit (2019-03-16
13:29:43 +0100)


Jean-Jacques Hiblot (1):
  usb: udc-uclass: Fixed problem when no alias is defined in DT

Neil Armstrong (1):
  fastboot: common: fix default fastboot_boot on 64-bit

Sean Nyekjaer (1):
  cmd: fastboot: handle watchdog while waiting for fastboot commands.

 cmd/fastboot.c  | 2 ++
 drivers/fastboot/fb_common.c| 2 +-
 drivers/usb/gadget/udc/udc-uclass.c | 7 +--
 3 files changed, 8 insertions(+), 3 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2019-01-12 Thread Tom Rini
On Fri, Jan 11, 2019 at 03:51:17PM +0100, Marek Vasut wrote:

> UDC fixes below, this is for coming 2019.01 release.
> There's a lot of churn, however most are just renames.
> 
> The following changes since commit 54707a942009fae083dd78b58ff057127ba0e900:
> 
>   Prepare v2019.01-rc3 (2019-01-07 22:58:17 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to b3c518a88278619b1e109de114c450237d03e032:
> 
>   dm: usb: gadget: Fix boot breakage on sunxi platforms (2019-01-10
> 18:53:03 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2019-01-11 Thread Marek Vasut
UDC fixes below, this is for coming 2019.01 release.
There's a lot of churn, however most are just renames.

The following changes since commit 54707a942009fae083dd78b58ff057127ba0e900:

  Prepare v2019.01-rc3 (2019-01-07 22:58:17 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to b3c518a88278619b1e109de114c450237d03e032:

  dm: usb: gadget: Fix boot breakage on sunxi platforms (2019-01-10
18:53:03 +0100)


Jean-Jacques Hiblot (5):
  dm: usb: udc: Use SEQ_ALIAS to index the USB gadget ports
  ARM: dts: define USB aliases for all omap5 platforms
  Kconfig: rename CONFIG_SPL_USB_GADGET_SUPPORT as CONFIG_SPL_USB_GADGET
  usb: Make compiling gadget support optional
  dm: usb: gadget: Fix boot breakage on sunxi platforms

Ye Li (1):
  usb: xhci-mem: Fix scratchpad array issue

 Makefile | 4 ++--
 arch/arm/dts/omap5-u-boot.dtsi   | 5 +
 arch/arm/mach-imx/mx6/Kconfig| 2 +-
 arch/arm/mach-imx/spl.c  | 2 +-
 common/spl/Kconfig   | 4 ++--
 configs/am335x_boneblack_vboot_defconfig | 2 +-
 configs/am335x_evm_usbspl_defconfig  | 2 +-
 configs/am43xx_evm_defconfig | 2 +-
 configs/am43xx_hs_evm_defconfig  | 2 +-
 configs/apalis_imx6_defconfig| 2 +-
 configs/cm_t3517_defconfig   | 1 +
 configs/cm_t35_defconfig | 1 +
 configs/colibri_imx6_defconfig   | 2 +-
 configs/display5_factory_defconfig   | 2 +-
 configs/duovero_defconfig| 1 +
 configs/igep0032_defconfig   | 1 +
 configs/igep00x0_defconfig   | 1 +
 configs/imx6q_logic_defconfig| 2 +-
 configs/mx6memcal_defconfig  | 2 +-
 configs/mx6sabresd_defconfig | 2 +-
 configs/omap3_zoom1_defconfig| 1 +
 configs/omap4_panda_defconfig| 1 +
 configs/omap4_sdp4430_defconfig  | 1 +
 configs/pico-hobbit-imx6ul_defconfig | 2 +-
 configs/pico-hobbit-imx7d_defconfig  | 2 +-
 configs/pico-imx6ul_defconfig| 2 +-
 configs/pico-imx7d_defconfig | 2 +-
 configs/pico-pi-imx6ul_defconfig | 2 +-
 configs/pico-pi-imx7d_defconfig  | 2 +-
 configs/spear300_usbtty_defconfig| 2 ++
 configs/spear300_usbtty_nand_defconfig   | 2 ++
 configs/spear310_usbtty_defconfig| 2 ++
 configs/spear310_usbtty_nand_defconfig   | 2 ++
 configs/spear310_usbtty_pnor_defconfig   | 2 ++
 configs/spear320_usbtty_defconfig| 2 ++
 configs/spear320_usbtty_nand_defconfig   | 2 ++
 configs/spear320_usbtty_pnor_defconfig   | 2 ++
 configs/spear600_usbtty_defconfig| 2 ++
 configs/spear600_usbtty_nand_defconfig   | 2 ++
 drivers/Makefile | 6 +++---
 drivers/usb/gadget/Makefile  | 2 +-
 drivers/usb/gadget/udc/Makefile  | 3 ++-
 drivers/usb/gadget/udc/udc-uclass.c  | 7 +--
 drivers/usb/host/xhci-mem.c  | 3 +++
 scripts/Makefile.spl | 2 +-
 45 files changed, 70 insertions(+), 30 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-12-17 Thread Tom Rini
On Sat, Dec 15, 2018 at 07:31:44PM +0100, Marek Vasut wrote:

> As much as I hate sending so many patches after RC, apparently this is
> second half of USB gadget DM conversion, so be it.
> 
> The following changes since commit d117d8f19b0625f88309e47a8a32c2faa384dddc:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-12-13
> 09:36:55 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 46a3f276549f3e5720b6e80278cda354c7fa859f:
> 
>   usb: musb-new: sunxi: Fix null pointer access (2018-12-14 17:59:10 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-12-15 Thread Marek Vasut
As much as I hate sending so many patches after RC, apparently this is
second half of USB gadget DM conversion, so be it.

The following changes since commit d117d8f19b0625f88309e47a8a32c2faa384dddc:

  Merge branch 'master' of git://git.denx.de/u-boot-i2c (2018-12-13
09:36:55 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 46a3f276549f3e5720b6e80278cda354c7fa859f:

  usb: musb-new: sunxi: Fix null pointer access (2018-12-14 17:59:10 +0100)


Adam Ford (2):
  usb: musb: Remove Legacy CONFIG_USB_DAVINCI
  usb: musb: Remove legacy CONFIG_USB_DA8XX

Jean-Jacques Hiblot (20):
  usb: dwc3-generic: make it compatible with "ti, keystone-dwc3"
  board: ks2_evm: Enable the USB clocks if DM_USB is used
  ARM: dts: k2g-evm: enable USB0 and USB1
  PHY: Add phy driver for the keystone USB PHY
  usb: host: replace xhci-keystone driver by the generic dwc3 driver
  configs: k2g_evm: Enable DFU on K2G EVM
  spl: drivers: Link usb common library to SPL if USB gadget is enabled
  spl: net: dm: usb: bind the gadget before attempting to load the image
  phy: omap_usb2: Add support for am437x
  dwc3-generic: Add support for the am437x
  board: ti: am43xx: turn on USB clocks
  dts: Add a u-boot specific dtsi file for the am4372
  dts: am4372: Enable USB1 in SPL
  configs: am43xx_evm: Enable DM_USB and DM_USB_GADGET
  configs: am43xx: Enable RNDIS support in SPL
  usb: musb-new: Allow the diver not to use the set_phy_power() callback
  usb: musb-new: Add support for DM_USB
  arm: am33xx: Register USB controllers if DM_USB is used but not
OF_CONTROL
  configs: am335x_evm: Do not disable DM_USB in SPL
  configs: am335x_boneblack_vboot: enable DM_USB and RNDIS boot in SPl

Lukasz Majewski (1):
  usb: composite: Move bitmap related operations to
./include/linux/bitmap.h

Martyn Welch (1):
  usb: Don't enable CONFIG_SPL_DM_USB for non-DM SPL

Petr Štetiar (1):
  usb: gadget: f_sdp: Provide filesize env variable for downloaded
images

Siva Durga Prasad Paladugu (1):
  usb: composite: Fix max packet size for USB3.0

Stefan Mavrodiev (1):
  usb: musb-new: sunxi: Fix null pointer access

 arch/arm/dts/am4372-generic-u-boot.dtsi  |   2 ++
 arch/arm/dts/am4372-u-boot.dtsi  |  40 +
 arch/arm/dts/am437x-gp-evm-u-boot.dtsi   |   2 ++
 arch/arm/dts/am437x-idk-evm-u-boot.dtsi  |   2 ++
 arch/arm/dts/am437x-sk-evm-u-boot.dtsi   |   2 ++
 arch/arm/dts/keystone-k2g-evm.dts|  28 +
 arch/arm/dts/keystone-k2g.dtsi   |  56
++
 arch/arm/include/asm/omap_musb.h |   8 +
 arch/arm/mach-omap2/am33xx/board.c   |  58
+++-
 board/ti/am43xx/board.c  |  22 ++
 board/ti/ks2_evm/board.c |  12 
 common/Makefile  |   3 ++
 common/spl/spl_net.c |   4 ++-
 configs/am335x_boneblack_vboot_defconfig |  10 +++
 configs/am43xx_evm_defconfig |  19 
 configs/k2e_evm_defconfig|   7 +
 configs/k2e_hs_evm_defconfig |   7 +
 configs/k2g_evm_defconfig|  12 
 configs/k2g_hs_evm_defconfig |  12 
 configs/k2hk_evm_defconfig   |   7 +
 configs/k2hk_hs_evm_defconfig|   7 +
 configs/k2l_evm_defconfig|   7 +
 configs/k2l_hs_evm_defconfig |   7 +
 drivers/Makefile |   1 +
 drivers/phy/Kconfig  |  10 +++
 drivers/phy/Makefile |   1 +
 drivers/phy/keystone-usb-phy.c   | 109
++
 drivers/phy/omap-usb2-phy.c  |  45 +---
 drivers/usb/Kconfig  |   2 +-
 drivers/usb/dwc3/dwc3-generic.c  |   2 ++
 drivers/usb/dwc3/gadget.c|   1 -
 drivers/usb/dwc3/ti_usb_phy.c|   1 -
 drivers/usb/eth/r8152.c  |   1 -
 drivers/usb/gadget/at91_udc.c|   1 -
 drivers/usb/gadget/atmel_usba_udc.c  |   1 -
 drivers/usb/gadget/composite.c   |  17 +--
 drivers/usb/gadget/dwc2_udc_otg.c|   1 -
 drivers/usb/gadget/dwc2_udc_otg_phy.c|   1 -
 drivers/usb/gadget/dwc2_udc_otg_priv.h   |   1 -
 drivers/usb/gadget/f_mass_storage.c  |   2 +-
 drivers/usb/gadget/f_sdp.c   |   5 
 drivers/usb/gadget/pxa25x_udc.c  |   1 -
 drivers/usb/host/Makefile|   1 -
 drivers/usb/host/xhci-keystone.c | 240
--
 driver

Re: [U-Boot] [PULL] u-boot-usb/master

2018-12-10 Thread Tom Rini
On Mon, Dec 10, 2018 at 05:51:36AM +0100, Marek Vasut wrote:

> DWC3 and UDC cleanup
> 
> The following changes since commit 57dbc151437b36cc1105857d222df28b095236d7:
> 
>   rockchip: rk3399: Add MAINTAINERS entry (2018-12-06 10:24:12 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 532ededd5cbff3d55e8c8e5b6377cec9e90f2152:
> 
>   board: ti: am57xx: remove USB platform code (2018-12-07 16:31:46 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-12-09 Thread Marek Vasut
DWC3 and UDC cleanup

The following changes since commit 57dbc151437b36cc1105857d222df28b095236d7:

  rockchip: rk3399: Add MAINTAINERS entry (2018-12-06 10:24:12 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 532ededd5cbff3d55e8c8e5b6377cec9e90f2152:

  board: ti: am57xx: remove USB platform code (2018-12-07 16:31:46 +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@4a08 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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-11-28 Thread Tom Rini
On Wed, Nov 28, 2018 at 01:21:53PM +0100, Marek Vasut wrote:
> On 11/28/2018 01:20 PM, Tom Rini wrote:
> > On Wed, Nov 28, 2018 at 11:54:26AM +0100, Marek Vasut wrote:
> >> On 11/28/2018 04:09 AM, Tom Rini wrote:
> >>> On Tue, Nov 27, 2018 at 06:40:30PM +0100, Marek Vasut wrote:
> >>>
>  The following changes since commit 
>  6b21502229035779059493b2193fd790448fe85e:
> 
>    Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)
> >>>
> >>> In the future, can you please include a short summary here if not using
> >>> a signed tag?  Thanks!
> >>
> >> Summary of what ?
> > 
> > The contents of your pull request.  Like in this case I did:
> > 
> > - Introduce CONFIG_SPL_DM_USB
> 
> Isn't that what the patch listing is for ?

No, it's not always as clear to me what's in every PR as it is for the
person assembling the PR.

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-11-28 Thread Marek Vasut
On 11/28/2018 01:20 PM, Tom Rini wrote:
> On Wed, Nov 28, 2018 at 11:54:26AM +0100, Marek Vasut wrote:
>> On 11/28/2018 04:09 AM, Tom Rini wrote:
>>> On Tue, Nov 27, 2018 at 06:40:30PM +0100, Marek Vasut wrote:
>>>
 The following changes since commit 
 6b21502229035779059493b2193fd790448fe85e:

   Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)
>>>
>>> In the future, can you please include a short summary here if not using
>>> a signed tag?  Thanks!
>>
>> Summary of what ?
> 
> The contents of your pull request.  Like in this case I did:
> 
> - Introduce CONFIG_SPL_DM_USB

Isn't that what the patch listing is for ?

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-11-28 Thread Tom Rini
On Wed, Nov 28, 2018 at 11:54:26AM +0100, Marek Vasut wrote:
> On 11/28/2018 04:09 AM, Tom Rini wrote:
> > On Tue, Nov 27, 2018 at 06:40:30PM +0100, Marek Vasut wrote:
> > 
> >> The following changes since commit 
> >> 6b21502229035779059493b2193fd790448fe85e:
> >>
> >>   Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)
> > 
> > In the future, can you please include a short summary here if not using
> > a signed tag?  Thanks!
> 
> Summary of what ?

The contents of your pull request.  Like in this case I did:

- Introduce CONFIG_SPL_DM_USB

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-11-28 Thread Marek Vasut
On 11/28/2018 04:09 AM, Tom Rini wrote:
> On Tue, Nov 27, 2018 at 06:40:30PM +0100, Marek Vasut wrote:
> 
>> The following changes since commit 6b21502229035779059493b2193fd790448fe85e:
>>
>>   Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)
> 
> In the future, can you please include a short summary here if not using
> a signed tag?  Thanks!

Summary of what ?

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-11-27 Thread Tom Rini
On Tue, Nov 27, 2018 at 06:40:30PM +0100, Marek Vasut wrote:

> The following changes since commit 6b21502229035779059493b2193fd790448fe85e:
> 
>   Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)

In the future, can you please include a short summary here if not using
a signed tag?  Thanks!

> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 1af9bfd334a5c92cb3123be7c8da3ba0f522cf4a:
> 
>   usb: storage: s/CONFIG_BLK/CONFIG_IS_ENABLED(BLK)/ (2018-11-26
> 21:19:04 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-11-27 Thread Marek Vasut
The following changes since commit 6b21502229035779059493b2193fd790448fe85e:

  Merge branch '2018-11-25-master-imports' (2018-11-26 12:40:22 -0500)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 1af9bfd334a5c92cb3123be7c8da3ba0f522cf4a:

  usb: storage: s/CONFIG_BLK/CONFIG_IS_ENABLED(BLK)/ (2018-11-26
21:19:04 +0100)


Sven Schwermer (5):
  usb: Introduce CONFIG_SPL_DM_USB
  usb: am335x_evm: Disable CONFIG_SPL_DM_USB
  usb: Remove CMD_USB dependency for common code
  usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/
  usb: storage: s/CONFIG_BLK/CONFIG_IS_ENABLED(BLK)/

 common/Makefile   |  2 +-
 common/usb.c  | 14 +++---
 common/usb_hub.c  | 16 
 common/usb_kbd.c  |  4 ++--
 common/usb_storage.c  | 34 +-
 configs/am335x_evm_defconfig  |  3 ++-
 drivers/usb/Kconfig   |  5 +
 drivers/usb/common/Makefile   |  2 +-
 drivers/usb/dwc3/core.c   |  2 +-
 drivers/usb/dwc3/core.h   |  2 +-
 drivers/usb/eth/usb_ether.c   |  2 +-
 drivers/usb/gadget/ci_udc.c   |  2 +-
 drivers/usb/gadget/ether.c|  8 
 drivers/usb/host/Makefile |  4 ++--
 drivers/usb/host/dwc2.c   | 12 ++--
 drivers/usb/host/ehci-atmel.c |  2 +-
 drivers/usb/host/ehci-fsl.c   | 12 ++--
 drivers/usb/host/ehci-hcd.c   | 12 ++--
 drivers/usb/host/ehci-marvell.c   |  4 ++--
 drivers/usb/host/ehci-mx6.c   |  2 +-
 drivers/usb/host/ehci-pci.c   |  8 
 drivers/usb/host/ehci-vf.c|  2 +-
 drivers/usb/host/ohci-hcd.c   | 10 +-
 drivers/usb/host/ohci.h   |  4 ++--
 drivers/usb/host/xhci-dwc3.c  |  2 +-
 drivers/usb/host/xhci-fsl.c   |  4 ++--
 drivers/usb/host/xhci-mem.c   |  6 +++---
 drivers/usb/host/xhci.c   | 12 ++--
 drivers/usb/host/xhci.h   |  2 +-
 drivers/usb/musb-new/musb_uboot.c | 12 ++--
 drivers/usb/musb-new/omap2430.c   |  4 ++--
 drivers/usb/musb-new/ti-musb.c|  4 ++--
 drivers/usb/musb-new/usb-compat.h |  2 +-
 include/usb.h | 12 ++--
 34 files changed, 117 insertions(+), 111 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-09-17 Thread Tom Rini
On Sat, Sep 15, 2018 at 9:13 PM, Marek Vasut  wrote:

> The following changes since commit ecb10a41c9adf2c499c3d19fff96a0
> 8bb9ad2aef:
>
>   Revert "ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL"
> (2018-09-14 13:52:15 -0400)
>
> are available in the Git repository at:
>
>   git://git.denx.de/u-boot-usb.git master
>
> for you to fetch changes up to 5c349e179db794eff99dd5d3bbac6845d173709e:
>
>   usb: ehci-generic: Add vbus-supply regulator support (2018-09-15
> 03:17:43 +0200)
>
> 
> Patrice Chotard (1):
>   usb: ehci-generic: Add vbus-supply regulator support
>
>  drivers/usb/host/ehci-generic.c | 62
> +-
>  1 file changed, 61 insertions(+), 1 deletion(-)
>

Applied to u-boot/master, thanks!

-- 
Tom
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-09-15 Thread Marek Vasut
The following changes since commit ecb10a41c9adf2c499c3d19fff96a08bb9ad2aef:

  Revert "ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL"
(2018-09-14 13:52:15 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 5c349e179db794eff99dd5d3bbac6845d173709e:

  usb: ehci-generic: Add vbus-supply regulator support (2018-09-15
03:17:43 +0200)


Patrice Chotard (1):
  usb: ehci-generic: Add vbus-supply regulator support

 drivers/usb/host/ehci-generic.c | 62
+-
 1 file changed, 61 insertions(+), 1 deletion(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-08-30 Thread Tom Rini
On Thu, Aug 30, 2018 at 03:35:19PM +0200, Marek Vasut wrote:

> The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437:
> 
>   configs: am57xx: change default board name to beagle_x15 (2018-08-26
> 12:26:16 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 88c34b8da62cfb4188ff9a59acb32f88ce9ed1b0:
> 
>   usb: dwc2: Add reset ctrl to driver (2018-08-29 03:10:30 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-08-30 Thread Marek Vasut
The following changes since commit 11ed312896c5f5814064c5d45dcb2f53dc121437:

  configs: am57xx: change default board name to beagle_x15 (2018-08-26
12:26:16 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 88c34b8da62cfb4188ff9a59acb32f88ce9ed1b0:

  usb: dwc2: Add reset ctrl to driver (2018-08-29 03:10:30 +0200)


Ley Foon Tan (1):
  usb: dwc2: Add reset ctrl to driver

Marek Vasut (3):
  phy: Fix warning due to missing definition of structure
  usb: ehci: Make the PHY handling generic
  usb: ehci: Add PHY support to ehci-pci

 drivers/usb/host/dwc2.c | 37 +
 drivers/usb/host/ehci-generic.c | 56
+++-
 drivers/usb/host/ehci-hcd.c | 66
++
 drivers/usb/host/ehci-pci.c | 31 +++
 drivers/usb/host/ehci.h |  5 +
 include/generic-phy.h   |  1 +
 6 files changed, 139 insertions(+), 57 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-08-25 Thread Tom Rini
On Fri, Aug 24, 2018 at 08:21:46PM +0200, Marek Vasut wrote:

> The following changes since commit 9f8cf76be256a83643ee05de6cffaeb452ed0931:
> 
>   Convert CONFIG_SYS_I2C_DAVINCI to Kconfig (2018-08-17 15:43:38 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 49c752c93a785b9bad9d3fbbd52a76bec003eac5:
> 
>   cmd: Add bind/unbind commands to bind a device to a driver from the
> command line (2018-08-21 16:21:37 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-08-24 Thread Marek Vasut
The following changes since commit 9f8cf76be256a83643ee05de6cffaeb452ed0931:

  Convert CONFIG_SYS_I2C_DAVINCI to Kconfig (2018-08-17 15:43:38 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 49c752c93a785b9bad9d3fbbd52a76bec003eac5:

  cmd: Add bind/unbind commands to bind a device to a driver from the
command line (2018-08-21 16:21:37 +0200)


Adam Ford (2):
  usb: musb-new: omap2430: Remove dead code
  usb: musb-new: omap2430: Enable DM_USB and OF support

Jean-Jacques Hiblot (7):
  usb: gadget: Add bcdDevice for the DWC3 USB Gadget Controller
  net: eth-uclass: Fix for DM USB ethernet support
  uclass: Add dev_get_uclass_index() to get the uclass/index of a device
  dm: print the index of the device when dumping the dm tree
  dm: convert device_get_global_by_of_offset() to
device_get_global_by_ofnode()
  device: expose the functions used to remove and unbind children of
a device
  cmd: Add bind/unbind commands to bind a device to a driver from
the command line

Sam Protsenko (1):
  cmd: fastboot: Validate user input

 arch/arm/mach-rockchip/rk3188-board-spl.c |   2 +-
 arch/arm/mach-rockchip/rk3288-board-spl.c |   2 +-
 arch/sandbox/dts/test.dts |  11 +++
 cmd/Kconfig   |   9 +++
 cmd/Makefile  |   1 +
 cmd/bind.c| 255
++
 cmd/fastboot.c|  13 +++-
 configs/sandbox_defconfig |   1 +
 drivers/core/device-remove.c  |  30 +++-
 drivers/core/device.c |  19 +++--
 drivers/core/dump.c   |  16 ++--
 drivers/core/uclass.c |  21 ++
 drivers/usb/gadget/gadget_chips.h |   2 +
 drivers/usb/musb-new/omap2430.c   | 596
+
 include/dm/device-internal.h  |  38 ++
 include/dm/device.h   |  23 +-
 include/dm/uclass-internal.h  |  11 +++
 net/eth-uclass.c  |   3 +-
 test/py/tests/test_bind.py| 178

 19 files changed, 712 insertions(+), 519 deletions(-)
 create mode 100644 cmd/bind.c
 create mode 100644 test/py/tests/test_bind.py
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-08-10 Thread Tom Rini
On Thu, Aug 09, 2018 at 09:29:58AM +0200, Marek Vasut wrote:

> The following changes since commit b1aad8dbe28415695b290726199681ced969c118:
> 
>   zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boards
> (2018-08-07 11:36:39 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 28a5c88043c80a38040abde957fbe1755b796912:
> 
>   dfu: Provide more verbose error message (2018-08-08 22:22:08 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-08-09 Thread Marek Vasut
The following changes since commit b1aad8dbe28415695b290726199681ced969c118:

  zynqmp: Add avnet_ultra96_rev1_defconfig to the lits of boards
(2018-08-07 11:36:39 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 28a5c88043c80a38040abde957fbe1755b796912:

  dfu: Provide more verbose error message (2018-08-08 22:22:08 +0200)


Alberto Panizzo (7):
  usb: rockchip: fix command failed on host side due to missing data
  usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command
  usb: rockchip: implement K_FW_LBA_READ_10 command
  usb: rockchip: implement K_FW_LBA_ERASE_10 command
  usb: rockchip: be quiet on serial port while transferring data
  usb: rockchip: fix printing csw debug info
  usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512
bytes

Sam Protsenko (3):
  dfu: Fix data abort in dfu_free_entities()
  dfu: Fix memory leak in dfu_init_env_entities()
  dfu: Provide more verbose error message

Seung-Woo Kim (1):
  gadget: f_thor: fix hang-up with ctrl-c

 arch/arm/include/asm/arch-rockchip/f_rockusb.h |   4 +++
 doc/README.rockusb |  11 --
 drivers/dfu/dfu.c  |  10 +++---
 drivers/usb/gadget/f_rockusb.c | 261
+++-
 drivers/usb/gadget/f_thor.c|   4 +--
 5 files changed, 257 insertions(+), 33 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-08-08 Thread Marek Vasut
On 07/27/2018 01:39 PM, Tom Rini wrote:
> On Fri, Jul 27, 2018 at 11:59:32AM +0200, Lukasz Majewski wrote:
>> On Thu, 26 Jul 2018 23:14:01 +0200
>> Marek Vasut  wrote:
>>
>>> On 07/26/2018 11:08 PM, Lukasz Majewski wrote:
 On Thu, 26 Jul 2018 21:25:02 +0200
 Marek Vasut  wrote:
   
> On 07/26/2018 05:14 PM, Tom Rini wrote:  
>> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
>> 
>>> The following changes since commit
>>> 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
>>>
>>>   mtd: nand: add new enum for storing ECC algorithm (2018-07-23
>>> 14:33:21 -0400)
>>>
>>> are available in the Git repository at:
>>>
>>>   git://git.denx.de/u-boot-usb.git master
>>>
>>> for you to fetch changes up to
>>> 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
>>>
>>>   usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
>>>
>>
>> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart
>> brppt1_spi brppt1_mmc am335x_evm brppt1_nand and stih410-b2260
>
> CCing the authors, I expect a patch.
>  

 Could you share how and where it breaks?

 I did standard Travis-CI build test on DFU PR.   
>>>
>>> I agree it'd be helpful if Tom shared more information than just
>>> "NAK", yes. Then again, did you try building one of those targets ?
>>>
>>
>> I did the Travis-CI run during the night of Marek's u-boot-usb branch.
> 
> When I pull -usb right now I see:
> Testing /tmp/am335x_hs_evm_uart
> Fri Jul 27 07:38:02 EDT 2018
> WARNING: no status info for 'pico-pi-imx7d'
> WARNING: no maintainers for 'pico-pi-imx7d'
> Building current source for 1 boards (1 thread, 16 jobs per thread)
>arm:  +   am335x_hs_evm_uart
> +(am335x_hs_evm_uart) drivers/usb/musb-new/ti-musb.c: In function 
> 'ti_musb_wrapper_bind':
> +(am335x_hs_evm_uart) drivers/usb/musb-new/ti-musb.c:221:29: error: 
> incompatible type for argument 1 of 'usb_get_dr_mode'
> +(am335x_hs_evm_uart)dr_mode = usb_get_dr_mode(node);
> +(am335x_hs_evm_uart)  ^~~~
> +(am335x_hs_evm_uart) In file included from 
> drivers/usb/musb-new/ti-musb.c:12:0:
> +(am335x_hs_evm_uart) include/linux/usb/otg.h:28:18: note: expected 'ofnode 
> {aka union ofnode_union}' but argument is of type 'int'
> +(am335x_hs_evm_uart)  enum usb_dr_mode usb_get_dr_mode(ofnode node);
> +(am335x_hs_evm_uart)   ^~~
> +(am335x_hs_evm_uart) make[2]: *** [drivers/usb/musb-new/ti-musb.o] Error 1
> +(am335x_hs_evm_uart) make[1]: *** [drivers/usb/musb-new] Error 2
> +(am335x_hs_evm_uart) make: *** [sub-make] Error 2
> 001 /1  am335x_hs_evm_uart
> 

Seems this is broken because of the patch from Vipul , and while we all
scramble to get this fixed, there is zero activity from Xilinx. So I'll
just drop that patch and resubmit the PR. It's a real disappointment...

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-27 Thread Patrice CHOTARD
Hi

On 07/26/2018 05:14 PM, Tom Rini wrote:
> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
> 
>> The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
>>
>>mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21
>> -0400)
>>
>> are available in the Git repository at:
>>
>>git://git.denx.de/u-boot-usb.git master
>>
>> for you to fetch changes up to 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
>>
>>usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
>>
> 
> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart brppt1_spi
> brppt1_mmc am335x_evm brppt1_nand and stih410-b2260

I can provide the fix for stih410-b2260.

Patrice

> 
> 
> 
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
> 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-27 Thread Tom Rini
On Fri, Jul 27, 2018 at 11:59:32AM +0200, Lukasz Majewski wrote:
> On Thu, 26 Jul 2018 23:14:01 +0200
> Marek Vasut  wrote:
> 
> > On 07/26/2018 11:08 PM, Lukasz Majewski wrote:
> > > On Thu, 26 Jul 2018 21:25:02 +0200
> > > Marek Vasut  wrote:
> > >   
> > >> On 07/26/2018 05:14 PM, Tom Rini wrote:  
> > >>> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
> > >>> 
> >  The following changes since commit
> >  323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
> > 
> >    mtd: nand: add new enum for storing ECC algorithm (2018-07-23
> >  14:33:21 -0400)
> > 
> >  are available in the Git repository at:
> > 
> >    git://git.denx.de/u-boot-usb.git master
> > 
> >  for you to fetch changes up to
> >  67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
> > 
> >    usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
> > 
> > >>>
> > >>> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart
> > >>> brppt1_spi brppt1_mmc am335x_evm brppt1_nand and stih410-b2260
> > >>
> > >> CCing the authors, I expect a patch.
> > >>  
> > > 
> > > Could you share how and where it breaks?
> > > 
> > > I did standard Travis-CI build test on DFU PR.   
> > 
> > I agree it'd be helpful if Tom shared more information than just
> > "NAK", yes. Then again, did you try building one of those targets ?
> > 
> 
> I did the Travis-CI run during the night of Marek's u-boot-usb branch.

When I pull -usb right now I see:
Testing /tmp/am335x_hs_evm_uart
Fri Jul 27 07:38:02 EDT 2018
WARNING: no status info for 'pico-pi-imx7d'
WARNING: no maintainers for 'pico-pi-imx7d'
Building current source for 1 boards (1 thread, 16 jobs per thread)
   arm:  +   am335x_hs_evm_uart
+(am335x_hs_evm_uart) drivers/usb/musb-new/ti-musb.c: In function 
'ti_musb_wrapper_bind':
+(am335x_hs_evm_uart) drivers/usb/musb-new/ti-musb.c:221:29: error: 
incompatible type for argument 1 of 'usb_get_dr_mode'
+(am335x_hs_evm_uart)dr_mode = usb_get_dr_mode(node);
+(am335x_hs_evm_uart)  ^~~~
+(am335x_hs_evm_uart) In file included from drivers/usb/musb-new/ti-musb.c:12:0:
+(am335x_hs_evm_uart) include/linux/usb/otg.h:28:18: note: expected 'ofnode 
{aka union ofnode_union}' but argument is of type 'int'
+(am335x_hs_evm_uart)  enum usb_dr_mode usb_get_dr_mode(ofnode node);
+(am335x_hs_evm_uart)   ^~~
+(am335x_hs_evm_uart) make[2]: *** [drivers/usb/musb-new/ti-musb.o] Error 1
+(am335x_hs_evm_uart) make[1]: *** [drivers/usb/musb-new] Error 2
+(am335x_hs_evm_uart) make: *** [sub-make] Error 2
001 /1  am335x_hs_evm_uart

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-27 Thread Lukasz Majewski
On Thu, 26 Jul 2018 23:14:01 +0200
Marek Vasut  wrote:

> On 07/26/2018 11:08 PM, Lukasz Majewski wrote:
> > On Thu, 26 Jul 2018 21:25:02 +0200
> > Marek Vasut  wrote:
> >   
> >> On 07/26/2018 05:14 PM, Tom Rini wrote:  
> >>> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
> >>> 
>  The following changes since commit
>  323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
> 
>    mtd: nand: add new enum for storing ECC algorithm (2018-07-23
>  14:33:21 -0400)
> 
>  are available in the Git repository at:
> 
>    git://git.denx.de/u-boot-usb.git master
> 
>  for you to fetch changes up to
>  67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
> 
>    usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
> 
> >>>
> >>> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart
> >>> brppt1_spi brppt1_mmc am335x_evm brppt1_nand and stih410-b2260
> >>
> >> CCing the authors, I expect a patch.
> >>  
> > 
> > Could you share how and where it breaks?
> > 
> > I did standard Travis-CI build test on DFU PR.   
> 
> I agree it'd be helpful if Tom shared more information than just
> "NAK", yes. Then again, did you try building one of those targets ?
> 

I did the Travis-CI run during the night of Marek's u-boot-usb branch.

https://travis-ci.org/lmajewski/u-boot-dfu/jobs/408692849

The problem seems now to be with x86 sandbox. However it seems not to
be related to USB:

Building current source for 29 boards (2 threads, 1 job per thread)
   x86:  +   theadorable-x86-conga-qa3-e3845
+Could not delete: No such file or directory
+mv: cannot stat ?board/congatec/conga-qeval20-qa3-e3845/dsdt.hex?: No
such file or directory +make[2]: ***
[board/congatec/conga-qeval20-qa3-e3845/dsdt.c] Error 1 +make[1]: ***
[board/congatec/conga-qeval20-qa3-e3845] Error 2


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-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de


pgpY1T2mie6Fq.pgp
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-26 Thread Marek Vasut
On 07/26/2018 11:08 PM, Lukasz Majewski wrote:
> On Thu, 26 Jul 2018 21:25:02 +0200
> Marek Vasut  wrote:
> 
>> On 07/26/2018 05:14 PM, Tom Rini wrote:
>>> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
>>>   
 The following changes since commit
 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:

   mtd: nand: add new enum for storing ECC algorithm (2018-07-23
 14:33:21 -0400)

 are available in the Git repository at:

   git://git.denx.de/u-boot-usb.git master

 for you to fetch changes up to
 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:

   usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
  
>>>
>>> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart
>>> brppt1_spi brppt1_mmc am335x_evm brppt1_nand and stih410-b2260  
>>
>> CCing the authors, I expect a patch.
>>
> 
> Could you share how and where it breaks?
> 
> I did standard Travis-CI build test on DFU PR. 

I agree it'd be helpful if Tom shared more information than just "NAK",
yes. Then again, did you try building one of those targets ?

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-26 Thread Lukasz Majewski
On Thu, 26 Jul 2018 21:25:02 +0200
Marek Vasut  wrote:

> On 07/26/2018 05:14 PM, Tom Rini wrote:
> > On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
> >   
> >> The following changes since commit
> >> 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
> >>
> >>   mtd: nand: add new enum for storing ECC algorithm (2018-07-23
> >> 14:33:21 -0400)
> >>
> >> are available in the Git repository at:
> >>
> >>   git://git.denx.de/u-boot-usb.git master
> >>
> >> for you to fetch changes up to
> >> 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
> >>
> >>   usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
> >>  
> > 
> > NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart
> > brppt1_spi brppt1_mmc am335x_evm brppt1_nand and stih410-b2260  
> 
> CCing the authors, I expect a patch.
> 

Could you share how and where it breaks?

I did standard Travis-CI build test on DFU PR. 




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-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de


pgplsr2cpYViT.pgp
Description: OpenPGP digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-26 Thread Marek Vasut
On 07/26/2018 05:14 PM, Tom Rini wrote:
> On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:
> 
>> The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
>>
>>   mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21
>> -0400)
>>
>> are available in the Git repository at:
>>
>>   git://git.denx.de/u-boot-usb.git master
>>
>> for you to fetch changes up to 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
>>
>>   usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
>>
> 
> NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart brppt1_spi
> brppt1_mmc am335x_evm brppt1_nand and stih410-b2260

CCing the authors, I expect a patch.

-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-26 Thread Tom Rini
On Thu, Jul 26, 2018 at 09:35:54AM +0200, Marek Vasut wrote:

> The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:
> 
>   mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21
> -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:
> 
>   usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)
> 

NAK.  This breaks at least: am335x_hs_evm am335x_hs_evm_uart brppt1_spi
brppt1_mmc am335x_evm brppt1_nand and stih410-b2260

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-07-26 Thread Marek Vasut
The following changes since commit 323a73adc9a1bf2de43fe03bdd9c3038ce7c2784:

  mtd: nand: add new enum for storing ECC algorithm (2018-07-23 14:33:21
-0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 67f1c59f40fde73cb2cbb51ebf0a05156ec403b7:

  usb: dwc3: convert to livetree (2018-07-25 00:13:44 +0200)


Alberto Panizzo (7):
  usb: rockchip: fix command failed on host side due to missing data
  usb: rockchip: implement skeleton for K_FW_GET_CHIP_VER command
  usb: rockchip: implement K_FW_LBA_READ_10 command
  usb: rockchip: implement K_FW_LBA_ERASE_10 command
  usb: rockchip: be quiet on serial port while transferring data
  usb: rockchip: fix printing csw debug info
  usb: rockchip: on K_FW_LBA_WRITE_10 remove magic block size of 512
bytes

Sam Protsenko (3):
  dfu: Fix data abort in dfu_free_entities()
  dfu: Fix memory leak in dfu_init_env_entities()
  dfu: Provide more verbose error message

Seung-Woo Kim (1):
  gadget: f_thor: fix hang-up with ctrl-c

Vipul Kumar (1):
  usb: dwc3: convert to livetree

 arch/arm/include/asm/arch-rockchip/f_rockusb.h |   4 +++
 doc/README.rockusb |  11 --
 drivers/dfu/dfu.c  |  10 +++---
 drivers/usb/common/common.c|  11 +++---
 drivers/usb/dwc3/dwc3-generic.c|  17 --
 drivers/usb/gadget/f_rockusb.c | 261
+++-
 drivers/usb/gadget/f_thor.c|   4 +--
 drivers/usb/host/xhci-dwc3.c   |   3 +-
 drivers/usb/host/xhci-zynqmp.c |   3 +-
 include/linux/usb/otg.h|   6 ++--
 10 files changed, 276 insertions(+), 54 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-06 Thread Tom Rini
On Fri, Jul 06, 2018 at 02:41:54PM +0200, Marek Vasut wrote:

> The following changes since commit 4ac5df4b41ba46d7e635bdd8d500721c642b0a0d:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2018-07-03
> 23:09:34 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 0bc846a769d43810af9e4622473b85ffaead3dea:
> 
>   sunxi: A64: OHCI: prevent turning off shared USB clock (2018-07-05
> 11:25:50 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-07-06 Thread Marek Vasut
The following changes since commit 4ac5df4b41ba46d7e635bdd8d500721c642b0a0d:

  Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2018-07-03
23:09:34 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 0bc846a769d43810af9e4622473b85ffaead3dea:

  sunxi: A64: OHCI: prevent turning off shared USB clock (2018-07-05
11:25:50 +0200)


Andre Przywara (1):
  sunxi: A64: OHCI: prevent turning off shared USB clock

Emmanuel Vadot (1):
  usb: dwc2: Add brcm,bcm2708-usb compatible

 drivers/usb/host/dwc2.c   |  1 +
 drivers/usb/host/ohci-sunxi.c | 19 ++-
 2 files changed, 19 insertions(+), 1 deletion(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-07-02 Thread Tom Rini
On Sat, Jun 30, 2018 at 08:51:09AM +0200, Marek Vasut wrote:

> The following changes since commit fb77a9e3537039664ad42992bef6688869eda7c1:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-spi (2018-06-28
> 09:04:41 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 9c22aec4102de0f0dc35e21772d9f21d4616c3d2:
> 
>   usb: sunxi: Use proper reg_mask for clock gate, reset (2018-06-29
> 10:52:18 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-06-30 Thread Marek Vasut
The following changes since commit fb77a9e3537039664ad42992bef6688869eda7c1:

  Merge branch 'master' of git://git.denx.de/u-boot-spi (2018-06-28
09:04:41 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 9c22aec4102de0f0dc35e21772d9f21d4616c3d2:

  usb: sunxi: Use proper reg_mask for clock gate, reset (2018-06-29
10:52:18 +0200)


Jagan Teki (2):
  sunxi: Fix USB PHY index for H3
  usb: sunxi: Use proper reg_mask for clock gate, reset

Vasily Khoruzhick (1):
  usb: sunxi: ohci: make ohci_t the first member in private data

Zeng Tao (1):
  usb: ohci: change the NUM_EDs from 8 to 32

 arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +++---
 arch/arm/include/asm/arch-sunxi/cpu_sun4i.h   |  9 +
 drivers/usb/host/ehci-sunxi.c |  8 ++--
 drivers/usb/host/ohci-sunxi.c | 12 
 drivers/usb/host/ohci.h   |  2 +-
 5 files changed, 27 insertions(+), 14 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-06-17 Thread Tom Rini
On Sat, Jun 16, 2018 at 02:12:30AM +0200, Marek Vasut wrote:

> The following changes since commit 7868909ed53ed41a945f7ed95ebb88aa252142ce:
> 
>   Merge git://git.denx.de/u-boot-fsl-qoriq (2018-06-12 13:25:24 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to b9f34757db5dcde9ccfa6ce35705b025bc4843fc:
> 
>   usb: sunxi: access ahb_reset0_cfg in CCM using its offset (2018-06-14
> 12:57:19 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-06-15 Thread Marek Vasut
The following changes since commit 7868909ed53ed41a945f7ed95ebb88aa252142ce:

  Merge git://git.denx.de/u-boot-fsl-qoriq (2018-06-12 13:25:24 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to b9f34757db5dcde9ccfa6ce35705b025bc4843fc:

  usb: sunxi: access ahb_reset0_cfg in CCM using its offset (2018-06-14
12:57:19 +0200)


Vasily Khoruzhick (5):
  sunxi: clock: Fix EHCI and OHCI clocks on A64
  usb: sunxi: ehci: get rid of ifdefs
  usb: sunxi: ohci: get rid of ifdefs
  usb: sunxi: sun50i: enable OHCI0 clock when OHCI1 is in use
  usb: sunxi: access ahb_reset0_cfg in CCM using its offset

 arch/arm/include/asm/arch-sunxi/clock_sun6i.h |   6 --
 drivers/usb/host/ehci-sunxi.c |  98
++
 drivers/usb/host/ohci-sunxi.c | 109
-
 3 files changed, 170 insertions(+), 43 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-06-01 Thread Tom Rini
On Thu, May 31, 2018 at 08:06:20PM +0200, Marek Vasut wrote:

> The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7:
> 
>   add FIT data-position & data-offset property support (2018-05-26
> 18:19:19 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 277b1333b780acd8ddb761c9160c06ffdf1c3901:
> 
>   fastboot: Update fastboot documentation (2018-05-30 11:59:21 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-05-31 Thread Marek Vasut
The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7:

  add FIT data-position & data-offset property support (2018-05-26
18:19:19 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 277b1333b780acd8ddb761c9160c06ffdf1c3901:

  fastboot: Update fastboot documentation (2018-05-30 11:59:21 +0200)


Alex Kiernan (18):
  fastboot: Move fastboot to drivers/fastboot
  fastboot: Refactor fastboot_okay/fail to take response
  fastboot: Extract fastboot_okay/fail to fb_common.c
  fastboot: Correct dependencies in FASTBOOT_FLASH
  fastboot: Add missing newlines
  fastboot: Remove FIXME for CONFIG_FASTBOOT_...NAME
  fastboot: Fix parameter types in _fb_nand_write
  fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag
  fastboot: Extract common definitions from USB fastboot
  fastboot: Rename public fb_ functions to fastboot_
  ti: fastboot: Move weak overrides to board files
  fs: Add fs_get_type_name to return current filesystem name
  fastboot: Migrate FASTBOOT_FLASH_NAND_TRIMFFS to Kconfig
  mmc: Separate "mmc swrite" from fastboot
  net: fastboot: Merge AOSP UDP fastboot
  fastboot: Add support for 'oem format' command
  usb: fastboot: Convert USB f_fastboot to shared fastboot
  fastboot: Update fastboot documentation

Bin Meng (4):
  usb: xhci: Set accurate add context flags when updating hub attributes
  usb: xhci: Initialize dev_state to 0 in the input slot context
  usb: xhci: Fix config fail of FS hub behind a HS hub with MTT
  usb: xhci: Handle endianness in xhci_set_configuration()

Matthias Blankertz (1):
  usb: xhci-rcar: deregister before deactivating clock

Philipp Tomsich (1):
  rockchip: xhci: remove DTS parsing for PHY (which is unused)

Seung-Woo Kim (1):
  gadget: f_thor: Fix memory leaks of usb request and its buffer

 arch/arm/Kconfig |   2 -
 arch/arm/mach-omap2/boot-common.c|  10 
 arch/arm/mach-omap2/utils.c  |   4 +-
 arch/arm/mach-rockchip/rk3128-board.c|   4 +-
 arch/arm/mach-rockchip/rk322x-board.c|   4 +-
 board/amazon/kc1/kc1.c   |   2 +-
 board/lg/sniper/sniper.c |   2 +-
 board/ti/am57xx/board.c  |  10 
 board/ti/common/Kconfig  |   1 -
 board/ti/dra7xx/evm.c|  10 
 cmd/Kconfig  |  22 -
 cmd/fastboot.c   |  91
++--
 cmd/mmc.c|  14 +++---
 common/Makefile  |  14 --
 configs/A13-OLinuXino_defconfig  |   1 +
 configs/A20-OLinuXino-Lime2-eMMC_defconfig   |   1 +
 configs/A20-OLinuXino-Lime2_defconfig|   1 +
 configs/A20-Olimex-SOM204-EVB-eMMC_defconfig |   1 +
 configs/A20-Olimex-SOM204-EVB_defconfig  |   1 +
 configs/Bananapi_m2m_defconfig   |   1 +
 configs/Cubietruck_defconfig |   1 +
 configs/Sinlinx_SinA33_defconfig |   1 +
 configs/am335x_boneblack_defconfig   |   7 +--
 configs/am335x_boneblack_vboot_defconfig |   2 +-
 configs/am335x_evm_defconfig |   2 +-
 configs/am335x_evm_nor_defconfig |   2 +-
 configs/am335x_evm_norboot_defconfig |   2 +-
 configs/am335x_evm_spiboot_defconfig |   2 +-
 configs/am335x_evm_usbspl_defconfig  |   2 +-
 configs/am57xx_evm_defconfig |  13 +++---
 configs/am57xx_hs_evm_defconfig  |  13 +++---
 configs/bcm23550_w1d_defconfig   |   2 +-
 configs/bcm28155_ap_defconfig|   2 +-
 configs/birdland_bav335a_defconfig   |   2 +-
 configs/birdland_bav335b_defconfig   |   2 +-
 configs/cgtqmx6eval_defconfig|   2 +-
 configs/chromebit_mickey_defconfig   |   5 +-
 configs/chromebook_jerry_defconfig   |   5 +-
 configs/chromebook_minnie_defconfig  |   5 +-
 configs/dra7xx_evm_defconfig |  11 +++--
 configs/dra7xx_hs_evm_defconfig  |  11 +++--
 configs/evb-rk3036_defconfig |   5 +-
 configs/evb-rk3128_defconfig |   9 ++--
 configs/evb-rk3229_defconfig |   5 +-
 configs/evb-rk3288_defconfig |   5 +-
 configs/evb-rk3328_defconfig |   7 +--
 configs/fennec-rk3288_defconfig  |   5 +-
 configs/firefly-rk3288_defconfig |   5 +-
 configs/imx6dl_mamoj_defconfig   |   2 +-
 configs/kc1_defco

Re: [U-Boot] [PULL] u-boot-usb/master

2018-05-20 Thread Tom Rini
On Sun, May 20, 2018 at 12:06:00PM +0200, Marek Vasut wrote:

> The following changes since commit 233719cc40b5a00f37949d4173c190edcb4491a1:
> 
>   Merge git://www.denx.de/git/u-boot-marvell (2018-05-17 12:38:30 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 0ad3f771b69c0db837f40f6ffd5d41915fc07095:
> 
>   drivers: usb: dwc3: remove devm_zalloc from linux_compact (2018-05-18
> 13:37:02 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-05-20 Thread Marek Vasut
The following changes since commit 233719cc40b5a00f37949d4173c190edcb4491a1:

  Merge git://www.denx.de/git/u-boot-marvell (2018-05-17 12:38:30 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 0ad3f771b69c0db837f40f6ffd5d41915fc07095:

  drivers: usb: dwc3: remove devm_zalloc from linux_compact (2018-05-18
13:37:02 +0200)


Michal Simek (4):
  usb: dwc3: Add generic DWC3 glue logic driver
  usb: xhci: zynqmp: Add support for DM_USB
  arm64: zynqmp: Use DWC3 generic driver and DM_USB
  usb: xhci: zynqmp: Remove support for !DM_USB

Mugunthan V N (3):
  usb: dwc3: Add dwc3_init/remove with DM_USB
  usb: common: add support to get maximum speed from dt
  drivers: usb: dwc3: remove devm_zalloc from linux_compact

Patrice Chotard (1):
  phy: add support for STM32 usb phy controller

Seung-Woo Kim (2):
  gadget: f_thor: fix filename overflow
  gadget: f_thor: update to support more than 4GB file as thor 5.0

 Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.txt |  73
+++
 arch/arm/include/asm/arch-zynqmp/hardware.h |   3 -
 board/xilinx/zynqmp/zynqmp.c|  46
---
 configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig|   1 +
 configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig|   1 +
 configs/xilinx_zynqmp_zc1751_xm017_dc3_defconfig|   1 +
 configs/xilinx_zynqmp_zcu100_revC_defconfig |   1 +
 configs/xilinx_zynqmp_zcu102_rev1_0_defconfig   |   1 +
 configs/xilinx_zynqmp_zcu102_revA_defconfig |   1 +
 configs/xilinx_zynqmp_zcu102_revB_defconfig |   1 +
 configs/xilinx_zynqmp_zcu104_revA_defconfig |   1 +
 configs/xilinx_zynqmp_zcu104_revC_defconfig |   1 +
 configs/xilinx_zynqmp_zcu106_revA_defconfig |   1 +
 configs/xilinx_zynqmp_zcu111_revA_defconfig |   1 +
 drivers/phy/Kconfig |  13 +
 drivers/phy/Makefile|   1 +
 drivers/phy/phy-stm32-usbphyc.c | 402
+++
 drivers/usb/common/common.c |  29
++
 drivers/usb/dwc3/Kconfig|   6 ++
 drivers/usb/dwc3/Makefile   |   1 +
 drivers/usb/dwc3/core.c |  62
+++-
 drivers/usb/dwc3/core.h |   6 ++
 drivers/usb/dwc3/dwc3-generic.c | 157
++
 drivers/usb/dwc3/dwc3-omap.c|   3 +-
 drivers/usb/dwc3/gadget.c   |   2 +-
 drivers/usb/dwc3/linux-compat.h |   5 --
 drivers/usb/dwc3/ti_usb_phy.c   |   1 +
 drivers/usb/gadget/f_thor.c |  13 +++--
 drivers/usb/gadget/f_thor.h |   2 +-
 drivers/usb/host/Kconfig|   1 +
 drivers/usb/host/xhci-zynqmp.c  |  85
+--
 include/configs/xilinx_zynqmp_zc1751_xm015_dc1.h|   1 -
 include/configs/xilinx_zynqmp_zc1751_xm016_dc2.h|   2 -
 include/configs/xilinx_zynqmp_zc1751_xm017_dc3.h|   3 -
 include/configs/xilinx_zynqmp_zcu100.h  |   3 -
 include/configs/xilinx_zynqmp_zcu102.h  |   2 -
 include/configs/xilinx_zynqmp_zcu104.h  |   2 -
 include/configs/xilinx_zynqmp_zcu106.h  |   2 -
 include/configs/xilinx_zynqmp_zcu111.h  |   2 -
 include/linux/usb/otg.h |   9 +++
 scripts/config_whitelist.txt|   1 -
 41 files changed, 837 insertions(+), 112 deletions(-)
 create mode 100644
Documentation/devicetree/bindings/phy/phy-stm32-usbphyc.txt
 create mode 100644 drivers/phy/phy-stm32-usbphyc.c
 create mode 100644 drivers/usb/dwc3/dwc3-generic.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-05-04 Thread Tom Rini
On Thu, May 03, 2018 at 01:50:23AM +0200, Marek Vasut wrote:

> The following changes since commit b25f8e2112b1582ce6386e846800a31bab688e50:
> 
>   Merge git://git.denx.de/u-boot-imx (2018-04-30 07:14:05 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 48cdfa2f8177dbdfc77c365c0f3f918ceadbe484:
> 
>   usb: f_mass_storage: simplify logical expression (2018-04-30 19:38:09
> +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-05-02 Thread Marek Vasut
The following changes since commit b25f8e2112b1582ce6386e846800a31bab688e50:

  Merge git://git.denx.de/u-boot-imx (2018-04-30 07:14:05 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 48cdfa2f8177dbdfc77c365c0f3f918ceadbe484:

  usb: f_mass_storage: simplify logical expression (2018-04-30 19:38:09
+0200)


Heinrich Schuchardt (2):
  usb: gadget: remove duplicate assignment.
  usb: f_mass_storage: simplify logical expression

 drivers/usb/gadget/composite.c  | 2 +-
 drivers/usb/gadget/f_mass_storage.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-04-27 Thread Tom Rini
On Fri, Apr 27, 2018 at 01:12:14AM +0200, Marek Vasut wrote:

> The following changes since commit a61f9d1fbbca3c5e59b907ad3071db70ef174872:
> 
>   Merge git://git.denx.de/u-boot-spi (2018-04-25 20:50:28 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to d57ed4d9f2cb6abc9438104f321b4fe3bc829d57:
> 
>   usb: gadget: composite: fix NULL pointer when a non standard request
> is received (2018-04-26 15:15:07 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-04-26 Thread Marek Vasut
The following changes since commit a61f9d1fbbca3c5e59b907ad3071db70ef174872:

  Merge git://git.denx.de/u-boot-spi (2018-04-25 20:50:28 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to d57ed4d9f2cb6abc9438104f321b4fe3bc829d57:

  usb: gadget: composite: fix NULL pointer when a non standard request
is received (2018-04-26 15:15:07 +0200)


Christophe Kerello (1):
  usb: gadget: composite: fix NULL pointer when a non standard
request is received

Neil Armstrong (1):
  usb: host: dwc3: fix phys init

 drivers/usb/gadget/composite.c |  5 -
 drivers/usb/host/xhci-dwc3.c   | 23 +--
 2 files changed, 17 insertions(+), 11 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-04-22 Thread Tom Rini
On Sun, Apr 22, 2018 at 05:29:46AM +0200, Marek Vasut wrote:

> The following changes since commit a35747b5e1261adfb27ab87575dea4b17e247da2:
> 
>   Merge git://git.denx.de/u-boot-uniphier (2018-04-18 16:24:26 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 38276090ee7fda6b31cac638d8c5f4fb61f57b0b:
> 
>   usb: dwc3-of-simple: fix error check of clk_get_bulk when disabled
> (2018-04-21 18:38:56 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-04-21 Thread Marek Vasut
The following changes since commit a35747b5e1261adfb27ab87575dea4b17e247da2:

  Merge git://git.denx.de/u-boot-uniphier (2018-04-18 16:24:26 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 38276090ee7fda6b31cac638d8c5f4fb61f57b0b:

  usb: dwc3-of-simple: fix error check of clk_get_bulk when disabled
(2018-04-21 18:38:56 +0200)


Jean-Jacques Hiblot (2):
  usb: dwc3-of-simple: Fix dependencies
  usb: dwc3-of-simple: Add support for DRA7/AM57 platforms.

Neil Armstrong (1):
  usb: dwc3-of-simple: fix error check of clk_get_bulk when disabled

 drivers/usb/host/Kconfig  | 3 ++-
 drivers/usb/host/dwc3-of-simple.c | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-04-13 Thread Tom Rini
On Thu, Apr 12, 2018 at 05:30:06AM +0200, Marek Vasut wrote:

> The following changes since commit c4446b1d6c96de406972690083e2884bf69bce5c:
> 
>   Merge git://git.denx.de/u-boot-ubi (2018-04-11 10:05:41 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to 2960e27e3834ef2e6d506b21a582bd97ac18bbb0:
> 
>   phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers (2018-04-11
> 17:22:07 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-04-11 Thread Marek Vasut
The following changes since commit c4446b1d6c96de406972690083e2884bf69bce5c:

  Merge git://git.denx.de/u-boot-ubi (2018-04-11 10:05:41 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to 2960e27e3834ef2e6d506b21a582bd97ac18bbb0:

  phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers (2018-04-11
17:22:07 +0200)


Neil Armstrong (3):
  usb: host: Add simple of glue driver for DWC3 USB Controllers
integration
  usb: host: dwc3: Add support for multiple PHYs
  phy: Add Amlogic Meson USB2 & USB3 Generic PHY drivers

 drivers/phy/Kconfig   |   8 ++
 drivers/phy/Makefile  |   1 +
 drivers/phy/meson-gxl-usb2.c  | 238
+
 drivers/phy/meson-gxl-usb3.c  | 201
+
 drivers/usb/host/Kconfig  |   7 +
 drivers/usb/host/Makefile |   1 +
 drivers/usb/host/dwc3-of-simple.c | 109
++
 drivers/usb/host/xhci-dwc3.c  | 113
++---
 8 files changed, 631 insertions(+), 47 deletions(-)
 create mode 100644 drivers/phy/meson-gxl-usb2.c
 create mode 100644 drivers/phy/meson-gxl-usb3.c
 create mode 100644 drivers/usb/host/dwc3-of-simple.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-03-19 Thread Tom Rini
On Mon, Mar 19, 2018 at 06:13:55PM +0100, Marek Vasut wrote:

> The following changes since commit 6f6b7cfa89e5aa3b643196a4ccc8b1ba5d6fa7a4:
> 
>   Convert all of CONFIG_CONS_INDEX to Kconfig (2018-03-16 10:28:52 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to ac6c796c3f5c7b7594cf4ecede8cd8fb8d2611ba:
> 
>   usb: dwc2: Replace printf, pr_err by dev_info, dev_err (2018-03-17
> 03:23:09 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-usb/master

2018-03-19 Thread Marek Vasut
The following changes since commit 6f6b7cfa89e5aa3b643196a4ccc8b1ba5d6fa7a4:

  Convert all of CONFIG_CONS_INDEX to Kconfig (2018-03-16 10:28:52 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-usb.git master

for you to fetch changes up to ac6c796c3f5c7b7594cf4ecede8cd8fb8d2611ba:

  usb: dwc2: Replace printf, pr_err by dev_info, dev_err (2018-03-17
03:23:09 +0100)


Alexey Brodkin (1):
  usb: dwc2: Allow selection of data buffer size

Christophe Kerello (2):
  usb: dwc2: disable external vbus supply when the device is removed
  usb: dwc2: increase timeout in wait_for_chhltd

Patrice Chotard (7):
  usb: ehci-generic: handle phy power on/off
  usb: ehci-generic: factorize PHY operation
  usb: ehci-generic: replace pr_err() by dev_err()
  usb: ohci-generic: handle phy power on/off
  usb: ohci-generic: factorize PHY operation
  usb: ohci-generic: replace pr_err() by dev_err()
  usb: dwc2: Replace printf, pr_err by dev_info, dev_err

Stefan Roese (1):
  usb: Remove unused ppc4xx EHCI host driver

Vignesh R (3):
  usb: xhci-dwc3: Power on USB PHY before using
  usb: xhci-dwc3: Refractor PHY operations into separate function
  ubs: xhci-dwc3: Enable USB3 PHY when available

 drivers/usb/host/Kconfig| 12 
 drivers/usb/host/Makefile   |  1 -
 drivers/usb/host/dwc2.c | 62
--
 drivers/usb/host/ehci-generic.c | 98
--
 drivers/usb/host/ehci-ppc4xx.c  | 35 ---
 drivers/usb/host/ohci-generic.c | 95
+--
 drivers/usb/host/xhci-dwc3.c| 80
++--
 7 files changed, 255 insertions(+), 128 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-ppc4xx.c
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PULL] u-boot-usb/master

2018-02-23 Thread Tom Rini
On Fri, Feb 23, 2018 at 12:06:59AM +0100, Marek Vasut wrote:

> The following changes since commit f0f6917188ad660cf002c10095f46ecf748b8f58:
> 
>   Prepare v2018.03-rc3 (2018-02-20 16:51:56 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-usb.git master
> 
> for you to fetch changes up to b0cce3f90f546da0c1e0dda5abcaf05d81078b0d:
> 
>   cmd: fastboot: Kconfig: solve config issue (2018-02-21 20:28:15 +0100)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


  1   2   3   4   >