devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/20] USB support for Armada 38x and Armada 375
@ 2014-05-06  0:13 Gregory CLEMENT
  2014-05-06  0:13 ` [PATCH v3 01/20] usb: ehci-orion: Fix clock reference leaking Gregory CLEMENT
                   ` (7 more replies)
  0 siblings, 8 replies; 50+ messages in thread
From: Gregory CLEMENT @ 2014-05-06  0:13 UTC (permalink / raw)
  To: Mathias Nyman, Greg Kroah-Hartman, Felipe Balbi, linux-usb,
	linux-kernel, Jason Cooper, Andrew Lunn, Sebastian Hesselbarth,
	Gregory CLEMENT
  Cc: Thomas Petazzoni, Ezequiel Garcia, linux-arm-kernel, Lior Amsalem,
	Tawfik Bayouk, Nadav Haklai, Grant Likely, Rob Herring,
	devicetree

This patch set adds the USB support for the Armada 38x Armada
375. These SoCs use an xHCI but still need specific initialization,
mainly to setup the windows memory on the mbus. They also use the same
controller that the other mvebu SoC for EHCI.

Since the 2nd version I converted the usb cluster driver in a PHY
driver. While I was working on it I found a bug on ehci-orion which I
fixed in the 1st patch.

The other noticeable change was that in order to be able to use the
clocks I also added private platform data for xHCI.

In the meantime I also received the A0 version of the Armada 375 so 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):
  usb: ehci-orion: Fix clock reference leaking
  usb: ehci-orion: Add the optional PHY support
  usb: host: xhci-plat: Sort the headers in alphabetic order
  usb: xhci: add a platform-private field
  usb: host: xhci-plat: Add clocks support
  usb: host: xhci-plat: Add support for the Armada 38x
  xhci-platform: Add a new controller using xhci: Armada 38x
  ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x
  ARM: mvebu: Add Device Tree description of the EHCI host on Armada 38x
  ARM: mvebu: Add USB3 support for Armada 38x
  ARM: configs: Add usb_xhci_mvebu to mvebu_v7_defconfig
  ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig
  usb: host: xhci-plat: Add support for the Armada 375
  xhci-platform: Add a new controller using xHCI: Armada 375
  ARM: mvebu: Add Device Tree description of USB cluster controller on
    Armada 375
  dt: binding: Armada 375 USB cluster
  phy: Add support for USB cluster on the Armada 375 SoC
  ARM: mvebu: Add USB3 support for Armada 375
  ARM: mvebu: Add Device Tree description of the xHCI host on Armada 375
  ARM: mvebu: Add Device Tree description of the EHCI host on Armada 375

 .../bindings/phy/armada-375-usb-phy-cluster.txt    |  19 +++
 Documentation/devicetree/bindings/usb/usb-xhci.txt |   4 +-
 arch/arm/boot/dts/armada-375-db.dts                |   8 ++
 arch/arm/boot/dts/armada-375.dtsi                  |  34 +++++
 arch/arm/boot/dts/armada-385-db.dts                |  12 ++
 arch/arm/boot/dts/armada-385-rd.dts                |   4 +
 arch/arm/boot/dts/armada-38x.dtsi                  |  25 ++++
 arch/arm/configs/multi_v7_defconfig                |   1 +
 arch/arm/configs/mvebu_v7_defconfig                |   1 +
 arch/arm/mach-mvebu/Kconfig                        |   2 +
 drivers/phy/Kconfig                                |   5 +
 drivers/phy/Makefile                               |   1 +
 drivers/phy/phy-armada375-usb2.c                   | 154 +++++++++++++++++++++
 drivers/usb/host/Kconfig                           |   7 +
 drivers/usb/host/Makefile                          |   1 +
 drivers/usb/host/ehci-orion.c                      |  68 ++++++---
 drivers/usb/host/xhci-mvebu.c                      |  71 ++++++++++
 drivers/usb/host/xhci-mvebu.h                      |  21 +++
 drivers/usb/host/xhci-plat.c                       |  74 +++++++++-
 drivers/usb/host/xhci.h                            |   3 +
 20 files changed, 491 insertions(+), 24 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/phy/armada-375-usb-phy-cluster.txt
 create mode 100644 drivers/phy/phy-armada375-usb2.c
 create mode 100644 drivers/usb/host/xhci-mvebu.c
 create mode 100644 drivers/usb/host/xhci-mvebu.h

-- 
1.8.1.2

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2014-05-07 15:14 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-06  0:13 [PATCH v3 00/20] USB support for Armada 38x and Armada 375 Gregory CLEMENT
2014-05-06  0:13 ` [PATCH v3 01/20] usb: ehci-orion: Fix clock reference leaking Gregory CLEMENT
2014-05-06 14:30   ` Alan Stern
2014-05-07  9:38     ` Thomas Petazzoni
2014-05-06  0:13 ` [PATCH v3 02/20] usb: ehci-orion: Add the optional PHY support Gregory CLEMENT
2014-05-06 13:33   ` Andrew Lunn
     [not found]     ` <20140506133341.GE6503-g2DYL2Zd6BY@public.gmane.org>
2014-05-07  9:40       ` Thomas Petazzoni
2014-05-07 13:21         ` Andrew Lunn
2014-05-07 13:56           ` Thomas Petazzoni
2014-05-06  0:14 ` [PATCH v3 05/20] usb: host: xhci-plat: Add clocks support Gregory CLEMENT
2014-05-06  3:00   ` Felipe Balbi
2014-05-06 13:41   ` Jason Cooper
     [not found]   ` <1399335255-589-6-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-05-07 12:26     ` Thomas Petazzoni
2014-05-06  0:14 ` [PATCH v3 08/20] ARM: mvebu: Add Device Tree description of xHCI hosts on Armada 38x Gregory CLEMENT
2014-05-06 13:42   ` Andrew Lunn
2014-05-06  0:14 ` [PATCH v3 13/20] usb: host: xhci-plat: Add support for the Armada 375 Gregory CLEMENT
     [not found] ` <1399335255-589-1-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-05-06  0:13   ` [PATCH v3 03/20] usb: host: xhci-plat: Sort the headers in alphabetic order Gregory CLEMENT
2014-05-06  0:13   ` [PATCH v3 04/20] usb: xhci: add a platform-private field Gregory CLEMENT
     [not found]     ` <1399335255-589-5-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-05-06 15:40       ` Felipe Balbi
2014-05-06  0:14   ` [PATCH v3 06/20] usb: host: xhci-plat: Add support for the Armada 38x Gregory CLEMENT
     [not found]     ` <1399335255-589-7-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2014-05-06 11:34       ` Bartlomiej Zolnierkiewicz
2014-05-06 11:57         ` Arnd Bergmann
2014-05-06 12:10           ` Thomas Petazzoni
2014-05-06 12:21             ` Arnd Bergmann
2014-05-06 12:42               ` Thomas Petazzoni
2014-05-06 15:39     ` Felipe Balbi
2014-05-07 10:23       ` Thomas Petazzoni
2014-05-07 15:10         ` Felipe Balbi
2014-05-07 15:14           ` Thomas Petazzoni
2014-05-06  0:14   ` [PATCH v3 07/20] xhci-platform: Add a new controller using xhci: " Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 09/20] ARM: mvebu: Add Device Tree description of the EHCI host on " Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 10/20] ARM: mvebu: Add USB3 support for " Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 11/20] ARM: configs: Add usb_xhci_mvebu to mvebu_v7_defconfig Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 12/20] ARM: configs: Add usb_xhci_mvebu to multi_v7_defconfig Gregory CLEMENT
2014-05-06 13:46     ` Jason Cooper
2014-05-06  0:14   ` [PATCH v3 14/20] xhci-platform: Add a new controller using xHCI: Armada 375 Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 15/20] ARM: mvebu: Add Device Tree description of USB cluster controller on " Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 16/20] dt: binding: Armada 375 USB cluster Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 17/20] phy: Add support for USB cluster on the Armada 375 SoC Gregory CLEMENT
2014-05-06 11:37     ` Bartlomiej Zolnierkiewicz
2014-05-07 12:50       ` Thomas Petazzoni
2014-05-06 13:54     ` Andrew Lunn
     [not found]       ` <20140506135427.GG6503-g2DYL2Zd6BY@public.gmane.org>
2014-05-07 12:52         ` Thomas Petazzoni
2014-05-06 20:53     ` Ezequiel Garcia
     [not found]       ` <20140506205330.GA27308-nAQHv47ARr+vIlHkl8J1cg@public.gmane.org>
2014-05-07 12:55         ` Thomas Petazzoni
2014-05-06  0:14   ` [PATCH v3 18/20] ARM: mvebu: Add USB3 support for Armada 375 Gregory CLEMENT
2014-05-06  0:14   ` [PATCH v3 20/20] ARM: mvebu: Add Device Tree description of the EHCI host on " Gregory CLEMENT
2014-05-06  0:14 ` [PATCH v3 19/20] ARM: mvebu: Add Device Tree description of the xHCI " Gregory CLEMENT
     [not found] ` <loom.20140507T102941-222@post.gmane.org>
     [not found]   ` <loom.20140507T102941-222-eS7Uydv5nfjZ+VzJOa5vwg@public.gmane.org>
2014-05-07  9:21     ` [PATCH v3 00/20] USB support for Armada 38x and " Sebastian Hesselbarth
2014-05-07  9:48       ` Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).