* [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes
@ 2026-10-20 13:08 Cheng Jiang
2026-10-20 13:12 ` Abel Vesa
2026-10-20 13:40 ` Konrad Dybcio
0 siblings, 2 replies; 5+ messages in thread
From: Cheng Jiang @ 2026-10-20 13:08 UTC (permalink / raw)
To: andersson, konradybcio
Cc: robh, krzk+dt, conor+dt, linux-arm-msm, devicetree, linux-kernel,
Cheng Jiang
The WCN3988 on the Shikra SoMs takes its reference clock from the RPM
RF_CLK2 clock. It is not described in the device tree, so pwrseq-qcom-wcn
finds no clock to enable and RF_CLK2 stays off, leaving Bluetooth unable
to come up.
Describe the clock on the wcn3988-pmu nodes in both SoM dtsi files so
pwrseq-qcom-wcn enables it as part of the WCN3988 power-on sequence.
Signed-off-by: Cheng Jiang <cheng.jiang@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi | 2 ++
arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi | 2 ++
2 files changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
index b2747c765755..d442a19d7557 100644
--- a/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra-cqm-som.dtsi
@@ -3,6 +3,7 @@
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/
+#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
@@ -157,6 +158,7 @@ wcn3988-pmu {
pinctrl-names = "default";
swctrl-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>;
+ clocks = <&rpmcc RPM_SMD_RF_CLK2>;
vddio-supply = <&pm4125_l7>;
vddxo-supply = <&pm4125_l13>;
diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
index 093032527eb2..48729fd44186 100644
--- a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi
@@ -3,6 +3,7 @@
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
*/
+#include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/iio/qcom,spmi-vadc.h>
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
@@ -85,6 +86,7 @@ wcn3988-pmu {
pinctrl-names = "default";
swctrl-gpios = <&tlmm 88 GPIO_ACTIVE_HIGH>;
+ clocks = <&rpmcc RPM_SMD_RF_CLK2>;
vddio-supply = <&pm8150_s4>;
vddxo-supply = <&pm8150_l12>;
--
2.43.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes
2026-10-20 13:08 [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes Cheng Jiang
@ 2026-10-20 13:12 ` Abel Vesa
2026-10-20 13:40 ` Konrad Dybcio
1 sibling, 0 replies; 5+ messages in thread
From: Abel Vesa @ 2026-10-20 13:12 UTC (permalink / raw)
To: Cheng Jiang
Cc: andersson, konradybcio, robh, krzk+dt, conor+dt, linux-arm-msm,
devicetree, linux-kernel
On 26-10-20 21:08:52, Cheng Jiang wrote:
> The WCN3988 on the Shikra SoMs takes its reference clock from the RPM
> RF_CLK2 clock. It is not described in the device tree, so pwrseq-qcom-wcn
> finds no clock to enable and RF_CLK2 stays off, leaving Bluetooth unable
> to come up.
>
> Describe the clock on the wcn3988-pmu nodes in both SoM dtsi files so
> pwrseq-qcom-wcn enables it as part of the WCN3988 power-on sequence.
>
> Signed-off-by: Cheng Jiang <cheng.jiang@oss.qualcomm.com>
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes
2026-10-20 13:08 [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes Cheng Jiang
2026-10-20 13:12 ` Abel Vesa
@ 2026-10-20 13:40 ` Konrad Dybcio
2026-10-21 9:05 ` Cheng Jiang
1 sibling, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2026-10-20 13:40 UTC (permalink / raw)
To: Cheng Jiang, andersson, konradybcio
Cc: robh, krzk+dt, conor+dt, linux-arm-msm, devicetree, linux-kernel
On 10/20/26 3:08 PM, Cheng Jiang wrote:
> The WCN3988 on the Shikra SoMs takes its reference clock from the RPM
> RF_CLK2 clock. It is not described in the device tree, so pwrseq-qcom-wcn
> finds no clock to enable and RF_CLK2 stays off, leaving Bluetooth unable
> to come up.
>
> Describe the clock on the wcn3988-pmu nodes in both SoM dtsi files so
> pwrseq-qcom-wcn enables it as part of the WCN3988 power-on sequence.
>
> Signed-off-by: Cheng Jiang <cheng.jiang@oss.qualcomm.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes
2026-10-20 13:40 ` Konrad Dybcio
@ 2026-10-21 9:05 ` Cheng Jiang
2026-10-21 9:15 ` Konrad Dybcio
0 siblings, 1 reply; 5+ messages in thread
From: Cheng Jiang @ 2026-10-21 9:05 UTC (permalink / raw)
To: Konrad Dybcio, andersson, konradybcio
Cc: robh, krzk+dt, conor+dt, linux-arm-msm, devicetree, linux-kernel
Hi Bjorn, Abel, Konrad,
Please drop this patch.
I re-tested on Shikra EVK with and without the RF_CLK2 clock described on
the wcn3988-pmu nodes, and Bluetooth comes up in both cases. The
commit message claim that Bluetooth fails to come up without the clock
does not hold, so the patch is not needed for Bluetooth. Thanks to
Abel and Konrad for the reviews.
Sorry for the noise.
On 10/20/2026 9:40 PM, Konrad Dybcio wrote:
> On 10/20/26 3:08 PM, Cheng Jiang wrote:
>> The WCN3988 on the Shikra SoMs takes its reference clock from the RPM
>> RF_CLK2 clock. It is not described in the device tree, so pwrseq-qcom-wcn
>> finds no clock to enable and RF_CLK2 stays off, leaving Bluetooth unable
>> to come up.
>>
>> Describe the clock on the wcn3988-pmu nodes in both SoM dtsi files so
>> pwrseq-qcom-wcn enables it as part of the WCN3988 power-on sequence.
>>
>> Signed-off-by: Cheng Jiang <cheng.jiang@oss.qualcomm.com>
>> ---
>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>
> Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes
2026-10-21 9:05 ` Cheng Jiang
@ 2026-10-21 9:15 ` Konrad Dybcio
0 siblings, 0 replies; 5+ messages in thread
From: Konrad Dybcio @ 2026-10-21 9:15 UTC (permalink / raw)
To: Cheng Jiang, andersson, konradybcio
Cc: robh, krzk+dt, conor+dt, linux-arm-msm, devicetree, linux-kernel
On 10/21/26 11:05 AM, Cheng Jiang wrote:
> Hi Bjorn, Abel, Konrad,
>
> Please drop this patch.
>
> I re-tested on Shikra EVK with and without the RF_CLK2 clock described on
> the wcn3988-pmu nodes, and Bluetooth comes up in both cases. The
> commit message claim that Bluetooth fails to come up without the clock
> does not hold, so the patch is not needed for Bluetooth. Thanks to
> Abel and Konrad for the reviews.
It may be that you're lucky on the timing (or that clk-smd-rpm keeps
all clocks online). Please verify the schematic / clock map. If that
clock signal is connected to WCN, please go ahead with this patch.
Konrad
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-10-21 9:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 13:08 [PATCH] arm64: dts: qcom: shikra: Add RF_CLK2 clock to wcn3988-pmu nodes Cheng Jiang
2026-10-20 13:12 ` Abel Vesa
2026-10-20 13:40 ` Konrad Dybcio
2026-10-21 9:05 ` Cheng Jiang
2026-10-21 9:15 ` Konrad Dybcio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®