Skip to contentSkip to conversation

Switch msm899{4,6,8} clk drivers to module

PATCH Applied Petr Vorel 3 participants 5 messages Feb 17, 2023 – Mar 22, 2023 Arm Qualcomm mailing list

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

cover Switch msm899{4,6,8} clk drivers to module

Hi,

based on previous discussion, tested on msm8994 angler. I don't dare to set arm 32bit clocks in multi_v7_defconfig.

[1] https://lore.kernel.org/linux-arm-msm/20230208230628.xoaqt4hby5ec4s6t@ripper/

Petr Vorel (2):
arm64: defconfig: Switch msm8996 clk drivers to module
arm64: defconfig: Enable qcom msm899{4,8} clk drivers

 arch/arm64/configs/defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.1
author
#1 lore raw

PATCH v2 1/2 arm64: defconfig: Switch msm8996 clk drivers to module

Switch to module, because there is a support for probe defer on the power-domains. This should be working since 2b28a1a84a0e ("driver core:
Extend deferred probe timeout on driver registration")

---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -1
index 03762b376bb2..3a3d4a0c2c50 100644
@@ -1107,7 +1107,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
-CONFIG_MSM_MMCC_8996=y
+CONFIG_MSM_MMCC_8996=m
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
 CONFIG_SA_GCC_8775P=y
Signature · 1 line
2.39.1
#2 lore raw

Re: [PATCH v2 1/2] arm64: defconfig: Switch msm8996 clk drivers to module

Quoted 4 lines · Petr Vorel

Switch to module, because there is a support for probe defer on the power-domains. This should be working since 2b28a1a84a0e ("driver core:
Extend deferred probe timeout on driver registration")

Oh hey! Good to know my patches are actually useful to someone :)

-Saravana

Quoted 23 lines
---
 arch/arm64/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/configs/defconfig +1 -2
index 03762b376bb2..3a3d4a0c2c50 100644
@@ -1107,7 +1107,7 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
-CONFIG_MSM_MMCC_8996=y
+CONFIG_MSM_MMCC_8996=m
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
 CONFIG_SA_GCC_8775P=y
--

2.39.1

author
#3 lore raw

PATCH v2 2/2 arm64: defconfig: Enable qcom msm899{4,8} clk drivers

In reply to Petr Vorel

Enable the rest of qcom clk drivers on arm64, enabling as module, because there is a support for probe defer on the power-domains.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 3a3d4a0c2c50..4f3f728b0ee5 100644
@@ -1107,7 +1107,9 @@ CONFIG_IPQ_GCC_6018=y
 CONFIG_IPQ_GCC_8074=y
 CONFIG_MSM_GCC_8916=y
 CONFIG_MSM_GCC_8994=y
+CONFIG_MSM_MMCC_8994=m
 CONFIG_MSM_MMCC_8996=m
+CONFIG_MSM_MMCC_8998=m
 CONFIG_MSM_GCC_8998=y
 CONFIG_QCS_GCC_404=y
 CONFIG_SA_GCC_8775P=y
Signature · 1 line
2.39.1
#4 lore raw
In reply to Petr Vorel
Quoted 10 lines · Petr Vorel

based on previous discussion, tested on msm8994 angler. I don't dare to set arm 32bit clocks in multi_v7_defconfig.

[1] https://lore.kernel.org/linux-arm-msm/20230208230628.xoaqt4hby5ec4s6t@ripper/

Petr Vorel (2):
arm64: defconfig: Switch msm8996 clk drivers to module
arm64: defconfig: Enable qcom msm899{4,8} clk drivers

[...]

Applied, thanks!

[1/2] arm64: defconfig: Switch msm8996 clk drivers to module

      commit: 8f680c287445c467c927e875103ad2bfd7d356e1
[2/2] arm64: defconfig: Enable qcom msm899{4,8} clk drivers
      commit: 4705d0137af61823dca83bb6302073181d83945d

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>