Re: [PATCH 5/6] arm: mvebu: Enable USB controllers on Armada XP OpenBlocks AX3-4 board

2013-01-18 Thread Gregory CLEMENT
of 0xd005 to IRQ 45. I think this is 47, and 0xd0052000 is 45. Because manual has been written irq 45 is USB2. I'm sorry if if my lack of understanding or typo in the manual. It was a typo in the manual, and we have spent some time to figure it out! -- Gregory Clement, Free Electrons

[PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix a regression during gadget driver unbinding, it was no more always true. This lead to a kernel crash. This commit now use the

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-02-28 Thread Gregory CLEMENT
On 28/02/2014 16:50, Alexandre Belloni wrote: Hi Gregory, On 28/02/2014 at 15:34:01 +0100, Gregory CLEMENT wrote : The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix

Re: [PATCH] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-03-03 Thread Gregory CLEMENT
On 03/03/2014 17:33, Felipe Balbi wrote: On Fri, Feb 28, 2014 at 03:34:01PM +0100, Gregory CLEMENT wrote: The debug trace in the atmel_usba_stop function made the assumption that the driver pointer passed in parameter was not NULL. Since the commit usb: gadget: udc-core: fix a regression

[PATCH v2] usb: gadget: atmel_usba: Fix crashed during stopping when DEBUG is enabled

2014-03-03 Thread Gregory CLEMENT
: sta...@vger.kernel.org # v3.2+ Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Changelog: v1 - v2 Fixed the signature block in the commit log drivers/usb/gadget/atmel_usba_udc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget

Re: [RFC 00/50] ARM: at91: move to common clk framework

2013-06-07 Thread Gregory CLEMENT
/at91_pmc.h = include/linux/clk/at91.h (76%) ___ linux-arm-kernel mailing list linux-arm-ker...@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Free Electrons Kernel, drivers, real-time

[PATCH 3/8] xhci-platform: Add a new controller using xhci: Armada 38x

2014-04-18 Thread Gregory CLEMENT
Extend the compatible string list with xhci-armada-380. It is used to describe xhci controller which is in the Armada 38x SoCs. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH 7/8] ARM: configs: Add usb_xhci_mvebu to mvebu_v7_defconfig

2014-04-18 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in mvebu_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file

[PATCH 8/8] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig

2014-04-18 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in multi_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file

[PATCH 5/8] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x

2014-04-18 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contain two xHCI host. This commit adds the Device Tree description of those interfaces at the SoC level, and also enables the two USB3 ports on the Armada 385 DB platform and one USB3 port on the Armada 385 RD platforms. Signed-off-by: Gregory CLEMENT gregory.clem

[PATCH 6/8] ARM: mvebu: Add USB3 support for Armada 38x

2014-04-18 Thread Gregory CLEMENT
This patch add the selection of the config symbol to build the USB3 support for Armada 38x. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu

[PATCH 2/8] usb: host: xhci-plat: Add support for the Armada 38x glue code

2014-04-18 Thread Gregory CLEMENT
For the armada 38x SoCs which come with an xhci controller, specific initialization must be done during probe, especially in relation with the MBus windows initialization. This patch adds this support. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/Kconfig

[PATCH 0/8] USB3 support for Armada 38x

2014-04-18 Thread Gregory CLEMENT
. The rest of the series is more platform specific and should go through the mvebu tree, except the last patch that should be taken directly by the arm-soc maintainer. The support for Armada 375 is coming soon. Thanks, Gregory Gregory CLEMENT (8): usb: host: xhci-plat: Allow to register glue code

[PATCH 4/8] ARM: mvebu: Add USB3 UTMI support

2014-04-18 Thread Gregory CLEMENT
The usb3-utmi registers allow to configure the internal USB PHY of the Armada 380/385 SoCs. A small initialization is needed to be able to use the USB3 ports. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Makefile | 2 +- arch/arm/mach-mvebu/usb

[PATCH 1/8] usb: host: xhci-plat: Allow to register glue code using the device tree

2014-04-18 Thread Gregory CLEMENT
string can then be associated to an instance of this structure. In the non device tree case a default structure is used. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci-plat.c | 72 +--- drivers/usb/host/xhci.h

Re: [PATCH 2/8] usb: host: xhci-plat: Add support for the Armada 38x glue code

2014-04-18 Thread Gregory CLEMENT
Hi Sebastian, [...] @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2014 Marvell + * + * Gregory Clement gregory.clem...@free-electrons.com + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed as is without any + * warranty

Re: [PATCH 5/8] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x

2014-04-18 Thread Gregory CLEMENT
Hi Sebastian, On 18/04/2014 13:23, Sebastian Hesselbarth wrote: On 04/18/2014 12:22 PM, Gregory CLEMENT wrote: The Marvell Armada 38x SoCs contain two xHCI host. This commit adds the Device Tree description of those interfaces at the SoC level, and also enables the two USB3 ports on the Armada

Re: [PATCH 4/8] ARM: mvebu: Add USB3 UTMI support

2014-04-18 Thread Gregory CLEMENT
Hi Sebastian, On 18/04/2014 13:19, Sebastian Hesselbarth wrote: On 04/18/2014 12:22 PM, Gregory CLEMENT wrote: The usb3-utmi registers allow to configure the internal USB PHY of the Armada 380/385 SoCs. A small initialization is needed to be able to use the USB3 ports. Signed-off

[PATCH v2 00/18] USB support for Armada 38x and Armada 375

2014-04-25 Thread Gregory CLEMENT
with Armada 375 binding. This patches 1 to 4 and 10 to 11 should go through the xhci subsystem. The rest of the series is more platform specific and should go through the mvebu tree, except the patch 9 that should be taken directly by the arm-soc maintainer. Thanks, Gregory CLEMENT (18): usb: host

[PATCH v2 06/18] ARM: mvebu: Add Device Tree description of EHCI hosts on Armada 38x

2014-04-25 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contain one EHCI host. This commit adds the Device Tree description of this interface at the SoC level, and also enables the USB2 port on the Armada 385 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-385

[PATCH v2 18/18] ARM: mvebu: Add Device Tree description of EHCI hosts on Armada 375

2014-04-25 Thread Gregory CLEMENT
The Marvell Armada 375 SoC contains one EHCI host. This commit adds the Device Tree description of this interface at the SoC level. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 18 ++ 1 file changed, 18 insertions

[PATCH v2 17/18] ARM: mvebu: dts: Enable USB3 in Armada 375 DB

2014-04-25 Thread Gregory CLEMENT
In order to enable the USB3 host controller on the Armada 375 DB platform, we need to create a ranges at the soc node level to describe the special static window for USB3. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375-db.dts | 10 -- 1

[PATCH v2 15/18] ARM: mvebu: Add USB3 support for Armada 375

2014-04-25 Thread Gregory CLEMENT
This patch add the selection of the config symbol to build the USB3 support for Armada 375. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu

[PATCH v2 16/18] ARM: mvebu: add USB3 controller Device Tree details for Armada 375

2014-04-25 Thread Gregory CLEMENT
one ranges to describe the special window to be created but it must be done at the board level in the dts. - The usb3-controller node has two entries in the reg property, the first for XHCI, the second for the internal registers Signed-off-by: Gregory CLEMENT gregory.clem...@free

[PATCH v2 11/18] xhci-platform: Add a new controller using xhci: Armada 375

2014-04-25 Thread Gregory CLEMENT
Extend the compatible string list with armada-375-xhci. It is used to describe xhci controller which is in the Armada 375 SoC. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 12/18] ARM: mvebu: Add Device Tree description of USB cluster controller on Armada 375

2014-04-25 Thread Gregory CLEMENT
On Armada 375, the USB cluster allows to control the cluster composed of the USB2 and USB3 host controllers. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/armada

[PATCH v2 13/18] dt: binding: Armada 375 USB cluster

2014-04-25 Thread Gregory CLEMENT
Armada 375 comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- .../devicetree/bindings/arm/armada-375-usb-cluster.txt

[PATCH v2 10/18] usb: host: xhci-plat: Add support for the Armada 375

2014-04-25 Thread Gregory CLEMENT
For the Armada 375 SoC which comes with an xhci controller. Currently the quirk is the same that the Armada 380/385 one, but by introducing a new compatible string it will allow to make the driver evolve seamless. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb

[PATCH v2 09/18] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig

2014-04-25 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in multi_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file

[PATCH v2 07/18] ARM: mvebu: Add USB3 support for Armada 38x

2014-04-25 Thread Gregory CLEMENT
This patch add the selection of the config symbol to build the USB3 support for Armada 38x. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu

[PATCH v2 08/18] ARM: configs: Add usb_xhci_mvebu to mvebu_v7_defconfig

2014-04-25 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in mvebu_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file

[PATCH v2 02/18] usb: host: xhci-plat: Add clocks support

2014-04-25 Thread Gregory CLEMENT
functions. Then if the clocks are not supported we still can use the same calls, and there is no Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci-plat.c | 52 ++-- 1 file changed, 50 insertions(+), 2 deletions

[PATCH v2 05/18] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x

2014-04-25 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contain two xHCI host. This commit adds the Device Tree description of those interfaces at the SoC level, and also enables the two USB3 ports on the Armada 385 DB platform and one USB3 port on the Armada 385 RD platforms. Signed-off-by: Gregory CLEMENT gregory.clem

[PATCH v2 04/18] xhci-platform: Add a new controller using xhci: Armada 38x

2014-04-25 Thread Gregory CLEMENT
Extend the compatible string list with armada-380-xhci. It is used to describe xhci controller which is in the Armada 38x SoCs. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 03/18] usb: host: xhci-plat: Add support for the Armada 38x

2014-04-25 Thread Gregory CLEMENT
For the Armada 38x SoCs which come with an xhci controller, specific initialization must be done during probe related to the MBus windows configuration. This patch adds the support of this quirk. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/Kconfig

[PATCH v2 01/18] usb: host: xhci-plat: Sort the headers in alphabetic order

2014-04-25 Thread Gregory CLEMENT
Sorting the headers in alphabetic order will help to reduce the conflict when adding new headers later. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci-plat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host

Re: [PATCH v2 02/18] usb: host: xhci-plat: Add clocks support

2014-04-25 Thread Gregory CLEMENT
On 25/04/2014 16:15, Thomas Petazzoni wrote: Dear Gregory CLEMENT, On Fri, 25 Apr 2014 16:07:00 +0200, Gregory CLEMENT wrote: Some platform (such as the Armada 38x ones) can gate the clock of their USB controller. This patch add the support for the clock, by enabling them during probe

Re: [PATCH v2 02/18] usb: host: xhci-plat: Add clocks support

2014-04-25 Thread Gregory CLEMENT
On 25/04/2014 16:44, Gregory CLEMENT wrote: On 25/04/2014 16:15, Thomas Petazzoni wrote: Dear Gregory CLEMENT, On Fri, 25 Apr 2014 16:07:00 +0200, Gregory CLEMENT wrote: Some platform (such as the Armada 38x ones) can gate the clock of their USB controller. This patch add the support

[PATCH v3 02/20] usb: ehci-orion: Add the optional PHY support

2014-05-05 Thread Gregory CLEMENT
This commit allows to use the PHY provided through the device tree. It will be useful for the Armada 375 SoCs. if no PHY is provided then the behavior of the driver is unchanged. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/ehci-orion.c | 25

[PATCH v3 14/20] xhci-platform: Add a new controller using xHCI: Armada 375

2014-05-05 Thread Gregory CLEMENT
Extend the compatible string list with armada-375-xhci. It is used to describe xHCI controller which is in the Armada 375 SoC. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v3 18/20] ARM: mvebu: Add USB3 support for Armada 375

2014-05-05 Thread Gregory CLEMENT
This patch add the selection of the config symbol to build the USB3 support for Armada 375. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu

[PATCH v3 19/20] ARM: mvebu: Add Device Tree description of the xHCI host on Armada 375

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 375 SoCs contain a xHCI host. This commit adds the Device Tree description of this interfaces at the SoC level, and also enables the USB3 port on the Armada 375 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375

[PATCH v3 20/20] ARM: mvebu: Add Device Tree description of the EHCI host on Armada 375

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 375 SoCs contains one EHCI host. This commit adds the Device Tree description of this interfaces at the SoC level, and also enables the USB2 port on the Armada 375 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375

[PATCH v3 15/20] ARM: mvebu: Add Device Tree description of USB cluster controller on Armada 375

2014-05-05 Thread Gregory CLEMENT
On Armada 375, the USB cluster allows to control the cluster composed of the USB2 and USB3 host controllers. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada

[PATCH v3 17/20] phy: Add support for USB cluster on the Armada 375 SoC

2014-05-05 Thread Gregory CLEMENT
The Armada 375 SoC comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers. It uses the generic PHY framework Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/phy

[PATCH v3 16/20] dt: binding: Armada 375 USB cluster

2014-05-05 Thread Gregory CLEMENT
Armada 375 comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- .../bindings/phy/armada-375-usb-phy-cluster.txt

[PATCH v3 11/20] ARM: configs: Add usb_xhci_mvebu to mvebu_v7_defconfig

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in mvebu_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/mvebu_v7_defconfig | 1 + 1 file

[PATCH v3 12/20] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in multi_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file

[PATCH v3 09/20] ARM: mvebu: Add Device Tree description of the EHCI host on Armada 38x

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contains one EHCI host. This commit adds the Device Tree description of this interface at the SoC level, and also enables the USB2 port on the Armada 385 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-385

[PATCH v3 13/20] usb: host: xhci-plat: Add support for the Armada 375

2014-05-05 Thread Gregory CLEMENT
For the Armada 375 SoC which comes with an xhci controller. Currently the quirk is the same that the Armada 380/385 one, but by introducing a new compatible string it will allow to make the driver evolve seamless. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb

[PATCH v3 10/20] ARM: mvebu: Add USB3 support for Armada 38x

2014-05-05 Thread Gregory CLEMENT
This patch add the selection of the config symbol to build the USB3 support for Armada 38x. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/mach-mvebu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu

[PATCH v3 07/20] xhci-platform: Add a new controller using xhci: Armada 38x

2014-05-05 Thread Gregory CLEMENT
Extend the compatible string list with armada-380-xhci. It is used to describe xhci controller which is in the Armada 38x SoCs. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v3 08/20] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x

2014-05-05 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contains two xHCI host. This commit adds the Device Tree description of those interfaces at the SoC level, and also enables the two USB3 ports on the Armada 385 DB platform and one USB3 port on the Armada 385 RD platform. Signed-off-by: Gregory CLEMENT gregory.clem

[PATCH v3 06/20] usb: host: xhci-plat: Add support for the Armada 38x

2014-05-05 Thread Gregory CLEMENT
For the Armada 38x SoCs which come with an xhci controller, specific initialization must be done during probe related to the MBus windows configuration. This patch adds the support of this quirk. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/Kconfig

[PATCH v3 05/20] usb: host: xhci-plat: Add clocks support

2014-05-05 Thread Gregory CLEMENT
functions. Then if the clocks are not supported we still can use the same calls, and there is no Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci-plat.c | 57 +--- 1 file changed, 54 insertions(+), 3 deletions

[PATCH v3 03/20] usb: host: xhci-plat: Sort the headers in alphabetic order

2014-05-05 Thread Gregory CLEMENT
Sorting the headers in alphabetic order will help to reduce the conflict when adding new headers later. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Acked-by: Felipe Balbi ba...@ti.com --- drivers/usb/host/xhci-plat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v3 04/20] usb: xhci: add a platform-private field

2014-05-05 Thread Gregory CLEMENT
. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index d280e9213d08..054017f66246 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h

[PATCH v3 00/20] USB support for Armada 38x and Armada 375

2014-05-05 Thread Gregory CLEMENT
I removed all the workaround related to the very earlier version of the SoC, indeed there were very few boards with this version of the SoC. This series is also available in the branch USB-375-38x-3.15-rc1-V3 https://github.com/MISL-EBU-System-SW/mainline-public.git Thanks, Gregory CLEMENT (20

[PATCH v3 01/20] usb: ehci-orion: Fix clock reference leaking

2014-05-05 Thread Gregory CLEMENT
+ Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/ehci-orion.c | 49 +++ 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 30d35e5e503a

Re: [PATCHv5 00/20] USB support for Armada 38x and Armada 375

2014-05-12 Thread Gregory CLEMENT
, exactly like xhci_hcd has msix_count and msix_entries for xhci-pci. - Misc minor code style improvements. Thomas Gregory CLEMENT (17): usb: ehci-orion: fix clock reference leaking usb: ehci-orion: add optional PHY support usb: host: xhci-plat: sort the headers

Re: [PATCHv5 05/20] Documentation: dt-bindings: update ehci-orion binding documentation

2014-05-12 Thread Gregory CLEMENT
: name of the USB PHY, should be usb + Example: ehci@5 { -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line unsubscribe linux

Re: [PATCHv5 07/20] usb: host: xhci-plat: add clock support

2014-05-12 Thread Gregory CLEMENT
Hi Mathias, Felipe, On 11/05/2014 20:17, Thomas Petazzoni wrote: From: Gregory CLEMENT gregory.clem...@free-electrons.com Some platforms (such as the Armada 38x ones) can gate the clock of their USB controller. This patch adds the support for one clock in xhci-plat, by enabling it during

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-12 Thread Gregory CLEMENT
Hi Felipe, Kishon, On 11/05/2014 20:17, Thomas Petazzoni wrote: From: Gregory CLEMENT gregory.clem...@free-electrons.com The Armada 375 SoC comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB

Re: [PATCHv5 05/20] Documentation: dt-bindings: update ehci-orion binding documentation

2014-05-12 Thread Gregory CLEMENT
On 12/05/2014 17:46, Alan Stern wrote: On Mon, 12 May 2014, Gregory CLEMENT wrote: Hi Alan, On 11/05/2014 20:17, Thomas Petazzoni wrote: This commit updates the Device Tree binding documentation of ehci-orion to take into account the fact that we can now optionally pass a clock and a PHY

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-13 Thread Gregory CLEMENT
On 13/05/2014 07:53, Kishon Vijay Abraham I wrote: Hi, On Sunday 11 May 2014 11:47 PM, Thomas Petazzoni wrote: From: Gregory CLEMENT gregory.clem...@free-electrons.com The Armada 375 SoC comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-13 Thread Gregory CLEMENT
On 13/05/2014 10:06, Gregory CLEMENT wrote: On 13/05/2014 07:53, Kishon Vijay Abraham I wrote: Hi, On Sunday 11 May 2014 11:47 PM, Thomas Petazzoni wrote: From: Gregory CLEMENT gregory.clem...@free-electrons.com The Armada 375 SoC comes with an USB2 host and device controller and an USB3

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-14 Thread Gregory CLEMENT
Hi Kishon, Given the answers I provided to your concerns. I don't see any modification to do to this driver. Do you agree? If not which change is mandatory from your point of view? Thanks, Gregory On 13/05/2014 11:41, Gregory CLEMENT wrote: On 13/05/2014 10:06, Gregory CLEMENT wrote

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-14 Thread Gregory CLEMENT
On 14/05/2014 16:27, Kishon Vijay Abraham I wrote: Hi, On Tuesday 13 May 2014 03:11 PM, Gregory CLEMENT wrote: On 13/05/2014 10:06, Gregory CLEMENT wrote: On 13/05/2014 07:53, Kishon Vijay Abraham I wrote: Hi, On Sunday 11 May 2014 11:47 PM, Thomas Petazzoni wrote: From: Gregory CLEMENT

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-15 Thread Gregory CLEMENT
Hi Kishon, On 14/05/2014 17:35, Gregory CLEMENT wrote: On 14/05/2014 16:27, Kishon Vijay Abraham I wrote: Hi, On Tuesday 13 May 2014 03:11 PM, Gregory CLEMENT wrote: On 13/05/2014 10:06, Gregory CLEMENT wrote: On 13/05/2014 07:53, Kishon Vijay Abraham I wrote: Hi, On Sunday 11 May 2014

Re: [PATCHv5 10/20] phy: add support for USB cluster on the Armada 375 SoC

2014-05-15 Thread Gregory CLEMENT
Hi Kishon, On 15/05/2014 11:01, Kishon Vijay Abraham I wrote: Hi, On Thursday 15 May 2014 12:31 PM, Gregory CLEMENT wrote: Hi Kishon, On 14/05/2014 17:35, Gregory CLEMENT wrote: On 14/05/2014 16:27, Kishon Vijay Abraham I wrote: Hi, On Tuesday 13 May 2014 03:11 PM, Gregory CLEMENT

[PATCH v6 02/17] usb: ehci-orion: rename error goto labels in ehci_orion_drv_probe()

2014-05-15 Thread Gregory CLEMENT
From: Thomas Petazzoni thomas.petazz...@free-electrons.com In preparation to the introduction of additional initialization steps in ehci_orion_drv_probe(), we rename the error goto labels from err1, err2 and err3 names to some more meaningful names. Signed-off-by: Thomas Petazzoni

[PATCH v6 04/17] usb: ehci-orion: add optional PHY support

2014-05-15 Thread Gregory CLEMENT
properly. Also call phy_power_off() when needed, and rename goto labels.] Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-orion.c | 28

[PATCH v6 15/17] ARM: mvebu: add Device Tree description of the EHCI controller on Armada 38x

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contains one EHCI controller. This commit adds the Device Tree description of this interface at the SoC level, and also enables the USB2 port on the Armada 385 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada

[PATCH v6 16/17] ARM: mvebu: add Device Tree description of the xHCI controller on Armada 375

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 375 SoCs contain a xHCI controller. This commit adds the Device Tree description of this interfaces at the SoC level, and also enables the USB3 port on the Armada 375 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni

[PATCH v6 17/17] ARM: mvebu: add Device Tree description of the EHCI controller on Armada 375

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 375 SoCs contains one EHCI controller. This commit adds the Device Tree description of this interfaces at the SoC level, and also enables the USB2 port on the Armada 375 DB platform. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas

[PATCH v6 13/17] ARM: configs: enable XHCI mvebu support in multi_v7_defconfig

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in multi_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCH v6 09/17] Documentation: dt-bindings: update xhci-platform DT binding

2014-05-15 Thread Gregory CLEMENT
is now supported. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Mathias Nyman mathias.ny...@linux.intel.com --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 7 ++- 1 file changed, 6 insertions

[PATCH v6 12/17] ARM: configs: enable XHCI mvebu support in mvebu_v7_defconfig

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 38x platform needs the xhci_mvebu driver enabled for the xHCI USB hosts, so this commit enables the corresponding Kconfig option in mvebu_v7_defconfig. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free

[PATCH v6 08/17] usb: host: xhci-plat: add support for the Armada 375/38x XHCI controllers

2014-05-15 Thread Gregory CLEMENT
the Armada 375 and Armada 38x XHCI controllers, and therefore enable the relevant quirk. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host

[PATCH v6 14/17] ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x

2014-05-15 Thread Gregory CLEMENT
The Marvell Armada 38x SoCs contains two xHCI controllers. This commit adds the Device Tree description of those interfaces at the SoC level, and also enables the two USB3 ports on the Armada 385 DB platform and one USB3 port on the Armada 385 RD platform. Signed-off-by: Gregory CLEMENT

[PATCH v6 06/17] usb: host: xhci-plat: sort the headers in alphabetic order

2014-05-15 Thread Gregory CLEMENT
Sorting the headers in alphabetic order will help to reduce the conflict when adding new headers later. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Acked-by: Felipe Balbi ba...@ti.com --- drivers/usb/host/xhci-plat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v6 05/17] Documentation: dt-bindings: update ehci-orion binding documentation

2014-05-15 Thread Gregory CLEMENT
From: Thomas Petazzoni thomas.petazz...@free-electrons.com This commit updates the Device Tree binding documentation of ehci-orion to take into account the fact that we can now optionally pass a clock and a PHY reference. Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com

[PATCH v6 07/17] usb: host: xhci-plat: add clock support

2014-05-15 Thread Gregory CLEMENT
-plat, it might be used by other drivers in the future. Moreover, the xhci_hcd structure already holds other members such as msix_count and msix_entries, which are MSI-X specific, and therefore only used by xhci-pci. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off

[PATCH v6 03/17] usb: ehci-orion: fix clock reference leaking

2014-05-15 Thread Gregory CLEMENT
: 8c869edaee07c623066266827371235fb9c12e01 ('ARM: Orion: EHCI: Add support for enabling clocks') Cc: sta...@vger.kernel.org # v3.8+ Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Acked-by: Alan Stern st

[PATCH v6 01/17] usb: ehci-orion: use platform_get_irq() for DT probing

2014-05-15 Thread Gregory CLEMENT
From: Thomas Petazzoni thomas.petazz...@free-electrons.com Commit 77dae54ab385033e488d8b07045bc7f8d931740f ('ARM: Kirkwood: ehci-orion: Add device tree binding') added the Device Tree binding for the ehci-orion driver. To achieve that with the irq, it used the irq_of_parse_and_map() function when

[PATCH v6 00/17] USB support for Armada 38x and Armada 375

2014-05-15 Thread Gregory CLEMENT
it doesn't work). Instead, add a 'struct clk*' field in xhci_hcd to support the clock in xhci-plat, exactly like xhci_hcd has msix_count and msix_entries for xhci-pci. - Misc minor code style improvements. Gregory CLEMENT (14): usb: ehci-orion: fix clock reference leaking

Re: [PATCH v6 17/17] ARM: mvebu: add Device Tree description of the EHCI controller on Armada 375

2014-05-15 Thread Gregory CLEMENT
On 15/05/2014 15:34, Jason Cooper wrote: On Thu, May 15, 2014 at 05:26:36PM +0400, Sergei Shtylyov wrote: Hello. On 05/15/2014 02:17 PM, Gregory CLEMENT wrote: The Marvell Armada 375 SoCs contains one EHCI controller. This commit However, you're adding two. :-) So it would seem

[PATCH 5/5] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-05-16 Thread Gregory CLEMENT
Now that the USB cluster node has been added, use it as a PHY provider for the USB controller linked to it: the first EHCI and the xHCI. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 3/5] ARM: mvebu: add Device Tree description of USB cluster controller on Armada 375

2014-05-16 Thread Gregory CLEMENT
On Armada 375, the USB cluster allows to control the cluster composed of the USB2 and USB3 host controllers. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- arch/arm/boot/dts/armada-375.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armada

[PATCH 4/5] usb: host: xhci-plat: add optional PHY support

2014-05-16 Thread Gregory CLEMENT
in xhci_hcd. While only used for now in xhci-plat, here again, it might be used by other drivers in the future. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/usb/host/xhci-plat.c | 29 - drivers/usb/host/xhci.h | 2 ++ 2 files changed

[PATCH 1/5] phy: add support for USB cluster on the Armada 375 SoC

2014-05-16 Thread Gregory CLEMENT
-by: Gregory CLEMENT gregory.clem...@free-electrons.com Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com --- drivers/phy/Kconfig | 6 + drivers/phy/Makefile | 1 + drivers/phy/phy-armada375-usb2.c | 140

[PATCH 0/5] Add support for USB cluster(PHY muxer) on the Armada 375 SoC

2014-05-16 Thread Gregory CLEMENT
his dts. During the debug I also noticed that xhci don't handle the PHY so I also add the support for an optional phy. This patch is for Mathias Nyman. Thanks, Gregory Gregory CLEMENT (5): phy: add support for USB cluster on the Armada 375 SoC Documentation: dt-bindings: document the Armada

[PATCH 2/5] Documentation: dt-bindings: document the Armada 375 USB cluster binding

2014-05-16 Thread Gregory CLEMENT
Armada 375 comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers. This commit adds the Device Tree binding documentation for this piece of hardware. Signed-off-by: Gregory CLEMENT

Re: [PATCH v6 00/17] USB support for Armada 38x and Armada 375

2014-05-21 Thread Gregory CLEMENT
Hi Greg, On 15/05/2014 12:17, Gregory CLEMENT wrote: Hello, This patch set adds the USB support for the Armada 38x and Armada 375 SOCs. These SoCs use an xHCI but still need specific initialization, mainly to setup the MBus memory windows. They also have another USB controller for EHCI

Re: [PATCH 2/5] Documentation: dt-bindings: document the Armada 375 USB cluster binding

2014-05-23 Thread Gregory CLEMENT
Hi Kishon, On 23/05/2014 11:24, Kishon Vijay Abraham I wrote: Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: Armada 375 comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB

Re: [PATCH 2/5] Documentation: dt-bindings: document the Armada 375 USB cluster binding

2014-05-23 Thread Gregory CLEMENT
, could you pick it up and append your 375 binding to it? We can avoid merge conflicts that way. yes sure, I will do it Thanks Andrew -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com

Re: [PATCH 4/5] usb: host: xhci-plat: add optional PHY support

2014-05-23 Thread Gregory CLEMENT
On 23/05/2014 11:28, Kishon Vijay Abraham I wrote: Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: This commit extends the xhci-plat so that it can optionally be passed a reference to a PHY through the Device Tree. It will be useful for the Armada 375 SoCs. If no PHY is provided

Re: [PATCH 1/5] phy: add support for USB cluster on the Armada 375 SoC

2014-05-23 Thread Gregory CLEMENT
On 23/05/2014 11:20, Kishon Vijay Abraham I wrote: Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: The Armada 375 SoC comes with an USB2 host and device controller and an USB3 controller. The USB cluster control register allows to manage common features of both USB controllers

Re: [PATCH v6 00/17] USB support for Armada 38x and Armada 375

2014-05-27 Thread Gregory CLEMENT
On 28/05/2014 00:41, Greg Kroah-Hartman wrote: On Wed, May 21, 2014 at 03:50:47PM +0200, Gregory CLEMENT wrote: Hi Greg, On 15/05/2014 12:17, Gregory CLEMENT wrote: Hello, This patch set adds the USB support for the Armada 38x and Armada 375 SOCs. These SoCs use an xHCI but still need

Re: [PATCH usb v3 17/29] host: ehci-orion: remove duplicate check on resource

2014-11-03 Thread Gregory CLEMENT
Hi Varka, On 31/10/2014 02:14, Varka Bhadram wrote: From: Varka Bhadram varkabhad...@gmail.com Sanity check on resource happening with devm_ioremap_resource(). Reviewed-by: Gregory CLEMENT gregory.clem...@free-electrons.com Thanks, Gregory Signed-off-by: Varka Bhadram var

  1   2   >