Skip to contentSkip to conversation

u-boot-usb/master

GIT PULL Marek Vasut 3 participants 12 messages May 19, 2015 – Jun 2, 2015

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 11 lines · Marek Vasut

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150519/2bf32e49/attachment.sig>
#2 lore raw

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
#3 lore raw
Quoted 7 lines · Marek Vasut

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)

Quoted 7 lines

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150520/231076d4/attachment.sig>
#4 lore raw
Quoted 7 lines · Tom Rini
Quoted 6 lines · Marek Vasut

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)

Quoted 8 lines
Quoted 5 lines

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?

Quoted 3 lines

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

#5 lore raw
Quoted 11 lines · Marek Vasut
Quoted 10 lines · Tom Rini
Quoted 9 lines · Marek Vasut

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

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150521/fad95619/attachment.sig>
#6 lore raw
Quoted 7 lines · Tom Rini
Quoted 6 lines · Marek Vasut
Quoted 5 lines · Tom Rini
Quoted 4 lines · Marek Vasut

Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:

The following changes since commit

0e6b7a28243175ae0874d53b6e6e4eff8548d71f:

Quoted 13 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

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

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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?

Quoted 8 lines

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

#7 lore raw

Hi, Marek

Quoted 24 lines · Marek Vasut
Quoted 7 lines · Tom Rini
Quoted 6 lines · Marek Vasut
Quoted 5 lines · Tom Rini
Quoted 4 lines · Marek Vasut

Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:

The following changes since commit

0e6b7a28243175ae0874d53b6e6e4eff8548d71f:

Quoted 15 lines
Quoted 10 lines
Quoted 9 lines
Quoted 7 lines
   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

Quoted 6 lines
Quoted 3 lines

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

Quoted 3 lines

Best regards,
Marek Vasut

#8 lore raw
Quoted 1 line · Josh Wu

Hi, Marek

Hi!

Quoted 36 lines · Marek Vasut
Quoted 35 lines · Tom Rini
Quoted 7 lines · Marek Vasut
Quoted 6 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Quoted 4 lines

Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:

The following changes since commit

0e6b7a28243175ae0874d53b6e6e4eff8548d71f:

Quoted 24 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
   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

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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.

Quoted 7 lines
Quoted 3 lines

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

#9 lore raw
Quoted 45 lines · Marek Vasut
Quoted 1 line · Josh Wu

Hi, Marek

Hi!

Quoted 40 lines · Marek Vasut
Quoted 38 lines · Tom Rini
Quoted 7 lines · Marek Vasut
Quoted 6 lines · Tom Rini
Quoted 5 lines · Marek Vasut
Quoted 4 lines

Updated PR, dropped the patch from Hans and picked the OHCI cache patch instead:

The following changes since commit

0e6b7a28243175ae0874d53b6e6e4eff8548d71f:

Quoted 21 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
   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

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

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

Quoted 3 lines

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?

Quoted 5 lines
Quoted 3 lines

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 :)

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150525/cc4457ad/attachment.sig>
#10 lore raw

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(-)
#11 lore raw
Quoted 7 lines · Marek Vasut

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)

Quoted 8 lines

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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150602/a77b846c/attachment.sig>