diff options
| author | Shiji Yang | 2025-06-05 22:36:16 +0000 |
|---|---|---|
| committer | Álvaro Fernández Rojas | 2025-06-06 05:42:35 +0000 |
| commit | c947e37e614abf2b02fae306ed92a00e3f98903b (patch) | |
| tree | 633182d4f2c9c0b0c2829d75783d64eb1ee1b45d | |
| parent | 8b24289a5267e486abd9ccbf4b4ad82f14d545ae (diff) | |
| download | openwrt-c947e37e614abf2b02fae306ed92a00e3f98903b.tar.gz | |
starfive: fix 6.12 kernel patch conflict
The recently committed starfive 6.12 kernel support patchset[1] has
conflict with the 6.12.32 kernel update[2]. Remove upstreamed patch
to fix the issue:
0031-phy-starfive-jh7110-usb-Fix-usb-2.0-host-detection-f.patch [3]
[1] https://github.com/openwrt/openwrt/pull/18997
[2] https://github.com/openwrt/openwrt/pull/19027
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.32&id=2c09a5cbc0100e88b8872b11f4da01a656c97fbc
Fixes: ebfd69a3e373 ("kernel: bump 6.12 to 6.12.32")
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/19039
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
| -rw-r--r-- | target/linux/starfive/patches-6.12/0031-phy-starfive-jh7110-usb-Fix-usb-2.0-host-detection-f.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/target/linux/starfive/patches-6.12/0031-phy-starfive-jh7110-usb-Fix-usb-2.0-host-detection-f.patch b/target/linux/starfive/patches-6.12/0031-phy-starfive-jh7110-usb-Fix-usb-2.0-host-detection-f.patch deleted file mode 100644 index 69f54c9dc7..0000000000 --- a/target/linux/starfive/patches-6.12/0031-phy-starfive-jh7110-usb-Fix-usb-2.0-host-detection-f.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 8dcadeca27be8d6891ed344dd981f055ca27d2fc Mon Sep 17 00:00:00 2001 -From: Hal Feng <hal.feng@starfivetech.com> -Date: Wed, 16 Apr 2025 13:25:38 +0800 -Subject: [PATCH 31/55] phy: starfive: jh7110-usb: Fix usb 2.0 host detection - failure - -Set Rx clock gating control signal to normal power consumption mode, -for fixing usb 2.0 host detection failure. - -Signed-off-by: Hal Feng <hal.feng@starfivetech.com> ---- - drivers/phy/starfive/phy-jh7110-usb.c | 7 +++++++ - 1 file changed, 7 insertions(+) - ---- a/drivers/phy/starfive/phy-jh7110-usb.c -+++ b/drivers/phy/starfive/phy-jh7110-usb.c -@@ -18,6 +18,8 @@ - #include <linux/usb/of.h> - - #define USB_125M_CLK_RATE 125000000 -+#define USB_CLK_MODE_OFF 0x0 -+#define USB_CLK_MODE_RX_NORMAL_PWR BIT(1) - #define USB_LS_KEEPALIVE_OFF 0x4 - #define USB_LS_KEEPALIVE_ENABLE BIT(4) - -@@ -78,6 +80,7 @@ static int jh7110_usb2_phy_init(struct p - { - struct jh7110_usb2_phy *phy = phy_get_drvdata(_phy); - int ret; -+ unsigned int val; - - ret = clk_set_rate(phy->usb_125m_clk, USB_125M_CLK_RATE); - if (ret) -@@ -87,6 +90,10 @@ static int jh7110_usb2_phy_init(struct p - if (ret) - return ret; - -+ val = readl(phy->regs + USB_CLK_MODE_OFF); -+ val |= USB_CLK_MODE_RX_NORMAL_PWR; -+ writel(val, phy->regs + USB_CLK_MODE_OFF); -+ - return 0; - } - |