This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de> Link: https://github.com/openwrt/openwrt/pull/24031 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
22 lines
1,019 B
Diff
22 lines
1,019 B
Diff
From: George Moussalem <george.moussalem@outlook.com>
|
|
Date: Fri, 30 May 2025 09:12:23 +0400
|
|
Subject: [PATCH] clk: qcom: gcc-ipq5018: fix UNIPHY soft reset issue
|
|
|
|
The SOFT reset is supposed to trigger a resets across the SYS, RX, and
|
|
TX lines of the IPQ5018 UNIPHY. So let's set the bitmask of the reset
|
|
definition accordingly in the GCC as per the downstream driver.
|
|
|
|
Link: https://git.codelinaro.org/clo/qsdk/oss/kernel/linux-ipq-5.4/-/commit/036bdc62aca561e8ff94a29c447fc400de2b7304
|
|
|
|
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
|
|
--- a/drivers/clk/qcom/gcc-ipq5018.c
|
|
+++ b/drivers/clk/qcom/gcc-ipq5018.c
|
|
@@ -3648,7 +3648,7 @@ static const struct qcom_reset_map gcc_i
|
|
[GCC_UNIPHY_SYS_ARES] = { 0x56104, 1 },
|
|
[GCC_UNIPHY_RX_ARES] = { 0x56104, 4 },
|
|
[GCC_UNIPHY_TX_ARES] = { 0x56104, 5 },
|
|
- [GCC_UNIPHY_SOFT_RESET] = {0x56104, 0 },
|
|
+ [GCC_UNIPHY_SOFT_RESET] = {0x56104, .bitmask = 0x32 },
|
|
[GCC_USB0_BCR] = { 0x3e070, 0 },
|
|
[GCC_USB0_PHY_BCR] = { 0x3e034, 0 },
|
|
[GCC_WCSS_BCR] = { 0x18000, 0 },
|