[PATCH 00/32 v3] USB: EHCI and OHCI platform driver conversions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This patch series contains EHCI and OHCI platform drivers conversions,
allowing quite some EHCI and OHCI platform drivers to be deleted.

While converting, Alan Stern asked me to fold some cleanups and fixes in the
EHCI and OHCI platform drivers, these changes have now been addressed.

Changes since v2:
- removed ohci-ppc-soc driver
- moved common Alchemy USB routines to arch/mips/alchemy/common
- converted EHCI and OHCI platform drivers to use devm_ helpers
- changed EHCI and OHCI platform drivers to use dev_err instead of pr_err
- improved some commit messages
- fixed no_io_watchdog to be called *after* ehci_setup()
- moved ohci_{suspend,resume} out of the #ifdef CONFIG_PM block

Changes since v1:
- 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

Florian Fainelli (32):
  USB: EHCI: remove IXP4xx EHCI driver
  USB: OHCI: remove ohci-pcc-soc 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.
  USB: move common alchemy USB routines to arch/mips/alchemy/common.c
  USB: EHCI: make ehci-platform use dev_err() instead of pr_err()
  USB: OHCI: make ohci-platform use dev_err() instead of pr_err()
  USB: EHCI: fix typo in ehci-platform driver on the word "resource"
  USB: OHCI: fix typo in ohci-platform driver on the word "resource"
  USB: EHCI: make ehci-platform use devm_{ioremap,request_mem_region}
    helpers
  USB: OHCI: make ohci-platform use devm_{ioremap,request_mem_region}
    helpers

 arch/arm/mach-cns3xxx/cns3420vb.c                  |   54 ++++-
 arch/mips/alchemy/common/Makefile                  |    2 +-
 arch/mips/alchemy/common/platform.c                |   58 ++++-
 .../mips/alchemy/common/usb.c                      |    0
 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/Makefile                          |    1 -
 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                   |   24 +-
 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                        |   99 +++++---
 drivers/usb/host/ohci-hub.c                        |   42 ----
 drivers/usb/host/ohci-omap.c                       |    2 +-
 drivers/usb/host/ohci-pci.c                        |   47 +---
 drivers/usb/host/ohci-platform.c                   |   28 +--
 drivers/usb/host/ohci-pnx8550.c                    |  243 --------------------
 drivers/usb/host/ohci-ppc-soc.c                    |  216 -----------------
 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 +
 50 files changed, 315 insertions(+), 2119 deletions(-)
 rename drivers/usb/host/alchemy-common.c => arch/mips/alchemy/common/usb.c (100%)
 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-ppc-soc.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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux