From: Quentin Schulz <quentin.schulz@cherry.de>
To: Cunhao Lu <1579567540@qq.com>,
Marc Kleine-Budde <mkl@pengutronix.de>,
kernel@pengutronix.de, Vincent Mailhol <mailhol@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>
Cc: linux-can@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Heiko Stuebner <heiko.stuebner@cherry.de>
Subject: Re: [PATCH v5 4/4] arm64: dts: rockchip: Enable CAN controller on RK3588-Tiger-Haikou
Date: Thu, 30 Jul 2026 15:31:41 +0200 [thread overview]
Message-ID: <7628bc49-b4e7-4716-9579-022c20bbf134@cherry.de> (raw)
In-Reply-To: <tencent_8E35228F9F4F133FCDBCCC4902F6887D0006@qq.com>
Hi Cunhao Lu,
On 7/25/26 9:03 AM, Cunhao Lu wrote:
> From: Heiko Stuebner <heiko.stuebner@cherry.de>
>
> CAN0 is piped through the Q7-connector to the CAN-Header on the Haikou
> base-board, so enable support for it there.
>
> At least on RK3588-Tiger, the CAN clocks default to 99MHz, limiting
> usable CAN bitrates without skew. Errata documentation mentions
> 300MHz as the default frequency on RK3568, so replicate this here
> to allow more bitrates.
>
Can you please move the assigned-clocks* properties to rk3588-tiger.dtsi
instead? RK3588 Tiger is a SOM and Haikou is a carrierboard. The
carrierboard takes the signal directly from the SoC and route those to a
transceiver. I'm assuming all carrierboards for Tiger will need those
two properties, so better have them in the SoM DTSI.
Just apply:
"""
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts
b/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts
index 6273e695b0394..6c57c9f54a305 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger-haikou.dts
@@ -156,8 +156,6 @@ vddd_audio_1v6: regulator-vddd-audio-1v6 {
};
&can0 {
- assigned-clocks = <&cru CLK_CAN0>;
- assigned-clock-rates = <300000000>;
status = "okay";
};
diff --git a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
index 139f70e7bbd90..161c89c62bcda 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-tiger.dtsi
@@ -90,6 +90,11 @@ vcc5v0_sys: regulator-vcc5v0-sys {
};
};
+&can0 {
+ assigned-clocks = <&cru CLK_CAN0>;
+ assigned-clock-rates = <300000000>;
+};
+
&cpu_b0 {
cpu-supply = <&vdd_cpu_big0_s0>;
};
"""
on top of this patch and squash and we'll have what I would like to have.
If there's no need for a v6, I'm assuming Heiko can simply fix that when
applying and thus there may be no need to send a v6 just for that (but
if you need to send a v6, please consider doing the suggested changes
above).
Thanks!
Quentin
next prev parent reply other threads:[~2026-07-30 13:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260725-master-v5-0-75da459d2b93@qq.com>
2026-07-25 7:03 ` [PATCH v5 1/4] dt-bindings: can: rockchip: add rk3588 CAN-FD compatible Cunhao Lu
2026-07-25 7:03 ` [PATCH v5 2/4] can: rockchip: add RK3588 CAN support Cunhao Lu
2026-07-25 7:03 ` [PATCH v5 3/4] arm64: dts: rockchip: add CAN-FD nodes for RK3588 Cunhao Lu
2026-07-30 13:22 ` Quentin Schulz
2026-07-30 14:03 ` Cunhao Lu
2026-07-30 14:13 ` Marc Kleine-Budde
2026-07-25 7:03 ` [PATCH v5 4/4] arm64: dts: rockchip: Enable CAN controller on RK3588-Tiger-Haikou Cunhao Lu
2026-07-30 13:31 ` Quentin Schulz [this message]
2026-07-30 14:04 ` Cunhao Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7628bc49-b4e7-4716-9579-022c20bbf134@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=1579567540@qq.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko.stuebner@cherry.de \
--cc=heiko@sntech.de \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mailhol@kernel.org \
--cc=mkl@pengutronix.de \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox