All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ARM: mvebu: Enable XHCI on the Armada 385 AP
@ 2015-01-19 13:01 Maxime Ripard
  2015-01-19 13:01 ` [PATCH v2 1/3] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks Maxime Ripard
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Maxime Ripard @ 2015-01-19 13:01 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

This serie enables the Armada 385 AP XHCI controller.

Since the controller uses a GPIO-controlled VBUS, we used the
phy-generic driver, and made the needed additions to the xhci-plat
driver to retrieve a USB phy.

Unfortunately, some glitches were also found along the way, mostly
because of the probe deferring that was introduced by this phy
retrieval.

Since the introduction of the Armada 38x support in 3.16, the driver
was attempting to write into registers while the clock wasn't enabled
yet. This was working because the bootloader left it enabled, but in
the case of a deferred probing, the clock would have been disabled by
the error path of our driver, and this would fail. This should go in
3.19, and any stable kernel for 3.16+.

The two patches remaining are "regular" patches, and are aimed at
3.20. The last patch depend on my previous serie to introduce support
for the the A385 AP board.

Thanks,
Maxime

Changes from v1:
  - Removed the patch 1 that fixes the deferred probing that was
    merged
  - Fixed the error path of the mvebu quirks code to avoid leaking a
    clock reference and the main HCD.
  - Removed the extra PHY field private to the struct xhci, and used
    the usb_phy field in the main HCD instead
  - Fixed the error path of the phy retrieval code in order to avoid
    leaving the phy up if an error was to happen, or the remove
    callback to be called.

Maxime Ripard (3):
  usb: XHCI: platform: Move the Marvell quirks after the enabling the
    clocks
  usb: xhci: plat: Add USB phy support
  ARM: mvebu: armada-385-ap: Enable USB3 port

 arch/arm/boot/dts/armada-385-db-ap.dts | 28 +++++++++++++++++++++++++
 drivers/usb/host/xhci-plat.c           | 38 ++++++++++++++++++++++++----------
 2 files changed, 55 insertions(+), 11 deletions(-)

-- 
2.2.2

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

end of thread, other threads:[~2015-03-18 10:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-19 13:01 [PATCH v2 0/3] ARM: mvebu: Enable XHCI on the Armada 385 AP Maxime Ripard
2015-01-19 13:01 ` [PATCH v2 1/3] usb: XHCI: platform: Move the Marvell quirks after the enabling the clocks Maxime Ripard
2015-02-04  9:35   ` Maxime Ripard
2015-02-04 13:04     ` Greg Kroah-Hartman
2015-02-09  8:22       ` Maxime Ripard
2015-02-09  8:31         ` Greg Kroah-Hartman
2015-02-16 13:43           ` Mathias Nyman
2015-01-19 13:01 ` [PATCH v2 2/3] usb: xhci: plat: Add USB phy support Maxime Ripard
2015-01-19 13:01 ` [PATCH v2 3/3] ARM: mvebu: armada-385-ap: Enable USB3 port Maxime Ripard
2015-03-02 19:23   ` Gregory CLEMENT
2015-03-03  9:59     ` Maxime Ripard
2015-03-03 16:12       ` Mathias Nyman
2015-03-04 16:13         ` Maxime Ripard
2015-03-17  9:51         ` Maxime Ripard
2015-03-17 16:34           ` Mathias Nyman
2015-03-17 17:00             ` Maxime Ripard
2015-03-18 10:59   ` Gregory CLEMENT
2015-01-19 21:35 ` [PATCH v2 0/3] ARM: mvebu: Enable XHCI on the Armada 385 AP Andrew Lunn
2015-01-20 20:30   ` Maxime Ripard
2015-01-20 20:43     ` Andrew Lunn
2015-01-21  9:09       ` Maxime Ripard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.