Re: [PATCH 1/6] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-01-15 Thread Florian Fainelli
Hello Ezequiel, Le 01/15/13 10:54, Ezequiel Garcia a écrit : diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig index 440b13e..5e4fcde 100644 --- a/arch/arm/mach-mvebu/Kconfig +++ b/arch/arm/mach-mvebu/Kconfig @@ -24,6 +24,7 @@ config MACH_ARMADA_370_XP select

Re: [PATCH 0/6] arm: mvebu: Add support for USB host controllers in Armada 370/XP

2013-01-15 Thread Florian Fainelli
on a Marvell RD-A370-A1 and a DB-MV784MP-GP: Tested-by: Florian Fainelli flor...@openwrt.org Thanks! Ezequiel Garcia (6): arm: mvebu: Add support for USB host controllers in Armada 370/XP arm: mvebu: Enable USB controllers on Armada 370 evaluation board arm: mvebu: Enable USB controllers on Armada

[PATCH 01/13] MIPS: BCM63XX: add USB host clock enable delay

2013-01-28 Thread Florian Fainelli
Knowledge of the clock setup delay should remain at the clock level (so it can be clock specific and CPU specific). Add the 100 milliseconds required clock delay for the USB host clock when it gets enabled. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/bcm63xx/clk.c |5

[PATCH 03/13] MIPS: BCM63XX: move code touching the USB private register

2013-01-28 Thread Florian Fainelli
This patch moves the code touching the USB private register in the bcm63xx USB gadget driver to arch/mips/bcm63xx/usb-common.c in preparation for adding support for OHCI and EHCI host controllers which will also touch the USB private register. Signed-off-by: Florian Fainelli flor...@openwrt.org

[PATCH 10/13] MIPS: BCM63XX: register EHCI controller if board enables it

2013-01-28 Thread Florian Fainelli
BCM63XX-based board can control the registration of the EHCI controller by setting their has_ehci0 flag to 1. Handle this in the generic code dealing with board registration and call the actual helper to register the EHCI controller. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch

[PATCH 05/13] MIPS: BCM63XX: introduce BCM63XX_OHCI configuration symbol

2013-01-28 Thread Florian Fainelli
This configuration symbol can be used by CPUs supporting the on-chip OHCI controller, and ensures that all relevant OHCI-related configuration options are correctly selected. So far, OHCI support is available for the 6328, 6348, 6358 and 6358 SoCs. Signed-off-by: Florian Fainelli flor

[PATCH 04/13] MIPS: BCM63XX: add OHCI/EHCI configuration bits to common USB code

2013-01-28 Thread Florian Fainelli
of the exposed helper will not be called concurrently. Signed-off-by: Maxime Bizon mbi...@freebox.fr Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/bcm63xx/usb-common.c | 97 .../include/asm/mach-bcm63xx/bcm63xx_usb_priv.h|2 + 2 files

[PATCH 12/13] MIPS: BCM63XX: EHCI controller does not support overcurrent

2013-01-28 Thread Florian Fainelli
This patch sets the ignore_oc flag for the BCM63XX EHCI controller as it does not support proper overcurrent reporting. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/bcm63xx/dev-usb-ehci.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/bcm63xx/dev-usb-ehci.c

[PATCH 09/13] MIPS: BCM63XX: add support for the on-chip EHCI controller

2013-01-28 Thread Florian Fainelli
Broadcom BCM63XX SoCs include an on-chip EHCI controller which can be driven by the generic ehci-platform driver by using specific power on/off/suspend callbacks to manage clocks and hardware specific configuration. Signed-off-by: Maxime Bizon mbi...@freebox.fr Signed-off-by: Florian Fainelli

[PATCH 13/13] MIPS: BCM63XX: update defconfig

2013-01-28 Thread Florian Fainelli
This patch updates the BCM63XX defconfig with the USB OHCI and EHCI host drivers as well as the USB gadget driver. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/configs/bcm63xx_defconfig | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff

[PATCH 07/13] MIPS: BCM63XX: register OHCI controller if board enables it

2013-01-28 Thread Florian Fainelli
BCM63XX-based boards can control the registration of the OHCI controller by setting their has_ohci0 flag to 1. Handle this in the generic code dealing with board registration and call the actual helper to register the OHCI controller. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch

[PATCH 11/13] USB: EHCI: add ignore_oc flag to disable overcurrent checking

2013-01-28 Thread Florian Fainelli
This patch adds an ignore_oc flag which can be set by EHCI controller not supporting or wanting to disable overcurrent checking. The EHCI platform data in include/linux/usb/ehci_pdriver.h is also augmented to take advantage of this new flag. Signed-off-by: Florian Fainelli flor...@openwrt.org

[PATCH 08/13] MIPS: BCM63XX: introduce BCM63XX_EHCI configuration symbol

2013-01-28 Thread Florian Fainelli
to update direct unmet dependencies. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/bcm63xx/Kconfig |9 + drivers/usb/host/Kconfig |5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/mips/bcm63xx/Kconfig b/arch/mips/bcm63xx/Kconfig

Re: [PATCH 11/13] USB: EHCI: add ignore_oc flag to disable overcurrent checking

2013-01-28 Thread Florian Fainelli
Le 28/01/2013 21:08, Alan Stern a écrit : On Mon, 28 Jan 2013, Florian Fainelli wrote: This patch adds an ignore_oc flag which can be set by EHCI controller not supporting or wanting to disable overcurrent checking. The EHCI platform data in include/linux/usb/ehci_pdriver.h is also augmented

Re: [PATCH 03/13] MIPS: BCM63XX: move code touching the USB private register

2013-01-28 Thread Florian Fainelli
On Monday 28 January 2013 22:41:14 Felipe Balbi wrote: Hi, On Mon, Jan 28, 2013 at 08:06:21PM +0100, Florian Fainelli wrote: diff --git a/drivers/usb/gadget/bcm63xx_udc.c b/drivers/usb/gadget/bcm63xx_udc.c index ad17533..af450c4 100644 --- a/drivers/usb/gadget/bcm63xx_udc.c +++ b

Re: [PATCH 04/10] USB: EHCI: make ehci-orion a separate driver

2013-02-08 Thread Florian Fainelli
Hello Manjunath, On 02/07/2013 06:34 PM, manjunath.gou...@linaro.org wrote: From: Manjunath Goudar manjunath.gou...@linaro.org Separate the Marvell Orion host controller driver from ehci-hcd host code into its own driver module. [snip] The changes you introduce in ehci-hcd.c would certainly

[RFC PATCH 0/5] USB: Kconfig cleanups

2013-03-26 Thread Florian Fainelli
Hello Alan, Greg, These 5 patches contain my Kconfig cleanup on which I based the removal of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern as part of an earlier conversations. Let me know what you think about it so I can post subsequent work based on it. Thanks! Florian

[RFC PATCH 2/5] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-03-26 Thread Florian Fainelli
to be added for these configuration symbols to be selected. Now it is up to the EHCI driver and/or platform to select these configuration symbols accordingly. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/arm/Kconfig|2 ++ arch/mips/Kconfig |3

[RFC PATCH 5/5] USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block

2013-03-26 Thread Florian Fainelli
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb

[RFC PATCH 3/5] USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block

2013-03-26 Thread Florian Fainelli
Thist patch removes the depends on USB_EHCI_HCD that the various USB EHCI HCD drivers use and encloses every driver within an if USB_EHCI_HCD / endif block. The EHCI HCD platform and Octeon drivers have been moved around to remain enclosed within this block. Signed-off-by: Florian Fainelli flor

[RFC PATCH 1/5] USB: drop depends on USB and enclose everything into an if USB block

2013-03-26 Thread Florian Fainelli
This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and replace that with an if USB / endif block as suggested by Alan Stern. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/Kconfig|7 +-- drivers/usb/atm/Kconfig

Re: [RFC PATCH 1/5] USB: drop depends on USB and enclose everything into an if USB block

2013-03-26 Thread Florian Fainelli
Le 26/03/2013 20:04, Alan Stern a écrit : On Tue, 26 Mar 2013, Florian Fainelli wrote: This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and replace that with an if USB / endif block as suggested by Alan Stern. I'm afraid this patch is filled

[PATCH 1/5] USB: regroup all depends on USB within an if USB block

2013-04-02 Thread Florian Fainelli
item. No functionnal change is introduced. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since RFC: - only remove the depends on USB conditionnals and not more as the RFC patch did drivers/usb/Kconfig| 21 + drivers/usb/atm/Kconfig

[PATCH 0/5] USB: Kconfig cleanups

2013-04-02 Thread Florian Fainelli
the RFC from the subject. Thanks! Florian Fainelli (5): USB: regroup all depends on USB within an if USB block USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block USB: enclose all depends

[PATCH 2/5] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-04-02 Thread Florian Fainelli
to be added for these configuration symbols to be selected. Now it is up to the EHCI driver and/or platform to select these configuration symbols accordingly. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since RFC: - dropped default n for USB_EHCI_BIG_ENDIAN_{MMIO_DESC

[PATCH 5/5] USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block

2013-04-02 Thread Florian Fainelli
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb

[PATCH 3/5] USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block

2013-04-02 Thread Florian Fainelli
Thist patch removes the depends on USB_EHCI_HCD that the various USB EHCI HCD drivers use and encloses every driver within an if USB_EHCI_HCD / endif block. The EHCI HCD platform and Octeon drivers have been moved around to remain enclosed within this block. Signed-off-by: Florian Fainelli flor

[PATCH 4/5] USB: enclose all depends on USB_OHCI_HCD within an if USB_OHCI_HCD block

2013-04-02 Thread Florian Fainelli
This patch removes the various depends on USB_OHCI_HCD from the OHCI HCD drivers and enclose them within an if USB_OHCI_HCD / endif block. The Octeon OHCI HCD driver has been moved around to remain in this block. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig

[PATCH 2/5 v2] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-04-02 Thread Florian Fainelli
to be added for these configuration symbols to be selected. Now it is up to the EHCI driver and/or platform to select these configuration symbols accordingly. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since RFC: - dropped default n for USB_EHCI_BIG_ENDIAN_{MMIO_DESC

Re: [PATCH 0/5] USB: Kconfig cleanups

2013-04-02 Thread Florian Fainelli
Le 04/02/13 19:05, Florian Fainelli a écrit : Hello Alan, Greg, These 5 patches contain my Kconfig cleanup on which I based the removal of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern as part of an earlier conversations. Let me know what you think about it so I can post

[PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-02 Thread Florian Fainelli
item. No functionnal change is introduced. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - add missing if USB in drivers/usb/Kconfig before USB_USS720 Changes since RFC: - only remove the depends on USB conditionnals and not more as the RFC patch did drivers/usb

[PATCH 0/5 v2] USB: Kconfig cleanups

2013-04-02 Thread Florian Fainelli
the RFC from the subject. Thanks! Florian Fainelli (5): USB: regroup all depends on USB within an if USB block USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block USB: enclose all depends

[PATCH 3/5 v2] USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block

2013-04-02 Thread Florian Fainelli
Thist patch removes the depends on USB_EHCI_HCD that the various USB EHCI HCD drivers use and encloses every driver within an if USB_EHCI_HCD / endif block. The EHCI HCD platform and Octeon drivers have been moved around to remain enclosed within this block. Signed-off-by: Florian Fainelli flor

[PATCH 4/5 v2] USB: enclose all depends on USB_OHCI_HCD within an if USB_OHCI_HCD block

2013-04-02 Thread Florian Fainelli
This patch removes the various depends on USB_OHCI_HCD from the OHCI HCD drivers and enclose them within an if USB_OHCI_HCD / endif block. The Octeon OHCI HCD driver has been moved around to remain in this block. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig

[PATCH 5/5 v2] USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block

2013-04-02 Thread Florian Fainelli
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/02/13 20:19, ba...@ti.com a écrit : Hi, On Tue, Apr 02, 2013 at 07:10:22PM +0200, Florian Fainelli wrote: diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 05e5143..ab5a3b9 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -6,7 +6,6 @@ # (M

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/02/13 20:06, Alan Stern a écrit : On Tue, 2 Apr 2013, Florian Fainelli wrote: This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig and replace that with an if USB / endif block as suggested by Alan Stern. Some source ... Kconfig lines have been

Re: [PATCH 1/5 v2] USB: regroup all depends on USB within an if USB block

2013-04-03 Thread Florian Fainelli
Le 04/03/13 14:15, Felipe Balbi a écrit : On Wed, Apr 03, 2013 at 02:11:13PM +0200, Florian Fainelli wrote: Le 04/02/13 20:06, Alan Stern a écrit : On Tue, 2 Apr 2013, Florian Fainelli wrote: This patch removes the depends on USB from all config symbols in drivers/usb/host/Kconfig

[PATCH 5/5 v3] USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block

2013-04-04 Thread Florian Fainelli
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes in v3: - added Alan's Acked-by tag drivers/usb/host/Kconfig |6 -- 1 file

[PATCH 0/5 v3] USB: Kconfig cleanups

2013-04-04 Thread Florian Fainelli
These 5 patches contain my Kconfig cleanup on which I based the removal of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern as part of an earlier conversations. Let me know what you think about it so I can post subsequent work based on it. Thanks! Fainelli (5): USB: regroup

[PATCH 1/5 v3] USB: regroup all depends on USB within an if USB block

2013-04-04 Thread Florian Fainelli
item. No functionnal change is introduced. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v2: - properly keep USB_MUSB_HDRC dependency Changes since v1: - add missing if USB in drivers/usb/Kconfig before USB_USS720 Changes since RFC: - only remove the depends on USB

[PATCH 2/5 v3] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-04-04 Thread Florian Fainelli
to be added for these configuration symbols to be selected. Now it is up to the EHCI driver and/or platform to select these configuration symbols accordingly. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes in v2: - added Alan's Acked-by tag

[PATCH 3/5 v3] USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block

2013-04-04 Thread Florian Fainelli
Thist patch removes the depends on USB_EHCI_HCD that the various USB EHCI HCD drivers use and encloses every driver within an if USB_EHCI_HCD / endif block. The EHCI HCD platform and Octeon drivers have been moved around to remain enclosed within this block. Signed-off-by: Florian Fainelli flor

[PATCH 4/5 v3] USB: enclose all depends on USB_OHCI_HCD within an if USB_OHCI_HCD block

2013-04-04 Thread Florian Fainelli
This patch removes the various depends on USB_OHCI_HCD from the OHCI HCD drivers and enclose them within an if USB_OHCI_HCD / endif block. The Octeon OHCI HCD driver has been moved around to remain in this block. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor

Re: [PATCH 0/5 v3] USB: Kconfig cleanups

2013-04-08 Thread Florian Fainelli
Le 08/04/2013 18:32, Greg KH a écrit : On Thu, Apr 04, 2013 at 05:57:23PM +0200, Florian Fainelli wrote: These 5 patches contain my Kconfig cleanup on which I based the removal of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern as part of an earlier conversations. Let me

[PATCH 3/5 v4] USB: enclose EHCI HCD drivers within an if USB_EHCI_HCD block

2013-04-09 Thread Florian Fainelli
...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes in v4: - added Alan's Acked-by tag - refreshed against latest usb-next Changes in v3: - move out USB_FSL_MPH_DR_OF from the USB_EHCI_HCD block - remove depends on USB_EHCI_HCD for USB_EHCI_BIG_ENDIAN_DESC drivers/usb/host

[PATCH 4/5 v4] USB: enclose all depends on USB_OHCI_HCD within an if USB_OHCI_HCD block

2013-04-09 Thread Florian Fainelli
This patch removes the various depends on USB_OHCI_HCD from the OHCI HCD drivers and enclose them within an if USB_OHCI_HCD / endif block. The Octeon OHCI HCD driver has been moved around to remain in this block. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor

[PATCH 1/5 v4] USB: regroup all depends on USB within an if USB block

2013-04-09 Thread Florian Fainelli
item. No functionnal change is introduced. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v3: - added Alan's Acked-by tag - refreshed against usb-next Changes since v2: - properly keep USB_MUSB_HDRC dependency Changes since v1

[PATCH 5/5 v4] USB: enclose USB_XHCI_HCD related symbols within a if USB_XHCI_HCD block

2013-04-09 Thread Florian Fainelli
This patch encloses all symbols depending on USB_XHCI_HCD within an if USB_XHCI_HCD / endif block. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes in v4: - refreshed against latest usb-next Changes in v3: - added Alan's Acked-by tag

[PATCH 0/5 v4] USB: Kconfig cleanups

2013-04-09 Thread Florian Fainelli
These 5 patches contain my Kconfig cleanup on which I based the removal of the USB_ARCH_HAS_* patches. They have been suggested by Alan Stern as part of an earlier conversations. Let me know what you think about it so I can post subsequent work based on it. Florian Fainelli (5): USB: regroup

[PATCH 2/5 v4] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-04-09 Thread Florian Fainelli
to be added for these configuration symbols to be selected. Now it is up to the EHCI driver and/or platform to select these configuration symbols accordingly. Acked-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes in v4: - refreshed against latest usb

Re: ohci-/ehci-platform: Change compatible string to ?hci-platform

2014-02-11 Thread Florian Fainelli
Le mardi 11 février 2014, 16:43:37 Arnd Bergmann a écrit : On Tuesday 11 February 2014 10:27:12 Alan Stern wrote: It might even be a good idea to change the xhci-platform string to match, it that doesn't cause too much trouble. The original xhci binding was contributed by Al Cooper, but I

Re: [PATCH] usb: gadget: bcm63xx_udc: fix build failure on DMA channel code

2014-02-14 Thread Florian Fainelli
2014-01-21 17:30 GMT-08:00 Greg KH gre...@linuxfoundation.org: On Tue, Jan 21, 2014 at 11:20:09AM -0800, Florian Fainelli wrote: 2014/1/14 Florian Fainelli flor...@openwrt.org: Commit 3dc6475 (bcm63xx_enet: add support Broadcom BCM6345 Ethernet) changed the ENETDMA[CS] macros

Re: [PATCH net-next 07/14] r8152: combine PHY reset with set_speed

2014-02-18 Thread Florian Fainelli
Hi Hayes, 2014-02-18 5:49 GMT-08:00 Hayes Wang hayesw...@realtek.com: PHY reset is necessary after some hw settings. However, it would cause the linking down, and so does the set_speed function. Combine the PHY reset with set_speed function. That could reduce the frequency of linking down and

[PATCH 04/25] MIPS: Netlogic: use ehci-platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/netlogic/xlr/platform.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/mips/netlogic/xlr/platform.c b/arch/mips/netlogic/xlr/platform.c index 71b44d8..1731dfd 100644 --- a/arch/mips/netlogic/xlr/platform.c +++ b

[PATCH 20/25] MIPS: Netlogic: convert to use OHCI platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/netlogic/xlr/platform.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/mips/netlogic/xlr/platform.c b/arch/mips/netlogic/xlr/platform.c index 320b7ef..755ddcc 100644 --- a/arch/mips/netlogic/xlr/platform.c +++ b

[PATCH 17/25] USB: ohci: remove CNS3xxx OHCI platform driver

2012-10-03 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-cns3xxx.c | 166 --- drivers/usb/host/ohci-hcd.c |5 -- 3

[PATCH 23/25] USB: ohci: remove OHCI SH platform driver

2012-10-03 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-sh.c | 141 --- 3 files

[PATCH 08/25] USB: ehci: remove Alchemy EHCI driver

2012-10-03 Thread Florian Fainelli
The platform code has been converted to use the ehci-platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-au1xxx.c | 184 drivers/usb/host/ehci-hcd.c|5 -- 2 files changed, 189 deletions

[PATCH 15/25] USB: ohci: remove PNX8550 OHCI driver

2012-10-03 Thread Florian Fainelli
The users have been converted to use the platform OHCI driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-pnx8550.c | 243 --- 2 files changed, 248 deletions(-) delete mode

[PATCH 03/25] USB: ehci: remove Loongson 1B EHCI driver.

2012-10-03 Thread Florian Fainelli
The platform code registering the EHCI driver now uses the platform EHCI driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-hcd.c |5 -- drivers/usb/host/ehci-ls1x.c | 147 -- 2 files changed, 152 deletions

[PATCH 16/25] ARM: cns3xxx: use OHCI platform driver

2012-10-03 Thread Florian Fainelli
Since both the EHCI and OHCI platform drivers use the same power_{on,off} callbacks, rename them to cns3xx_usb_power_{on,off} to show that they are shared. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/arm/mach-cns3xxx/cns3420vb.c | 18 +- 1 file changed, 13

[PATCH 11/25] ARM: cns3xxx: use ehci platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/arm/mach-cns3xxx/cns3420vb.c | 44 - 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-cns3xxx/cns3420vb.c b/arch/arm/mach-cns3xxx/cns3420vb.c index 2c5fb4c..906094c

[PATCH 07/25] MIPS: Alchemy: use the ehci platform driver

2012-10-03 Thread Florian Fainelli
Use the ehci platform driver power_{on,suspend,off} callbacks to perform the USB block gate enabling/disabling as what the ehci-au1xxx.c driver does. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/alchemy/common/platform.c | 23 ++- 1 file changed, 22

[PATCH 21/25] USB: ohci: remove Netlogic XLS OHCI platform driver

2012-10-03 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-xls.c | 152 --- 2 files changed, 157 deletions(-) delete mode

[PATCH 06/25] USB: ehci: allow need_io_watchdog to be passed to ehci-platform driver

2012-10-03 Thread Florian Fainelli
And convert all the existing users of ehci-platform to specify a correct need_io_watchdog value. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/ath79/dev-usb.c |2 ++ arch/mips/loongson1/common/platform.c |1 + arch/mips/netlogic/xlr/platform.c |1

[PATCH 14/25] MIPS: PNX8550: use OHCI platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/pnx8550/common/platform.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/mips/pnx8550/common/platform.c b/arch/mips/pnx8550/common/platform.c index 5264cc0..0a8faea

[PATCH 01/25] USB: ehci: remove IXP4xx EHCI driver

2012-10-03 Thread Florian Fainelli
This driver is not registered by any in-tree user. If needed it can easily be registered using the ehci-platform driver with caps_offset set to 0x100. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-hcd.c|5 -- drivers/usb/host/ehci-ixp4xx.c | 139

[PATCH 24/25] MIPS: Alchemy: use the OHCI platform driver

2012-10-03 Thread Florian Fainelli
This also greatly simplifies the power_{on,off} callbacks and make them work on platform device id instead of checking the OHCI controller base address like what was done in ohci-au1xxx.c. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/alchemy/common/platform.c | 31

[PATCH 10/25] USB: ehci: remove Octeon EHCI driver

2012-10-03 Thread Florian Fainelli
Users of this driver have been converted to use the ehci platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig |8 +- drivers/usb/host/ehci-octeon.c | 203 2 files changed, 6 insertions

[PATCH 13/25] USB: ohci: allow platform driver to specify the number of ports

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-platform.c |4 include/linux/usb/ohci_pdriver.h |2 ++ 2 files changed, 6 insertions(+) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index e24ec9f..1caaf65 100644

[PATCH 05/25] USB: ehci: remove Netlogic XLS EHCI driver

2012-10-03 Thread Florian Fainelli
The platform code has been migrated to use the ehci-platform driver. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-hcd.c |5 -- drivers/usb/host/ehci-xls.c | 142 --- 2 files changed, 147 deletions(-) delete mode

[PATCH 14/25] MIPS: PNX8550: useOHCI platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/pnx8550/common/platform.c | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/mips/pnx8550/common/platform.c b/arch/mips/pnx8550/common/platform.c index 5264cc0..0a8faea

[PATCH 09/25] MIPS: Octeon: use ehci-platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/cavium-octeon/octeon-platform.c | 43 - 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c index

[PATCH 22/25] sh: convert boards to use the OHCI platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- 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 +- 4 files changed, 20

[PATCH 02/25] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-03 Thread Florian Fainelli
The Loongson 1B EHCI driver does nothing more than what the EHCI platform driver already does, so use the generic implementation. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/configs/ls1b_defconfig |1 + arch/mips/loongson1/common/platform.c |8 +++- 2 files

[PATCH 18/25] MIPS: Octeon: use OHCI platform driver

2012-10-03 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/cavium-octeon/octeon-platform.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c index

[PATCH 12/25] USB: ehci: remove CNS3xxx EHCI platform driver

2012-10-03 Thread Florian Fainelli
The users have been converted to use the ehci platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig|6 +- drivers/usb/host/ehci-cns3xxx.c | 155 --- drivers/usb/host/ehci-hcd.c | 10 --- 3

[PATCH 25/25] USB: ohci: remove Alchemy OHCI platform driver.

2012-10-03 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead. The driver was also doing quirky things with the internal OHCI hcd structure during suspend/resume, work that is taken care of by the core OHCI code in ohci-hub.c. Signed-off-by: Florian Fainelli flor...@openwrt.org

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

2012-10-03 Thread Florian Fainelli
this series goes in, I will tackle the remaining drivers making use of clocks and add Device Tree support to the EHCI/OHCI platform drivers. Thanks! Florian Fainelli (25): USB: ehci: remove IXP4xx EHCI driver MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x. USB: ehci: remove Loongson

Re: [PATCH 07/25] MIPS: Alchemy: use the ehci platform driver

2012-10-03 Thread Florian Fainelli
On Wednesday 03 October 2012 17:14:21 Manuel Lauss wrote: On Wed, Oct 3, 2012 at 5:03 PM, Florian Fainelli flor...@openwrt.org wrote: Use the ehci platform driver power_{on,suspend,off} callbacks to perform the USB block gate enabling/disabling as what the ehci-au1xxx.c driver does

[PATCH 19/25] USB: ohci: remove Octeon OHCI platform driver

2012-10-03 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/Kconfig |6 +- drivers/usb/host/ohci-hcd.c|5 - drivers/usb/host/ohci-octeon.c | 214 3

Re: [PATCH 24/25] MIPS: Alchemy: use the OHCI platform driver

2012-10-03 Thread Florian Fainelli
On Wednesday 03 October 2012 17:21:37 Manuel Lauss wrote: On Wed, Oct 3, 2012 at 5:03 PM, Florian Fainelli flor...@openwrt.org wrote: This also greatly simplifies the power_{on,off} callbacks and make them work on platform device id instead of checking the OHCI controller base address like

Re: [PATCH 06/25] USB: ehci: allow need_io_watchdog to be passed to ehci-platform driver

2012-10-03 Thread Florian Fainelli
On Wednesday 03 October 2012 12:01:22 Alan Stern wrote: On Wed, 3 Oct 2012, Florian Fainelli wrote: And convert all the existing users of ehci-platform to specify a correct need_io_watchdog value. IMO (and I realize that not everybody agrees), the patch description should

Re: [PATCH 24/25] MIPS: Alchemy: use the OHCI platform driver

2012-10-03 Thread Florian Fainelli
On Wednesday 03 October 2012 18:07:28 Manuel Lauss wrote: On Wed, Oct 3, 2012 at 5:03 PM, Florian Fainelli flor...@openwrt.org wrote: This also greatly simplifies the power_{on,off} callbacks and make them work on platform device id instead of checking the OHCI controller base address like

Re: [PATCH 09/25] MIPS: Octeon: use ehci-platform driver

2012-10-03 Thread Florian Fainelli
On Wednesday 03 October 2012 09:45:48 David Daney wrote: On 10/03/2012 08:03 AM, Florian Fainelli wrote: Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/cavium-octeon/octeon-platform.c | 43 - 1 file changed, 42 insertions(+), 1 deletion

Re: [PATCH 04/25] MIPS: Netlogic: use ehci-platform driver

2012-10-04 Thread Florian Fainelli
On Wednesday 03 October 2012 12:47:58 Alan Stern wrote: On Wed, 3 Oct 2012, Florian Fainelli wrote: Signed-off-by: Florian Fainelli flor...@openwrt.org IMO, patches should always have a non-empty changelog. Even if it is relatively trivial. The same comment applies to several other

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

2012-10-04 Thread Florian Fainelli
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

[PATCH 04/24 v2] MIPS: Netlogic: use ehci-platform driver

2012-10-04 Thread Florian Fainelli
The EHCI platform driver is suitable for use by the Netlogic XLR platform since there is nothing specific that the EHCI XLR platform driver does. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - really change driver name to ehci-platform - slightly reworded commit

[PATCH 08/24 v2] USB: EHCI: remove Alchemy EHCI driver

2012-10-04 Thread Florian Fainelli
The platform code has been converted to use the ehci-platform driver instead thus obsoleting the ehci-au1xxx driver, which can be removed. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - reworded commit message drivers/usb/host/ehci-au1xxx.c | 184

[PATCH 10/24 v2] USB: EHCI: remove CNS3xxx EHCI platform driver

2012-10-04 Thread Florian Fainelli
The users have been converted to use the ehci platform driver instead, thus making the ehci-cns3xxx driver obsolete, so remove it. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - only remove the corresponding chunk from ehci-hcd drivers/usb/host/Kconfig|6

[PATCH 18/24 v2] USB: OHCI: remove CNS3xxx OHCI platform driver

2012-10-04 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-cns3xxx, so remove it. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - reworded commit message drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-cns3xxx.c | 166

[PATCH 21/24 v2] sh: convert boards to use the OHCI platform driver

2012-10-04 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- No changes since v1 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 +- 4

[PATCH 23/24 v2] MIPS: Alchemy: use the OHCI platform driver

2012-10-04 Thread Florian Fainelli
controller base address like what was done in ohci-au1xxx.c. Impacted defconfigs are also updated accordingly to select the OHCI platform driver. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - updated defconfigs accordingly - really instantiate ohci-platform instead

[PATCH 24/24 v2] USB: OHCI: remove Alchemy OHCI platform driver.

2012-10-04 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-au1xxx obsolete, remove it. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - rebased on top of the latest OHCI HCD changes drivers/usb/host/ohci-au1xxx.c | 234

[PATCH 22/24 v2] USB: OHCI: remove OHCI SH platform driver

2012-10-04 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-sh obsolete, so remove it. Signed-off-by: Florian Fainelli flor...@openwrt.org --- No changes since v1 drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-sh.c

[PATCH 19/24 v2] MIPS: Netlogic: convert to use OHCI platform driver

2012-10-04 Thread Florian Fainelli
The OHCI platform driver is suitable for use by the Netlogic XLR platform so use this driver instead of the OHCI XLS platform driver. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - really make the code register the ohci-platform driver instead of ohci-xls arch/mips

[PATCH 16/24 v2] USB: OHCI: remove PNX8550 OHCI driver

2012-10-04 Thread Florian Fainelli
The users have been converted to use the platform OHCI driver instead, thus making the ohci-pnx8550 driver obsolete, so remove it. Signed-off-by: Florian Fainelli flor...@openwrt.org --- No changes since v1 drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-pnx8550.c | 243

[PATCH 17/24 v2] ARM: cns3xxx: use OHCI platform driver

2012-10-04 Thread Florian Fainelli
Since both the EHCI and OHCI platform drivers use the same power_{on,off} callbacks, rename them to cns3xx_usb_power_{on,off} to show that they are shared. Signed-off-by: Florian Fainelli flor...@openwrt.org --- No changes since v1 arch/arm/mach-cns3xxx/cns3420vb.c | 18 +- 1

[PATCH 11/24 v2] USB: ohci: allow platform driver to specify the number of ports

2012-10-04 Thread Florian Fainelli
Signed-off-by: Florian Fainelli flor...@openwrt.org --- No changes since v1 drivers/usb/host/ohci-platform.c |4 include/linux/usb/ohci_pdriver.h |2 ++ 2 files changed, 6 insertions(+) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index e24ec9f

  1   2   3   >