From: sashiko-bot@kernel.org
To: "Fil Dunsky" <filipp.dunsky@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 1/3] ARM: dts: cortina: Describe CS7542 peripheral controllers
Date: Fri, 27 Nov 2026 21:08:44 +0000 [thread overview]
Message-ID: <sashiko-outbox-238282@kernel.org> (raw)
In-Reply-To: <20261127-b4-cs7542-peripherals-dts-v1-1-7ce24b842b3a@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [High] ARM: dts: cortina: removing apb_clk from cs7542.dtsi breaks
Almond+ DTB build
- [Low] ARM: dts: cortina: commit message inaccurately claims to
describe watchdog
--
commit d07ba40aaacde20e83aa5aeeab7822915790b944
Author: Fil Dunsky <filipp.dunsky@gmail.com>
ARM: dts: cortina: Describe CS7542 peripheral controllers
This commit adds device tree nodes for the CS7542 SoC peripheral
controllers and switches existing clock consumers from the fixed APB clock
node to the global syscon clock provider.
> Describe the shared global clock and pin controllers, peripheral
> interrupt controller and GPIO banks, I2C, watchdog, RTC, TRNG, NAND PIO
> controller, MDIO, network engine and three PCIe root ports.
[Severity: Low]
Is listing watchdog here accurate? Unlike the other controllers listed in
this paragraph, watchdog@f8000620 was already added in commit 626ef62af03f
("ARM: dts: cortina: Add CS7542 SoC and Securifi Almond+ board") and only
has its clocks phandle updated to <&global CS7542_CLK_APB> in this patch.
> diff --git a/arch/arm/boot/dts/cortina/cs7542.dtsi b/arch/arm/boot/dts/cortina/cs7542.dtsi
> index 29b0b7da86670..3d827502c9b90 100644
> --- a/arch/arm/boot/dts/cortina/cs7542.dtsi
> +++ b/arch/arm/boot/dts/cortina/cs7542.dtsi
> @@ -10,11 +12,10 @@ / {
> #size-cells = <1>;
> interrupt-parent = <&gic>;
>
> - /* Rate is selected by the boot strap pins, set by the board */
> - apb_clk: clock-apb {
> + ref24: clock-24mhz {
> compatible = "fixed-clock";
> #clock-cells = <0>;
> - clock-output-names = "apb";
> + clock-frequency = <24000000>;
> };
[Severity: High]
Does removing apb_clk here break building cs7542-securifi-almondplus.dtb at
this point in the series?
arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts includes
cs7542.dtsi and still references &apb_clk:
arch/arm/boot/dts/cortina/cs7542-securifi-almondplus.dts:
...
&apb_clk {
clock-frequency = <150000000>;
};
Building DTBs with CONFIG_ARCH_CORTINA_ACCESS=y fails in dtc with an
unresolved phandle reference at this commit, breaking bisection until the
later commit "ARM: dts: cortina: Enable Almond+ board peripherals" removes
the &apb_clk reference from the board DTS.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127-b4-cs7542-peripherals-dts-v1-0-7ce24b842b3a@gmail.com?part=1
next prev parent reply other threads:[~2026-11-27 21:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 20:59 [PATCH 0/3] ARM: dts: cortina: Enable CS7542 Almond+ peripherals Fil Dunsky via B4 Relay
2026-11-27 20:59 ` [PATCH 1/3] ARM: dts: cortina: Describe CS7542 peripheral controllers Fil Dunsky via B4 Relay
2026-11-27 21:08 ` sashiko-bot [this message]
2026-11-27 20:59 ` [PATCH 2/3] ARM: dts: cortina: Enable Almond+ board peripherals Fil Dunsky via B4 Relay
2026-11-27 20:59 ` [PATCH 3/3] ARM: multi_v7_defconfig: Enable CS7542 " Fil Dunsky via B4 Relay
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=sashiko-outbox-238282@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=filipp.dunsky@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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