Re: [PATCH] drivers: PMC MSP71xx LED driver

2007-03-13 Thread Florian Fainelli
pins. + */ +static inline void msp_led_enable(u16 led) +{ + msp_led_set_direction(led, MSP_LED_OUTPUT); +} + +static inline void msp_led_disable(u16 led) +{ + msp_led_set_direction(led, MSP_LED_INPUT); +} + +#endif /* !__MSP_LED_MACROS_H__ */ -- Cordialement, Florian Fainelli

Re: [RFC, PATCH] watchdog on gpio

2008-01-11 Thread Florian Fainelli
-experimental.git;a=commit;h=732c54027e6c866f98857c4a6d1c6c466459dcd5 Maybe you can save some code ? -- Cordialement, Florian Fainelli -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [RFC, PATCH, take 2] watchdog on generic gpio

2008-01-14 Thread Florian Fainelli
! -- Cordialement, Florian Fainelli -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [RFC, PATCH, take 2] watchdog on generic gpio

2008-01-14 Thread Florian Fainelli
of it if any generic gpio wathchdog driver can fit my needs and others. As a general comments, Wim did not answer yet, I would like to hear from him. -- Cordialement, Florian Fainelli -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86

2007-10-25 Thread Florian Fainelli
Hi, Le jeudi 25 octobre 2007, Thomas Gleixner a écrit : It might be useful for everyone to check, whether the existing GPIO functionality can be extended, reworked to match the needs of Geode as well. Extending / reworking an existing interface is definitely better than adding a new

[PATCH 2/4 resend] pci.h : Add PCI identifiers for the RDC devices

2007-10-18 Thread Florian Fainelli
This patch defines the PCI identifiers found in the RDC R-321x System-on-Chip. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] --- include/linux/pci_ids.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) --- diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index

[PATCH 1/4 resend] [x86] Add generic GPIO support to x86

2007-10-18 Thread Florian Fainelli
This patch adds the generic GPIO support to the x86 architecture. We do the same as for MIPS, we let the machine override the gpio callbacks and provide defaults one in mach-generic. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] --- arch/i386/Kconfig |4 include

[PATCH 3/4 resend] [x86] : Add support for the RDC R-321x SoC

2007-10-18 Thread Florian Fainelli
This patch adds support for the RDC R-321x system-on-chip, also known as R-861x-(G). It uses the generic GPIO API and has support for the on-chip hardware watchdog. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] --- arch/i386/Kconfig | 13 ++- arch/i386/Makefile

[PATCH 4/4 resend] [x86] : Add the RDC machine specific reboot fixup

2007-10-18 Thread Florian Fainelli
The RDC R-321x SoC needs a reboot fixup which uses its internal hardware watchdog set to reset the CPU on next tick. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] --- arch/x86/kernel/reboot_fixups_32.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) --- diff --git

Re: [PATCH 4/4 resend] [x86] : Add the RDC machine specific reboot fixup

2007-10-18 Thread Florian Fainelli
This one also had the attachment, sorry for the noise. The RDC R-321x SoC needs a reboot fixup which uses its internal hardware watchdog set to reset the CPU on next tick. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] ---  arch/x86/kernel/reboot_fixups_32.c |   14 ++  1 files

Re: [PATCH 2/4 resend] pci.h : Add PCI identifiers for the RDC devices

2007-10-18 Thread Florian Fainelli
I forgot to remove the attachment on this one, sorry. This patch defines the PCI identifiers found in the RDC R-321x System-on-Chip. Signed-off-by: Florian Fainelli [EMAIL PROTECTED] ---  include/linux/pci_ids.h |    7 +++  1 files changed, 7 insertions(+), 0 deletions(-) --- diff --git

Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86

2007-10-19 Thread Florian Fainelli
Hi Andres, Le jeudi 18 octobre 2007, Andres Salomon a écrit : While I certainly would like to see a generic GPIO API, this one isn't really useful for geode GPIOs. It would be nice to have one that did work for us as well. Unfortunately, I haven't had the chance to give much thought to this

Re: [PATCH 1/4 resend] [x86] Add generic GPIO support to x86

2007-10-22 Thread Florian Fainelli
. -- Cordialement, Florian Fainelli -- - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

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 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 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 01/24 v2] USB: EHCI: remove IXP4xx EHCI driver

2012-10-04 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 flor...@openwrt.org --- Changes since v1: - slightly reworded commit message drivers/usb/host/ehci-hcd.c

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

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

[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 07/24 v2] MIPS: Alchemy: use the ehci platform driver

2012-10-04 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 flor...@openwrt.org --- Changes

[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

[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 20/24 v2] USB: OHCI: remove Netlogic XLS OHCI platform driver

2012-10-04 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 flor...@openwrt.org --- Changes since v1: - reworded commit message drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-xls.c | 152

[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 14/24] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-04 Thread Florian Fainelli
by ohci_resume(). Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-at91.c |2 +- drivers/usb/host/ohci-ep93xx.c |2 +- drivers/usb/host/ohci-exynos.c |5 + drivers/usb/host/ohci-hcd.c | 41 +++-- drivers/usb/host/ohci

[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 05/24 v2] USB: EHCI: remove Netlogic XLS EHCI driver

2012-10-04 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 flor...@openwrt.org --- Changes since v1: - reworded commit message drivers/usb/host/ehci-hcd.c |5 -- drivers/usb/host/ehci

[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 15/24 v2] MIPS: PNX8550: use OHCI platform driver

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

[PATCH 13/24] USB: ohci: remove check for RH already suspended in ohci_suspend

2012-10-04 Thread Florian Fainelli
As suggested by Alan Stern, the code checking for the OHCI Root Hub 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 flor...@openwrt.org --- drivers/usb/host/ohci-hcd.c

[PATCH 12/24] USB: ohci: move ohci_pci_{suspend,resume} to ohci-hcd.c

2012-10-04 Thread Florian Fainelli
-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-hcd.c | 39 +++ drivers/usb/host/ohci-pci.c | 43 ++- 2 files changed, 41 insertions(+), 41 deletions(-) diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb

[PATCH 09/24 v2] ARM: cns3xxx: use ehci platform driver

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

[PATCH 06/24 v2] USB: EHCI: add no_io_watchdog platform_data parameter to ehci-platform

2012-10-04 Thread Florian Fainelli
off. Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - reworked patch to introduce no_io_watchdog instead of need_io_watchdog - reworded commit message accordingly drivers/usb/host/ehci-platform.c |2 ++ include/linux/usb/ehci_pdriver.h |3 +++ 2 files changed, 5

[PATCH 03/24 v2] USB: EHCI: remove Loongson 1B EHCI driver.

2012-10-04 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 flor...@openwrt.org --- Changes since v1: - reworded commit message drivers

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

2012-10-05 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 flor...@openwrt.org --- No changes in v3 Changes in v2: - slightly reworded commit message drivers/usb

[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 flor...@openwrt.org --- No changes since v1 arch/mips/configs/ls1b_defconfig |1 + arch/mips/loongson1/common/platform.c

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

2012-10-05 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 flor...@openwrt.org --- Changes in v2: - reworded commit message drivers/usb/host/ehci-hcd.c |5 -- drivers/usb/host/ehci

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

2012-10-05 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 flor...@openwrt.org --- No changes

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

2012-10-05 Thread Florian Fainelli
by ohci_resume(). Acked-by: Jingoo Han jg1@samsung.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - added Nicolas and Jingoo's Acked-by drivers/usb/host/ohci-at91.c |2 +- drivers/usb/host/ohci-ep93xx.c |2

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

2012-10-05 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 --- No changes in v3 Changes in v2: - really make the code register the ohci-platform driver instead of ohci

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

2012-10-05 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 flor...@openwrt.org --- Changes in v3: - improved commit message No changes between v1 and v2 arch/sh/kernel

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

2012-10-05 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 --- No changes in v3 Changes in v2: - updated defconfigs accordingly - really instantiate ohci

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

2012-10-05 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 --- No changes in v3 Changes in v2: - rebased on top of the latest OHCI HCD changes drivers/usb/host/ohci-au1xxx.c | 234

[PATCH 31/32] USB: EHCI: make ehci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
memory resources. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-platform.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 3cb0b1b..ebe92cf 100644

[PATCH 32/32] USB: OHCI: make ohci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
memory resources. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-platform.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-platform.c index 1344426..2f8c5d5 100644

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

2012-10-05 Thread Florian Fainelli
This patch converts the ohci-platform driver to use dev_err() functions instead of pr_err(). Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ohci-platform.c b

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

2012-10-05 Thread Florian Fainelli
We meant to write resource instead of recourse, this patch fixes this typo. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ohci-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci

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

2012-10-05 Thread Florian Fainelli
. This change was suggested by Manuel Lauss. Signed-off-by: Florian Fainelli flor...@openwrt.org --- arch/mips/alchemy/common/Makefile |2 +- .../mips/alchemy/common/usb.c |0 drivers/usb/host/Makefile |1 - 3 files changed, 1

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

2012-10-05 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 --- No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/ehci-au1xxx.c | 184

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

2012-10-05 Thread Florian Fainelli
-by: Florian Fainelli flor...@openwrt.org --- Changes since v1: - moved ohci_{suspend,resume} out of the #ifdef CONFIG_PM block - removed the empty CONFIG_PM #ifdef/endif block in ohci-pci.c drivers/usb/host/ohci-hcd.c | 39 +++ drivers/usb/host/ohci-pci.c | 47

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

2012-10-05 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 in v1: - only remove the corresponding chunk from ehci-hcd drivers/usb/host/Kconfig|6

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

2012-10-05 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 flor...@openwrt.org --- Changes in v3: - improved commit message drivers/usb

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

2012-10-05 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 flor...@openwrt.org --- No changes since v1 drivers/usb

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

2012-10-05 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 in v2: - reworded commit message drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-cns3xxx.c | 166

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

2012-10-05 Thread Florian Fainelli
Fix the obvious typo in the error message, we meant to write resource instead of recourse. Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers

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

2012-10-05 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 flor...@openwrt.org --- drivers/usb/host/ehci-platform.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci

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

2012-10-05 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 in v2 and v3 drivers/usb/host/Kconfig|6 +- drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci

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

2012-10-05 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 flor...@openwrt.org --- No changes in v3 Changes in v2: - reworded commit message drivers/usb/host/ohci-hcd.c |5 -- drivers/usb/host/ohci-xls.c

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

2012-10-05 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 in v2 and v3 drivers/usb/host/ohci-hcd.c |5 - drivers/usb/host/ohci-pnx8550.c | 243

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

2012-10-05 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 flor...@openwrt.org --- Changes since v2: - improved commit message to give backround on the patch ordering and to understand the commit message

Re: [PATCH 31/32] USB: EHCI: make ehci-platform use devm_{ioremap,request_mem_region} helpers

2012-10-05 Thread Florian Fainelli
! Signed-off-by: Florian Fainelli flor...@openwrt.org --- drivers/usb/host/ehci-platform.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 3cb0b1b..ebe92cf 100644

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

2012-10-05 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 flor...@openwrt.org --- No changes in v2 and v3 arch/mips/pnx8550/common/platform.c | 31 ++- 1

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

2012-10-05 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 04/32 v3] USB: EHCI: remove Loongson 1B EHCI driver.

2012-10-05 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 flor...@openwrt.org --- No changes in v3 Changes in v2: - reworded commit

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

2012-10-05 Thread Florian Fainelli
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 flor...@openwrt.org --- Changes in v3: - set need_io_watchdog after the call to ehci_setup() Changes in v2: - reworked

  1   2   3   4   5   6   7   8   9   10   >