]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: qcom: gcc-ipq5018: fix GE PHY reset
authorGeorge Moussalem <george.moussalem@outlook.com>
Mon, 30 Jun 2025 12:35:00 +0000 (16:35 +0400)
committerBjorn Andersson <andersson@kernel.org>
Thu, 17 Jul 2025 04:09:46 +0000 (23:09 -0500)
The MISC reset is supposed to trigger a resets across the MDC, DSP, and
RX & TX clocks of the IPQ5018 internal GE PHY. 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/00743c3e82fa87cba4460e7a2ba32f473a9ce932
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Link: https://lore.kernel.org/r/20250630-ipq5018-ge-phy-v6-1-01be06378c15@outlook.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-ipq5018.c

index 24eb4c40da63462077ee2e5714e838aa30ced2e3..dcda2be8c1a51950248050882620d63d75eb1ca5 100644 (file)
@@ -3660,7 +3660,7 @@ static const struct qcom_reset_map gcc_ipq5018_resets[] = {
        [GCC_WCSS_AXI_S_ARES] = { 0x59008, 6 },
        [GCC_WCSS_Q6_BCR] = { 0x18004, 0 },
        [GCC_WCSSAON_RESET] = { 0x59010, 0},
-       [GCC_GEPHY_MISC_ARES] = { 0x56004, 0 },
+       [GCC_GEPHY_MISC_ARES] = { 0x56004, .bitmask = GENMASK(3, 0) },
 };
 
 static const struct of_device_id gcc_ipq5018_match_table[] = {