[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 Signed-off-by: Florian Fainelli --- Changes in v3: - added

[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

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

2013-04-04 Thread Florian Fainelli
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 Signed-off-by: Florian Fainelli --- Changes in v2: - added Alan's Acked-by tag Changes since RFC: - dropped default

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

2013-04-04 Thread Florian Fainelli
g USB" item. No functionnal change is introduced. Signed-off-by: Florian Fainelli --- 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" c

[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 Signed-off-by: Florian Fainelli --- Changes in v3: - added Alan's Acked-by tag drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

[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 a

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 and

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/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

[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 --- drivers/usb/host/Kconfig | 51

[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

[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 --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index

[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 on

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

2013-04-02 Thread Florian Fainelli
g USB" item. No functionnal change is introduced. Signed-off-by: Florian Fainelli --- 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

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 2/5 v2] USB: remove USB_EHCI_BIG_ENDIAN_{DESC,MMIO} depends on architecture symbol

2013-04-02 Thread Florian Fainelli
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 --- Changes since RFC: - dropped default n for USB_EHCI_BIG_ENDIAN_{MMIO_DESC} as it is the default - properly

[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 --- drivers/usb/host/Kconfig | 51

[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

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

2013-04-02 Thread Florian Fainelli
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 --- Changes since RFC: - dropped default n for USB_EHCI_BIG_ENDIAN_{MMIO_DESC} as it is the default - properly

[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 --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index

[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 on

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

2013-04-02 Thread Florian Fainelli
g USB" item. No functionnal change is introduced. Signed-off-by: Florian Fainelli --- 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/Kconf

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

[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 --- drivers/usb/Kconfig|7 +-- drivers/usb/atm/Kconfig|2

[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

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

2013-03-26 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 --- drivers/usb/host/Kconfig | 51

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

2013-03-26 Thread Florian Fainelli
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 --- arch/arm/Kconfig|2 ++ arch/mips/Kconfig |3 +++ arch/powerpc

[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 --- drivers/usb/host/Kconfig |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index

[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

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 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 deserve their own prelimin

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

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 08/13] MIPS: BCM63XX: introduce BCM63XX_EHCI configuration symbol

2013-01-28 Thread Florian Fainelli
Le 28/01/2013 20:29, David Daney a écrit : On 01/28/2013 11:06 AM, Florian Fainelli wrote: This configuration symbol can be used by CPUs supporting the on-chip EHCI controller, and ensures that all relevant EHCI-related configuration options are selected. So far BCM6328, BCM6358 and BCM6368

[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 --- 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 index 23b1ffd..b899359

[PATCH 00/13] MIPS: BCM63XX: support for OHCI and EHCI integrated controllers

2013-01-28 Thread Florian Fainelli
and 12 have been volontarily splitted so they do not block the merging of the 10 first patches. Thanks! Florian Fainelli (13): MIPS: BCM63XX: add USB host clock enable delay MIPS: BCM63XX: add USB device clock enable delay to clock code MIPS: BCM63XX: move code touching the USB private register

[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 --- arch/mips/bcm63xx/boards

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

2013-01-28 Thread Florian Fainelli
Broadcom BCM63XX SoCs include an on-chip OHCI controller which can be driven by the ohci-platform generic driver by using specific power on/off/suspend callback to manage clocks and hardware specific configuration. Signed-off-by: Maxime Bizon Signed-off-by: Florian Fainelli --- arch/mips

[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 --- drivers/usb/host

[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 Signed-off-by: Florian Fainelli --- arch/mips

[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 --- arch/mips/configs/bcm63xx_defconfig | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/arch/mips

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

2013-01-28 Thread Florian Fainelli
exposed helper will not be called concurrently. Signed-off-by: Maxime Bizon Signed-off-by: Florian Fainelli --- arch/mips/bcm63xx/usb-common.c | 97 .../include/asm/mach-bcm63xx/bcm63xx_usb_priv.h|2 + 2 files changed, 99 insertions(+) diff --git a

[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 --- arch/mips/bcm63xx/dev-usb-ehci.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/bcm63xx/dev-usb-ehci.c b/arch/mips

[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 --- arch/mips/bcm63xx/boards

[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 --- arch/mips

[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 --- arch/mips

[PATCH 02/13] MIPS: BCM63XX: add USB device clock enable delay to clock code

2013-01-28 Thread Florian Fainelli
This patch adds the required 10 micro seconds delay to the USB device clock enable operation. Put this where the correct clock knowledege is, which is in the clock code, and remove this delay from the bcm63xx_udc gadget driver where it was before. Signed-off-by: Florian Fainelli --- arch/mips

[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 --- arch/mips/bcm63xx/clk.c |5 + 1 file changed

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

2013-01-15 Thread Florian Fainelli
ccessfully tested this serie on a Marvell RD-A370-A1 and a DB-MV784MP-GP: Tested-by: Florian Fainelli 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 > ar

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 HAVE_SM

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-24 Thread Florian Fainelli
On Wednesday 24 October 2012 14:04:12 Alan Stern wrote: > On Wed, 24 Oct 2012, Florian Fainelli wrote: > > > As long as no one enables both ehci-platform and ehci-ppc-of at the same > > time > > there is no problem. ehci-ppc-of should be removed in favor of ehci-platfor

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-24 Thread Florian Fainelli
On Wednesday 24 October 2012 12:54:05 Alan Stern wrote: > On Wed, 24 Oct 2012, Stephen Warren wrote: > > > Device tree files always need a completely specific value in the > > compatible property, even when less-specific/more-generic values are > > also present. So for example, the Linux driver mi

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-24 Thread Florian Fainelli
On Wednesday 24 October 2012 12:38:42 Alan Stern wrote: > On Wed, 24 Oct 2012, Stephen Warren wrote: > > > On 10/24/2012 09:26 AM, Sebastian Andrzej Siewior wrote: > > > On Wed, Oct 24, 2012 at 10:57:00AM -0400, Alan Stern wrote: > > >> Under the circumstances, do we really need a new binding docu

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-24 Thread Florian Fainelli
On Wednesday 24 October 2012 10:16:31 Stephen Warren wrote: > On 10/24/2012 09:26 AM, Sebastian Andrzej Siewior wrote: > > On Wed, Oct 24, 2012 at 10:57:00AM -0400, Alan Stern wrote: > >> Under the circumstances, do we really need a new binding document for > >> the ehci-platform driver? > > It s

Re: [PATCH 03/32 v4] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-23 Thread Florian Fainelli
On Tuesday 23 October 2012 10:20:15 Alan Stern wrote: > On Tue, 23 Oct 2012, Florian Fainelli wrote: > > > Hi Kelvin, > > > > On Tuesday 23 October 2012 16:13:01 Kelvin Cheung wrote: > > > Thank Florian. > > > It looks great. > > > How

[PATCH] MIPS: Alchemy: update development boards defconfigs with USB platform drivers

2012-10-23 Thread Florian Fainelli
. Signed-off-by: Florian Fainelli --- arch/mips/configs/db1235_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/db1235_defconfig b/arch/mips/configs/db1235_defconfig index c48998f..14752dd 100644 --- a/arch/mips/configs/db1235_defconfig +++ b/arch/mips/configs

[PATCH] USB: OHCI: sm501: fix build failure after ohci_finish_controller_resume removal

2012-10-23 Thread Florian Fainelli
esume': drivers/usb/host/ohci-sm501.c:241:2: error: implicit declaration of function 'ohci_finish_controller_resume' [-Werror=implicit-function-declaration] Reported-by: Fengguang Wu Signed-off-by: Florian Fainelli --- drivers/usb/host/ohci-sm501.c |2 +- 1 file changed, 1 inse

Re: [PATCH 03/32 v4] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-23 Thread Florian Fainelli
On Tuesday 23 October 2012 10:46:50 Florian Fainelli wrote: > Hi Kelvin, > > On Tuesday 23 October 2012 16:13:01 Kelvin Cheung wrote: > > Thank Florian. > > It looks great. > > However, you forget to remove corresponding section in > > drivers/usb/h

Re: [PATCH 03/32 v4] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-23 Thread Florian Fainelli
quot; > #define PLATFORM_DRIVER ehci_ls1x_driver > #endif Indeed, my bad I will follow up with some fixes for this patchset anyway. Thank you! > ... > > 2012/10/8 Florian Fainelli > > > The Loongson 1B EHCI driver does nothing more than what the EHCI platform > > driver alread

Re: [PATCH v2 2/2] USB: doc: Binding document for ehci-platform driver

2012-10-21 Thread Florian Fainelli
Le dimanche 21 octobre 2012 00:10:32, Tony Prisk a écrit : > Add a binding document for ehci-platform driver. > > Signed-off-by: Tony Prisk > --- > .../devicetree/bindings/usb/ehci-platform.txt | 27 > 1 file changed, 27 insertions(+) > create mode 100644 Documentatio

Re: [PATCH 1/2] USB: Update EHCI-platform driver to devicetree.

2012-10-20 Thread Florian Fainelli
Hi Tony, On Saturday 20 October 2012 16:17:32 Tony Prisk wrote: > This patch adds devicetree support to the EHCI-platform driver, > and removes the now unneeded ehci-vt8500.c > > Existing platform properties are maintained, with the exception > the power_(on/off) and suspend function pointers. O

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

2012-10-08 Thread Florian Fainelli
On Monday 08 October 2012 11:58:35 Alan Stern wrote: > On Mon, 8 Oct 2012, Florian Fainelli wrote: > > > Hi all, > > > > This patch series contains EHCI and OHCI platform drivers conversions, > > allowing quite some EHCI and OHCI platform drivers to be deleted. &

[PATCH 04/32 v4] USB: EHCI: remove Loongson 1B EHCI driver.

2012-10-08 Thread Florian Fainelli
The platform code registering the Loongson 1B EHCI driver has now been converted to register the ehci-platform driver instead, thus obsoleting the ehci-ls1x driver, which can be removed. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next No changes

[PATCH 07/32 v4] USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform

2012-10-08 Thread Florian Fainelli
dog off. Make sure that we change need_io_watchdog after the call to ehci_setup() because ehci_setup() will unconditionnaly set need_io_watchdog to 1. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next Changes in v3: - set need_io_watchdog after the

[PATCH 10/32 v4] ARM: cns3xxx: use ehci platform driver

2012-10-08 Thread Florian Fainelli
This patch converts the cns3xxx platform to use the ehci-platform driver instead of the ehci-cns3xxx platform driver. The ehci-platform driver is provided with power_{on,off} callbacks to ensure proper block gating and USB configuration of the EHCI controller. Signed-off-by: Florian Fainelli

[PATCH 17/32 v4] USB: OHCI: remove PNX8550 OHCI driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v2 and v3 drivers/usb/host/ohci-hcd.c |

[PATCH 18/32 v4] ARM: cns3xxx: use OHCI platform driver

2012-10-08 Thread Florian Fainelli
the same same power_{on,off} callbacks now, rename them to cns3xx_usb_power_{on,off} to show that they are shared. Signed-off-by: Florian Fainelli --- Changes in v4: - rebase against greg's latest usb-next Changes in v3: - improved commit message to give backround on the patch ordering a

[PATCH 19/32 v4] USB: OHCI: remove CNS3xxx OHCI platform driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/Kc

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

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - really make the code registe

[PATCH 21/32 v4] USB: OHCI: remove Netlogic XLS OHCI platform driver

2012-10-08 Thread Florian Fainelli
All users have been converted to use the OHCI platform driver instead, thus making ohci-xls obsolete, remove it. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/ohci-

[PATCH 13/32 v3] USB: ohci: move ohci_pci_{suspend,resume} to ohci-hcd.c

2012-10-08 Thread Florian Fainelli
within an #ifdef CONFIG_PM / #endif section. Signed-off-by: Florian Fainelli --- Changes in v3: - moved ohci_{suspend,resume} within a #ifdef CONFIG_PM block as needed - rebased against greg's latest usb-next Changes in v2: - moved ohci_{suspend,resume} out of the #ifdef CONFIG_PM

[PATCH 14/32 v3] USB: ohci: remove check for RH already suspended in ohci_suspend

2012-10-08 Thread Florian Fainelli
As suggested by Alan Stern, the code checking for the OHCI RH already suspended is no longer required since the bug it fixes has not been seen in ages. Remove that check making ohci_suspend much simpler. Signed-off-by: Florian Fainelli --- Changes in v3: - rebased against greg's latest usb

[PATCH 16/32 v4] MIPS: PNX8550: use OHCI platform driver

2012-10-08 Thread Florian Fainelli
Change the PNX8550 platform code to register an ohci-platform driver instead of ohci-pnx8550 since the ohci-platform is suitable for use. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next No changes in v2 and v3 arch/mips/pnx8550/common/platf

[PATCH 09/32 v4] USB: EHCI: remove Alchemy EHCI driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - reworded commit me

[PATCH 08/32 v4] MIPS: Alchemy: use the ehci platform driver

2012-10-08 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. Update the db1200 and db1300 defconfigs to now select the EHCI platform driver. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased

[PATCH 05/32 v4] MIPS: Netlogic: use ehci-platform driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - really change d

[PATCH 01/32 v4] USB: EHCI: remove IXP4xx EHCI driver

2012-10-08 Thread Florian Fainelli
This driver is not registered by any in-tree user. If needed it the EHCI driver can be reinstatied using the ehci-platform driver with caps_offset to 0x100. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - sli

[PATCH 03/32 v4] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes since v1 arch/mips/configs/ls1b_defconfig |

[PATCH 26/32 v2] USB: move common alchemy USB routines to arch/mips/alchemy/common.c

2012-10-08 Thread Florian Fainelli
. This change was suggested by Manuel Lauss. Signed-off-by: Florian Fainelli --- Changes in v2: - rebased against greg's latest usb-next arch/mips/alchemy/common/Makefile |2 +- .../mips/alchemy/common/usb.c |0 drivers/usb/host/Mak

[PATCH 27/32 v2] USB: EHCI: make ehci-platform use dev_err() instead of pr_err()

2012-10-08 Thread Florian Fainelli
This patch converts the ehci-platform driver to make use of the dev_err() functions instead of pr_err(). Signed-off-by: Florian Fainelli --- Changes in v2: - rebased against greg's latest usb-next drivers/usb/host/ehci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 dele

[PATCH 32/32 v3] USB: OHCI: make ohci-platform use devm_request_and_ioremap helper

2012-10-08 Thread Florian Fainelli
memory resources. devm_request_and_ioremap() will use either the ioremap() or ioremap_nocache() handler depending on the resource's CACHEABLE flag, so we are good with this change. Signed-off-by: Florian Fainelli --- Changes in v3: - rebased against greg's latest usb-next Changes in

[PATCH 29/32 v2] USB: EHCI: fix typo in ehci-platform driver on the word "resource"

2012-10-08 Thread Florian Fainelli
Fix the obvious typo in the error message, we meant to write "resource" instead of "recourse". Signed-off-by: Florian Fainelli --- Changes in v2: - rebased against greg's latest usb-next drivers/usb/host/ehci-platform.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 28/32 v2] USB: OHCI: make ohci-platform use dev_err() instead of pr_err()

2012-10-08 Thread Florian Fainelli
This patch converts the ohci-platform driver to use dev_err() functions instead of pr_err(). Signed-off-by: Florian Fainelli --- Changes since v2: - rebased against greg's latest usb-next drivers/usb/host/ohci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 30/32 v2] USB: OHCI: fix typo in ohci-platform driver on the word "resource"

2012-10-08 Thread Florian Fainelli
We meant to write "resource" instead of "recourse", this patch fixes this typo. Signed-off-by: Florian Fainelli --- Changes in v2: - rebased against greg's latest usb-next drivers/usb/host/ohci-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 31/32 v3] USB: EHCI: make ehci-platform use devm_request_and_ioremap helper

2012-10-08 Thread Florian Fainelli
memory resources. devm_request_and_ioremap() will use either the ioremap() or ioremap_nocache() handler depending on the resource's CACHEABLE flag, so we are good with this change. Signed-off-by: Florian Fainelli --- Changes in v3: - rebased against greg's latest usb-next Changes in

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

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - rebased on top of the latest OHCI HCD ch

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

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - updated defco

[PATCH 23/32 v4] USB: OHCI: remove OHCI SH platform driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v2 and v3 drivers/usb/host/Kconfig|6 +- drivers/usb/host

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

2012-10-08 Thread Florian Fainelli
This patch makes all SuperH boards using the ohci-sh platform driver to use the ohci-platform driver instead, which is suitable for use by these boards. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next Changes in v3: - improved commit messag

[PATCH 12/32 v4] USB: ohci: allow platform driver to specify the number of ports

2012-10-08 Thread Florian Fainelli
This patch modifies the ohci platform driver to accept the num_ports parameter to be set via platform_data. Setting the number of ports must be done after the call to ohci_hcd_init(). Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next Changes

[PATCH 11/32 v4] USB: EHCI: remove CNS3xxx EHCI platform driver

2012-10-08 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 --- Changes in v4: - rebased against greg's latest usb-next No changes in v2 and v3 Changes in v1: - only remove the correspo

[PATCH 15/32 v3] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-08 Thread Florian Fainelli
ohci_resume(). Acked-by: Jingoo Han Acked-by: Nicolas Ferre Signed-off-by: Florian Fainelli --- Changes in v3: - rebased against greg's latest usb-next Changes in v2: - added Nicolas and Jingoo's Acked-by drivers/usb/host/ohci-at91.c |2 +- drivers/usb/host/ohci-ep93xx.c |2 +

[PATCH 06/32 v4] USB: EHCI: remove Netlogic XLS EHCI driver

2012-10-08 Thread Florian Fainelli
The platform code has been migrated to register the ehci-platform driver, thus obsoleting the ehci-xls driver, which can be removed. Signed-off-by: Florian Fainelli --- Changes in v4: - rebased against greg's latest usb-next No changes in v3 Changes in v2: - reworded commit message dr

[PATCH 02/32 v2] USB: OHCI: remove ohci-pcc-soc driver.

2012-10-08 Thread Florian Fainelli
= 1 Signed-off-by: Florian Fainelli --- Changes since v1: - removed USB_OHCI_HCD_PPC_SOC Kconfig symbol - rebased against greg's latest usb-next drivers/usb/host/Kconfig| 10 -- drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-ppc-soc.c |

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

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

[PATCH 32/32 v2] USB: OHCI: make ohci-platform use devm_request_and_ioremap helper

2012-10-05 Thread Florian Fainelli
memory resources. devm_request_and_ioremap() will use either the ioremap() or ioremap_nocache() handler depending on the resource's CACHEABLE flag, so we are good with this change. Signed-off-by: Florian Fainelli --- Changes since v2: - use devm_request_and_ioremap instead of two calls dr

[PATCH 31/32 v2] USB: EHCI: make ehci-platform use devm_request_and_ioremap helper

2012-10-05 Thread Florian Fainelli
memory resources. devm_request_and_ioremap() will use either the ioremap() or ioremap_nocache() handler depending on the resource's CACHEABLE flag, so we are good with this change. Signed-off-by: Florian Fainelli --- Changes in v2 - use devm_request_and_ioremap instead of two calls driver

[PATCH 02/32] USB: OHCI: remove ohci-pcc-soc driver.

2012-10-05 Thread Florian Fainelli
= 1 Signed-off-by: Florian Fainelli --- drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-ppc-soc.c | 216 --- 2 files changed, 221 deletions(-) delete mode 100644 drivers/usb/host/ohci-ppc-soc.c diff --git a/drivers/usb/host/ohci-hcd.c b/drivers

[PATCH 05/32 v3] MIPS: Netlogic: use ehci-platform driver

2012-10-05 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 --- No changes in v3 Changes in v2: - really change driver name to "ehci-platform" - slightly reworded comm

[PATCH 07/32 v3] USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform

2012-10-05 Thread Florian Fainelli
dog off. Make sure that we change need_io_watchdog after the call to ehci_setup() because ehci_setup() will unconditionnaly set need_io_watchdog to 1. Signed-off-by: Florian Fainelli --- Changes in v3: - set need_io_watchdog after the call to ehci_setup() Changes in v2: - reworked patch to introd

[PATCH 03/32 v3] MIPS: Loongson 1B: use ehci-platform instead of ehci-ls1x.

2012-10-05 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 --- No changes since v1 arch/mips/configs/ls1b_defconfig |1 + arch/mips/loongson1/common/platform.c |8 +++- 2

<    1   2   3   >