[PATCH 00/24 v2] USB: OHCI and EHCI platform driver conversions

2012-10-04 Thread Florian Fainelli
Hi all,

This patch series contains various EHCI and OHCI conversions as well as
some cleanups in the existing OHCI HCD driver regarding suspend/resume
as suggested by Alan Stern.

Changes since previous version summed up are:
- improved various commit messages
- changed the logic regarding need_io_watchdog
- fixed arch/ files not using {e,o}hci-platform despite their conversion
- updated more defconfigs
- cleaned up OHCI HCD driver
- dropped Octeon conversion per David Daney's request

Per-patch changes are detailed in the patches.

Thanks!

Florian Fainelli (24):
  USB: EHCI: remove IXP4xx EHCI driver
  MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.
  USB: EHCI: remove Loongson 1B EHCI driver.
  MIPS: Netlogic: use ehci-platform driver
  USB: EHCI: remove Netlogic XLS EHCI driver
  USB: EHCI: add no_io_watchdog platform_data parameter to
ehci-platform
  MIPS: Alchemy: use the ehci platform driver
  USB: EHCI: remove Alchemy EHCI driver
  ARM: cns3xxx: use ehci platform driver
  USB: EHCI: remove CNS3xxx EHCI platform driver
  USB: ohci: allow platform driver to specify the number of ports
  USB: ohci: move ohci_pci_{suspend,resume} to ohci-hcd.c
  USB: ohci: remove check for RH already suspended in ohci_suspend
  USB: ohci: merge ohci_finish_controller_resume with ohci_resume
  MIPS: PNX8550: use OHCI platform driver
  USB: OHCI: remove PNX8550 OHCI driver
  ARM: cns3xxx: use OHCI platform driver
  USB: OHCI: remove CNS3xxx OHCI platform driver
  MIPS: Netlogic: convert to use OHCI platform driver
  USB: OHCI: remove Netlogic XLS OHCI platform driver
  sh: convert boards to use the OHCI platform driver
  USB: OHCI: remove OHCI SH platform driver
  MIPS: Alchemy: use the OHCI platform driver
  USB: OHCI: remove Alchemy OHCI platform driver.

 arch/arm/mach-cns3xxx/cns3420vb.c  |   54 ++-
 arch/mips/alchemy/common/platform.c|   58 +++-
 arch/mips/configs/db1000_defconfig |1 +
 arch/mips/configs/db1200_defconfig |2 +
 arch/mips/configs/db1300_defconfig |2 +
 arch/mips/configs/db1550_defconfig |1 +
 arch/mips/configs/gpr_defconfig|1 +
 arch/mips/configs/ls1b_defconfig   |1 +
 arch/mips/configs/mtx1_defconfig   |1 +
 arch/mips/configs/pb1100_defconfig |1 +
 arch/mips/configs/pb1500_defconfig |1 +
 arch/mips/configs/pb1550_defconfig |1 +
 arch/mips/loongson1/common/platform.c  |8 +-
 arch/mips/netlogic/xlr/platform.c  |   17 ++-
 arch/mips/pnx8550/common/platform.c|   31 +++-
 arch/sh/kernel/cpu/sh3/setup-sh7720.c  |6 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7757.c |6 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7763.c |6 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7786.c |6 +-
 drivers/usb/host/Kconfig   |   18 ++-
 drivers/usb/host/ehci-au1xxx.c |  184 
 drivers/usb/host/ehci-cns3xxx.c|  155 
 drivers/usb/host/ehci-hcd.c|   25 
 drivers/usb/host/ehci-ixp4xx.c |  139 --
 drivers/usb/host/ehci-ls1x.c   |  147 ---
 drivers/usb/host/ehci-platform.c   |2 +
 drivers/usb/host/ehci-xls.c|  142 ---
 drivers/usb/host/ohci-at91.c   |2 +-
 drivers/usb/host/ohci-au1xxx.c |  234 --
 drivers/usb/host/ohci-cns3xxx.c|  166 --
 drivers/usb/host/ohci-ep93xx.c |2 +-
 drivers/usb/host/ohci-exynos.c |5 +-
 drivers/usb/host/ohci-hcd.c|   94 
 drivers/usb/host/ohci-hub.c|   42 --
 drivers/usb/host/ohci-omap.c   |2 +-
 drivers/usb/host/ohci-pci.c|   43 +-
 drivers/usb/host/ohci-platform.c   |6 +-
 drivers/usb/host/ohci-pnx8550.c|  243 
 drivers/usb/host/ohci-pxa27x.c |2 +-
 drivers/usb/host/ohci-s3c2410.c|3 +-
 drivers/usb/host/ohci-sh.c |  141 --
 drivers/usb/host/ohci-spear.c  |2 +-
 drivers/usb/host/ohci-tmio.c   |2 +-
 drivers/usb/host/ohci-xls.c|  152 
 include/linux/usb/ehci_pdriver.h   |3 +
 include/linux/usb/ohci_pdriver.h   |2 +
 46 files changed, 296 insertions(+), 1866 deletions(-)
 delete mode 100644 drivers/usb/host/ehci-au1xxx.c
 delete mode 100644 drivers/usb/host/ehci-cns3xxx.c
 delete mode 100644 drivers/usb/host/ehci-ixp4xx.c
 delete mode 100644 drivers/usb/host/ehci-ls1x.c
 delete mode 100644 drivers/usb/host/ehci-xls.c
 delete mode 100644 drivers/usb/host/ohci-au1xxx.c
 delete mode 100644 drivers/usb/host/ohci-cns3xxx.c
 delete mode 100644 drivers/usb/host/ohci-pnx8550.c
 delete mode 100644 drivers/usb/host/ohci-sh.c
 delete mode 100644 drivers/usb/host/ohci-xls.c

-- 
1.7.9.5

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to 

Re: [PATCH 00/24 v2] USB: OHCI and EHCI platform driver conversions

2012-10-04 Thread Florian Fainelli

Le 04/10/2012 21:36, Alan Stern a écrit :

On Thu, 4 Oct 2012, Florian Fainelli wrote:


Hi all,

This patch series contains various EHCI and OHCI conversions as well as
some cleanups in the existing OHCI HCD driver regarding suspend/resume
as suggested by Alan Stern.

Changes since previous version summed up are:
- improved various commit messages
- changed the logic regarding need_io_watchdog
- fixed arch/ files not using {e,o}hci-platform despite their conversion
- updated more defconfigs
- cleaned up OHCI HCD driver
- dropped Octeon conversion per David Daney's request

Per-patch changes are detailed in the patches.


This is great stuff!  Thanks a lot for doing all this work.  A couple
of things still to be fixed (described in separate emails); nothing
very big.


Thanks a lot for reviewing!



One more request: How'd you like to convert ehci-platform.c and
ohci-platform.c to use devm_request_and_ioremap() for the memory
resources (like in the IXP4xx and Loongson files you removed)?  At the
same time you could fix the spelling of resource in the error
messages, and change all the pr_err() lines to dev_err().


Sounds good, I will fold these patches in the next series.
--
Florian
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html