All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY
@ 2017-04-04 18:45 ` Icenowy Zheng
  0 siblings, 0 replies; 33+ messages in thread
From: Icenowy Zheng @ 2017-04-04 18:45 UTC (permalink / raw)
  To: Maxime Ripard, Chen-Yu Tsai, Kishon Vijay Abraham I
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-sunxi, Icenowy Zheng

Allwinner A64 SoC features a switchable PHY0 like the one in H3, which
can switch between a MUSB controller and a pair of OHCI/EHCI controller.

Enable PHY0 route auto switching for A64.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 drivers/phy/phy-sun4i-usb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-sun4i-usb.c
index f86a2574b953..bbf06cfe5898 100644
--- a/drivers/phy/phy-sun4i-usb.c
+++ b/drivers/phy/phy-sun4i-usb.c
@@ -858,6 +858,7 @@ static const struct sun4i_usb_phy_cfg sun50i_a64_cfg = {
 	.phyctl_offset = REG_PHYCTL_A33,
 	.dedicated_clocks = true,
 	.enable_pmu_unk1 = true,
+	.phy0_dual_route = true,
 };
 
 static const struct of_device_id sun4i_usb_phy_of_match[] = {
-- 
2.12.2

^ permalink raw reply related	[flat|nested] 33+ messages in thread
* [PATCH 0/3] Allwinner A64 EHCI0/OHCI0 devicetree change
@ 2017-04-05 12:50 Icenowy Zheng
  2017-04-05 12:50   ` Icenowy Zheng
  0 siblings, 1 reply; 33+ messages in thread
From: Icenowy Zheng @ 2017-04-05 12:50 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Kishon Vijay Abraham I
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-sunxi, Icenowy Zheng

This patchset contains devicetree parts of the EHCI0/OHCI0 controllers
on A64 SoC.

The first patch is a devicetree binding change, which has been planned
for 4.12; however, as Maxime Ripard suggested, it should go in 4.11
as it's part of the device's description.

The second patch added pmu0 regs and EHCI/OHCI controllers for USB0.

The third patch enabled EHCI0/OHCI0 for Pine64 board.

This patchset should go in 4.11 as Maxime Ripard suggested.

Icenowy Zheng (3):
  dt: bindings: add pmu0 regs for USB PHYs on Allwinner H3/V3s/A64
  arm64: allwinner: a64: add USB0 OHCI/EHCI related devicetree parts
  arm64: allwinner: a64: enable EHCI0/OHCI0 controller for Pine64

 .../devicetree/bindings/phy/sun4i-usb-phy.txt      |  1 +
 .../arm64/boot/dts/allwinner/sun50i-a64-pine64.dts |  8 ++++++++
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      | 24 ++++++++++++++++++++++
 3 files changed, 33 insertions(+)

-- 
2.12.2

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

end of thread, other threads:[~2017-04-05 13:05 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 18:45 [PATCH 1/3] phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY Icenowy Zheng
2017-04-04 18:45 ` Icenowy Zheng
2017-04-04 18:45 ` Icenowy Zheng
2017-04-04 18:45 ` [PATCH 2/3] arm64: allwinner: a64: add USB0 OHCI/EHCI related devicetree parts Icenowy Zheng
2017-04-04 18:45   ` Icenowy Zheng
2017-04-04 18:45   ` Icenowy Zheng
2017-04-05  7:15   ` Maxime Ripard
2017-04-05  7:15     ` Maxime Ripard
2017-04-05  7:17     ` Icenowy Zheng
2017-04-05  7:17       ` Icenowy Zheng
2017-04-05  7:26       ` Maxime Ripard
2017-04-05  7:26         ` Maxime Ripard
2017-04-05  7:26         ` Maxime Ripard
2017-04-05  7:33         ` Icenowy Zheng
2017-04-05  7:33           ` Icenowy Zheng
2017-04-05  8:13           ` Maxime Ripard
2017-04-05  8:13             ` Maxime Ripard
2017-04-05  8:13             ` Maxime Ripard
2017-04-04 18:45 ` [PATCH 3/3] arm64: allwinner: a64: enable EHCI0/OHCI0 controller for Pine64 Icenowy Zheng
2017-04-04 18:45   ` Icenowy Zheng
2017-04-04 18:45   ` Icenowy Zheng
2017-04-05  7:03 ` [PATCH 1/3] phy: sun4i-usb: enable PHY0 dual route switching for A64 USB PHY Maxime Ripard
2017-04-05  7:03   ` Maxime Ripard
2017-04-05  7:03   ` Maxime Ripard
2017-04-05  9:59   ` Kishon Vijay Abraham I
2017-04-05  9:59     ` Kishon Vijay Abraham I
2017-04-05  9:59     ` Kishon Vijay Abraham I
2017-04-05 12:50 [PATCH 0/3] Allwinner A64 EHCI0/OHCI0 devicetree change Icenowy Zheng
2017-04-05 12:50 ` [PATCH 2/3] arm64: allwinner: a64: add USB0 OHCI/EHCI related devicetree parts Icenowy Zheng
2017-04-05 12:50   ` Icenowy Zheng
2017-04-05 12:50   ` Icenowy Zheng
2017-04-05 13:05   ` Maxime Ripard
2017-04-05 13:05     ` Maxime Ripard
2017-04-05 13:05     ` 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.