* update the defconfig and accomodate upstream changes * introduce hdmi/vop/phy drivers and enable hdmi * fix clock driver
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From ac3f6f2e9cbe96d11a0db2801699669b2941cd09 Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Mon, 29 Apr 2024 16:17:17 +0200
|
|
Subject: [PATCH 1/4] fix borked DWC2 OTG driver
|
|
|
|
---
|
|
drivers/usb/gadget/dwc2_udc_otg_phy.c | 7 +------
|
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
|
|
diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c
|
|
index 7f8e9564b9..e87f8b5e47 100644
|
|
--- a/drivers/usb/gadget/dwc2_udc_otg_phy.c
|
|
+++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c
|
|
@@ -59,12 +59,7 @@ void otg_phy_init(struct dwc2_udc *dev)
|
|
writel((readl(&phy->phypwr) &~(OTG_DISABLE_0 | ANALOG_PWRDOWN)
|
|
&~FORCE_SUSPEND_0), &phy->phypwr);
|
|
|
|
- if (s5p_cpu_id == 0x4412)
|
|
- writel((readl(&phy->phyclk) & ~(EXYNOS4X12_ID_PULLUP0 |
|
|
- EXYNOS4X12_COMMON_ON_N0)) | EXYNOS4X12_CLK_SEL_24MHZ,
|
|
- &phy->phyclk); /* PLL 24Mhz */
|
|
- else
|
|
- writel((readl(&phy->phyclk) & ~(ID_PULLUP0 | COMMON_ON_N0)) |
|
|
+ writel((readl(&phy->phyclk) & ~(ID_PULLUP0 | COMMON_ON_N0)) |
|
|
CLK_SEL_24MHZ, &phy->phyclk); /* PLL 24Mhz */
|
|
|
|
writel((readl(&phy->rstcon) &~(LINK_SW_RST | PHYLNK_SW_RST))
|
|
--
|
|
2.34.1
|
|
|