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

The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to 9cf3c384ad96c3e00c12e1d151d7f32c5b760a03:
include:configs:ls1021aqds: Enable USB IP support (2015-05-19 12:42:16 +0200)
---------------------------------------------------------------- Hans de Goede (2): usb: Remove unused variable in usb_setup_descriptor() usb: kbd: Fix key repeat not always using
Peter Griffin (1): usb: dwc2: Add support for v3 snpsid value
Ramneek Mehresh (5): drivers:usb:dwc3: Add DWC3 controller driver support drivers:usb:fsl: Add XHCI driver support arch:arm:fsl: Add XHCI support for LS1021A include:configs:ls1021atwr: Enable USB IP support include:configs:ls1021aqds: Enable USB IP support
Siva Durga Prasad Paladugu (1): ci_udc: Update the ci_udc driver to support bulk transfers
arch/arm/include/asm/arch-ls102xa/config.h | 1 + arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 10 +++++++ common/usb.c | 2 -- common/usb_kbd.c | 22 +++++++++++---- drivers/usb/gadget/ci_udc.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- drivers/usb/gadget/ci_udc.h | 1 + drivers/usb/host/Makefile | 2 ++ drivers/usb/host/dwc2.c | 3 +- drivers/usb/host/dwc2.h | 1 + drivers/usb/host/xhci-dwc3.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/host/xhci-fsl.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/configs/ls1021aqds.h | 22 +++++++++++---- include/configs/ls1021atwr.h | 38 +++++++++++++++++++++++++ include/linux/usb/dwc3.h | 4 +++ include/linux/usb/xhci-fsl.h | 54 +++++++++++++++++++++++++++++++++++ 15 files changed, 446 insertions(+), 32 deletions(-) create mode 100644 drivers/usb/host/xhci-dwc3.c create mode 100644 drivers/usb/host/xhci-fsl.c create mode 100644 include/linux/usb/xhci-fsl.h

On Tue, May 19, 2015 at 12:48:19PM +0200, Marek Vasut wrote:
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to 9cf3c384ad96c3e00c12e1d151d7f32c5b760a03:
include:configs:ls1021aqds: Enable USB IP support (2015-05-19 12:42:16 +0200)
NAK. This introduces various breakage: 12: Merge branch 'master' of git://git.denx.de/u-boot-usb arm: + VCMA9 beagle_x15 at91rm9200ek_ram peach-pi snow smdk5250 am43xx_evm dr a7xx_evm_uart3 k2l_evm am43xx_evm_qspiboot smdk5420 dra7xx_evm smdk2410 at91rm9200ek dr a7xx_evm_qspiboot k2hk_evm k2e_evm peach-pit powerpc: + PIP405 MIP405 The powerpc board breakage is the same as some of the ARM ones so fix it once and they'll come along.

Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303:
usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
---------------------------------------------------------------- Hans de Goede (1): usb: Remove unused variable in usb_setup_descriptor()
Josh Wu (1): usb: ohci: enable cache support
Peter Griffin (1): usb: dwc2: Add support for v3 snpsid value
Ramneek Mehresh (5): drivers:usb:dwc3: Add DWC3 controller driver support drivers:usb:fsl: Add XHCI driver support arch:arm:fsl: Add XHCI support for LS1021A include:configs:ls1021atwr: Enable USB IP support include:configs:ls1021aqds: Enable USB IP support
Siva Durga Prasad Paladugu (1): ci_udc: Update the ci_udc driver to support bulk transfers
arch/arm/include/asm/arch-ls102xa/config.h | 1 + arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 10 +++++++ common/usb.c | 2 -- drivers/usb/gadget/ci_udc.c | 135 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------- drivers/usb/gadget/ci_udc.h | 1 + drivers/usb/host/Makefile | 2 ++ drivers/usb/host/dwc2.c | 3 +- drivers/usb/host/dwc2.h | 1 + drivers/usb/host/ohci-hcd.c | 10 +------ drivers/usb/host/ohci.h | 2 +- drivers/usb/host/xhci-dwc3.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/host/xhci-fsl.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/configs/ls1021aqds.h | 22 +++++++++++---- include/configs/ls1021atwr.h | 38 +++++++++++++++++++++++++ include/linux/usb/dwc3.h | 4 +++ include/linux/usb/xhci-fsl.h | 54 +++++++++++++++++++++++++++++++++++ 16 files changed, 431 insertions(+), 37 deletions(-) create mode 100644 drivers/usb/host/xhci-dwc3.c create mode 100644 drivers/usb/host/xhci-fsl.c create mode 100644 include/linux/usb/xhci-fsl.h

On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303:
usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..), And snow,smdk5250,peach-pi,smdk5420,peach-pit,k2e_evm,k2l_evm,k2hk_evm at least are failing over dwc3 things.

On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
And snow,smdk5250,peach-pi,smdk5420,peach-pit,k2e_evm,k2l_evm,k2hk_evm at least are failing over dwc3 things.
I'm just gonna drop the FSL DWC3 patches. Ramneek, this is the list of broken boards, so please focus on those.
Best regards, Marek Vasut

On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote:
On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit 0e6b7a28243175ae0874d53b6e6e4eff8548d71f: Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
M5485BFE,lp8x4x,vpac270_nor_128,colibri_pxa270,eb_cpux9k2,M5485AFE,at91rm9200ek_ram,M5475EFE,M5475CFE,M5485HFE,polaris,M5485DFE,M5475DFE,vpac270_ond_256,vpac270_nor_256,at91rm9200ek,M5485CFE,M5475FFE,M5475BFE,M5485GFE,M5485EFE,balloon3,M5485FFE,eb_cpux9k2_ram,M5475GFE,M5475AFE,trizepsiv,edb9315a
Which now that I look at it is not a list of PowerPC boards (I have to admit my eyes glazed over at M... and I filed that as PowerPC) but m68k and some ARM.

On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote:
On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote:
On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit
0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
M5485BFE,lp8x4x,vpac270_nor_128,colibri_pxa270,eb_cpux9k2,M5485AFE,at91rm92 00ek_ram,M5475EFE,M5475CFE,M5485HFE,polaris,M5485DFE,M5475DFE,vpac270_ond_2 56,vpac270_nor_256,at91rm9200ek,M5485CFE,M5475FFE,M5475BFE,M5485GFE,M5485EF E,balloon3,M5485FFE,eb_cpux9k2_ram,M5475GFE,M5475AFE,trizepsiv,edb9315a
Which now that I look at it is not a list of PowerPC boards (I have to admit my eyes glazed over at M... and I filed that as PowerPC) but m68k and some ARM.
Yeah. Josh, these boards were broken by your patch "usb: ohci: enable cache support" . I am dropping it now, so can you please fix the patch and resubmit?
Best regards, Marek Vasut

Hi, Marek
On 5/22/2015 9:30 AM, Marek Vasut wrote:
On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote:
On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote:
On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit
0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
M5485BFE,lp8x4x,vpac270_nor_128,colibri_pxa270,eb_cpux9k2,M5485AFE,at91rm92 00ek_ram,M5475EFE,M5475CFE,M5485HFE,polaris,M5485DFE,M5475DFE,vpac270_ond_2 56,vpac270_nor_256,at91rm9200ek,M5485CFE,M5475FFE,M5475BFE,M5485GFE,M5485EF E,balloon3,M5485FFE,eb_cpux9k2_ram,M5475GFE,M5475AFE,trizepsiv,edb9315a
Which now that I look at it is not a list of PowerPC boards (I have to admit my eyes glazed over at M... and I filed that as PowerPC) but m68k and some ARM.
Yeah. Josh, these boards were broken by your patch "usb: ohci: enable cache support" . I am dropping it now, so can you please fix the patch and resubmit?
Ok, After a check it seems those cpus doesn't define the flush_dcache_range()/invalidate_dcache_range() functions. I think I need to find a way to distinguish those cpus.
Best Regards, Josh Wu
Best regards, Marek Vasut

On Monday, May 25, 2015 at 11:51:04 AM, Josh Wu wrote:
Hi, Marek
Hi!
On 5/22/2015 9:30 AM, Marek Vasut wrote:
On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote:
On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote:
On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote:
Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:
The following changes since commit
0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400)
are available in the git repository at: git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
M5485BFE,lp8x4x,vpac270_nor_128,colibri_pxa270,eb_cpux9k2,M5485AFE,at91r m92 00ek_ram,M5475EFE,M5475CFE,M5485HFE,polaris,M5485DFE,M5475DFE,vpac270_o nd_2 56,vpac270_nor_256,at91rm9200ek,M5485CFE,M5475FFE,M5475BFE,M5485GFE,M54 85EF E,balloon3,M5485FFE,eb_cpux9k2_ram,M5475GFE,M5475AFE,trizepsiv,edb9315a
Which now that I look at it is not a list of PowerPC boards (I have to admit my eyes glazed over at M... and I filed that as PowerPC) but m68k and some ARM.
Yeah. Josh, these boards were broken by your patch "usb: ohci: enable cache support" . I am dropping it now, so can you please fix the patch and resubmit?
Ok, After a check it seems those cpus doesn't define the flush_dcache_range()/invalidate_dcache_range() functions. I think I need to find a way to distinguish those cpus.
Better yet, make those few CPUs define those functions as empty.
Best regards, Marek Vasut

On Mon, May 25, 2015 at 12:25:19PM +0200, Marek Vasut wrote:
On Monday, May 25, 2015 at 11:51:04 AM, Josh Wu wrote:
Hi, Marek
Hi!
On 5/22/2015 9:30 AM, Marek Vasut wrote:
On Friday, May 22, 2015 at 02:34:25 AM, Tom Rini wrote:
On Fri, May 22, 2015 at 01:54:55AM +0200, Marek Vasut wrote:
On Wednesday, May 20, 2015 at 01:24:06 PM, Tom Rini wrote:
On Tue, May 19, 2015 at 07:58:26PM +0200, Marek Vasut wrote: > Updated PR, dropped the patch from Hans and picked the OHCI cache > patch instead: > > The following changes since commit
0e6b7a28243175ae0874d53b6e6e4eff8548d71f:
> Merge git://git.denx.de/u-boot-samsung (2015-05-18 09:15:15 -0400) > > are available in the git repository at: > git://git.denx.de/u-boot-usb.git HEAD > > for you to fetch changes up to d07e7c0b5bd9dc0044eafc730131d32539608303: > usb: ohci: enable cache support (2015-05-19 19:57:30 +0200)
Sigh, NAK still. Many PowerPC are failing over flush_dcache_range (which should exist for them now..),
Which ones please?
M5485BFE,lp8x4x,vpac270_nor_128,colibri_pxa270,eb_cpux9k2,M5485AFE,at91r m92 00ek_ram,M5475EFE,M5475CFE,M5485HFE,polaris,M5485DFE,M5475DFE,vpac270_o nd_2 56,vpac270_nor_256,at91rm9200ek,M5485CFE,M5475FFE,M5475BFE,M5485GFE,M54 85EF E,balloon3,M5485FFE,eb_cpux9k2_ram,M5475GFE,M5475AFE,trizepsiv,edb9315a
Which now that I look at it is not a list of PowerPC boards (I have to admit my eyes glazed over at M... and I filed that as PowerPC) but m68k and some ARM.
Yeah. Josh, these boards were broken by your patch "usb: ohci: enable cache support" . I am dropping it now, so can you please fix the patch and resubmit?
Ok, After a check it seems those cpus doesn't define the flush_dcache_range()/invalidate_dcache_range() functions. I think I need to find a way to distinguish those cpus.
Better yet, make those few CPUs define those functions as empty.
... if that in fact makes sense :)

Tom, let me know if this builds please.
The following changes since commit 012681b1fa822492bb8fdc5c2dd3d24d6092e110:
am33xx, spl, siemens: enable debug uart output again (2015-05-28 08:18:25 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to 8454c84af5401f8c3bcd0ed2625043270d0ef6aa:
usb: kbd: Fix key repeat not always working (2015-05-29 12:41:05 +0200)
---------------------------------------------------------------- Hans de Goede (2): usb: Remove unused variable in usb_setup_descriptor() usb: kbd: Fix key repeat not always working
Peter Griffin (1): usb: dwc2: Add support for v3 snpsid value
Siva Durga Prasad Paladugu (1): ci_udc: Update the ci_udc driver to support bulk transfers
common/usb.c | 2 -- common/usb_kbd.c | 26 ++++++++++++++++----- drivers/usb/gadget/ci_udc.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------- drivers/usb/gadget/ci_udc.h | 1 + drivers/usb/host/dwc2.c | 3 ++- drivers/usb/host/dwc2.h | 1 + 6 files changed, 140 insertions(+), 28 deletions(-)

On Fri, May 29, 2015 at 01:18:10PM +0200, Marek Vasut wrote:
Tom, let me know if this builds please.
The following changes since commit 012681b1fa822492bb8fdc5c2dd3d24d6092e110:
am33xx, spl, siemens: enable debug uart output again (2015-05-28 08:18:25 -0400)
are available in the git repository at:
git://git.denx.de/u-boot-usb.git HEAD
for you to fetch changes up to 8454c84af5401f8c3bcd0ed2625043270d0ef6aa:
usb: kbd: Fix key repeat not always working (2015-05-29 12:41:05 +0200)
Applied to u-boot/master, thanks!
participants (3)
-
Josh Wu
-
Marek Vasut
-
Tom Rini