All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] phy-sun4i-usb: Fix sun8i_r40_cfg
@ 2021-06-16  2:33 qianfanguijin
  2021-06-16  2:33 ` [PATCH 2/4] sunxi_musb: Add musb configurations of sun8i-r40 qianfanguijin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: qianfanguijin @ 2021-06-16  2:33 UTC (permalink / raw)
  To: u-boot; +Cc: wens, jagan, andre.przywara, marex, qianfan Zhao

From: qianfan Zhao <qianfanguijin@163.com>

The address of sun8i_r40's phyctrl is 0x01c13404, also fixed
enable_pmu and dual_route.

Signed-off-by: qianfan Zhao <qianfanguijin@163.com>
---
 drivers/phy/allwinner/phy-sun4i-usb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c
index 5723c98032..608ba46242 100644
--- a/drivers/phy/allwinner/phy-sun4i-usb.c
+++ b/drivers/phy/allwinner/phy-sun4i-usb.c
@@ -587,10 +587,10 @@ static const struct sun4i_usb_phy_cfg sun8i_r40_cfg = {
 	.num_phys = 3,
 	.type = sun8i_r40_phy,
 	.disc_thresh = 3,
-	.phyctl_offset = REG_PHYCTL_A33,
+	.phyctl_offset = REG_PHYCTL_A10,
 	.dedicated_clocks = true,
-	.enable_pmu_unk1 = true,
-	.phy0_dual_route = true,
+	.enable_pmu_unk1 = false,
+	.phy0_dual_route = false,
 };
 
 static const struct sun4i_usb_phy_cfg sun8i_v3s_cfg = {
-- 
2.17.1


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

end of thread, other threads:[~2021-06-30  7:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16  2:33 [PATCH 1/4] phy-sun4i-usb: Fix sun8i_r40_cfg qianfanguijin
2021-06-16  2:33 ` [PATCH 2/4] sunxi_musb: Add musb configurations of sun8i-r40 qianfanguijin
2021-06-21  0:34   ` Andre Przywara
2021-06-16  2:33 ` [PATCH 3/4] dts: bpi-m2u: Enable USB_OTG by default qianfanguijin
2021-06-21  0:35   ` Andre Przywara
2021-06-16  2:33 ` [PATCH 4/4] sunxi: defconfig: bpi-m2u: Enable usb gadget and ums " qianfanguijin
2021-06-21  0:35   ` Andre Przywara
2021-06-21  0:33 ` [PATCH 1/4] phy-sun4i-usb: Fix sun8i_r40_cfg Andre Przywara
2021-06-30  6:48   ` qianfan

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.