* [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
@ 2023-07-16 9:31 Yogesh Hegde
2023-07-16 15:53 ` Vincent Legoll
0 siblings, 1 reply; 3+ messages in thread
From: Yogesh Hegde @ 2023-07-16 9:31 UTC (permalink / raw)
To: robh+dt, krzysztof.kozlowski+dt, conor+dt, heiko, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel
Cc: linux-kernel-mentees, skhan, ivan.orlov0322
This patch fixes an issue affecting the Wifi/Bluetooth connectivity on
ROCK Pi 4 boards. Commit f471b1b2db08 ("arm64: dts: rockchip: Fix Bluetooth
on ROCK Pi 4 boards") introduced a problem with the clock configuration.
Specifically, the clock-names property of the sdio-pwrseq node was not
updated to 'lpo', causing the driver to wait indefinitely for the wrong clock
signal 'ext_clock' instead of the expected one 'lpo'. This prevented the proper
initialization of Wifi/Bluetooth chip on ROCK Pi 4 boards.
To address this, this patch updates the clock-names property of the
sdio-pwrseq node to "lpo" to align with the changes made to the bluetooth node.
This patch has been tested on ROCK Pi 4B.
Signed-off-by: Yogesh Hegde <yogi.kernel@gmail.com>
---
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
index 907071d4fe80..795a70948d9a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
@@ -45,7 +45,7 @@ led-0 {
sdio_pwrseq: sdio-pwrseq {
compatible = "mmc-pwrseq-simple";
clocks = <&rk808 1>;
- clock-names = "ext_clock";
+ clock-names = "lpo";
pinctrl-names = "default";
pinctrl-0 = <&wifi_enable_h>;
reset-gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
2023-07-16 9:31 [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards Yogesh Hegde
@ 2023-07-16 15:53 ` Vincent Legoll
2023-07-17 12:13 ` Yogesh Hegde
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2023-07-16 15:53 UTC (permalink / raw)
To: Yogesh Hegde
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, heiko, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel,
linux-kernel-mentees, skhan, ivan.orlov0322
Hello,
On Sun, Jul 16, 2023 at 9:32 AM Yogesh Hegde <yogi.kernel@gmail.com> wrote:
> Commit f471b1b2db08 ("arm64: dts: rockchip: Fix Bluetooth
> on ROCK Pi 4 boards") introduced a problem with the clock configuration.
Maybe you should add a "Fixes:" tag.
Look at:
Documentation/process/submitting-patches.rst
for details.
Cheers
--
Vincent Legoll
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards
2023-07-16 15:53 ` Vincent Legoll
@ 2023-07-17 12:13 ` Yogesh Hegde
0 siblings, 0 replies; 3+ messages in thread
From: Yogesh Hegde @ 2023-07-17 12:13 UTC (permalink / raw)
To: Vincent Legoll
Cc: robh+dt, krzysztof.kozlowski+dt, conor+dt, heiko, devicetree,
linux-arm-kernel, linux-rockchip, linux-kernel,
linux-kernel-mentees, skhan, ivan.orlov0322
Hi Vincent,
On Sun, Jul 16, 2023 at 03:53:22PM +0000, Vincent Legoll wrote:
> Hello,
>
> On Sun, Jul 16, 2023 at 9:32 AM Yogesh Hegde <yogi.kernel@gmail.com> wrote:
> > Commit f471b1b2db08 ("arm64: dts: rockchip: Fix Bluetooth
> > on ROCK Pi 4 boards") introduced a problem with the clock configuration.
>
> Maybe you should add a "Fixes:" tag.
> Look at:
> Documentation/process/submitting-patches.rst
> for details.
Thanks for taking the time to review and provide feedback on the patch.
I will send a v2 with the "Fixes:" tag.
Thanks & Regards
-- Yogesh
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-17 12:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-16 9:31 [PATCH] arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards Yogesh Hegde
2023-07-16 15:53 ` Vincent Legoll
2023-07-17 12:13 ` Yogesh Hegde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).