Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Tomer Maimon" <tmaimon77@gmail.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v7 2/4] arm64: dts: nuvoton: npcm845: Reorder timer0 and PECI nodes
Date: Wed, 08 Jul 2026 12:59:37 +0000	[thread overview]
Message-ID: <20260708125937.EEC651F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260708125352.1915040-3-tmaimon77@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The patch duplicates the `timer0` node instead of moving it, resulting in a duplicate node and label definition that will cause a Device Tree Compiler (DTC) error.
--

--- Patch [2]: [PATCH v7 2/4] arm64: dts: nuvoton: npcm845: Reorder timer0 and PECI nodes ---
commit 1450734310ae6f4872b7fb3d37cc7db1efd0ebca
Author: Tomer Maimon <tmaimon77@gmail.com>

arm64: dts: nuvoton: npcm845: Reorder timer0 and PECI nodes

Move the timer0 and PECI nodes so the APB children are ordered by
ascending unit address.

> diff --git a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi
> --- a/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi
> +++ b/arch/arm64/boot/dts/nuvoton/nuvoton-common-npcm8xx.dtsi
> @@ -59,15 +59,6 @@ apb {
>  			ranges = <0x0 0x0 0xf0000000 0x00300000>,
>  				<0xfff00000 0x0 0xfff00000 0x00016000>;
>  
> -			peci: peci-controller@100000 {
> -				compatible = "nuvoton,npcm845-peci";
> -				reg = <0x100000 0x1000>;
> -				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
> -				clocks = <&clk NPCM8XX_CLK_APB3>;
> -				cmd-timeout-ms = <1000>;
> -				status = "disabled";
> -			};
> -
>  			timer0: timer@8000 {
>  				compatible = "nuvoton,npcm845-timer";
>  				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;

[ ... ]

> @@ -138,6 +129,13 @@ serial6: serial@6000 {
>  				status = "disabled";
>  			};
>  
> +			timer0: timer@8000 {
> +				compatible = "nuvoton,npcm845-timer";
> +				interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
> +				reg = <0x8000 0x1C>;
> +				clocks = <&refclk>;
> +			};
> +

[Severity: Low]
Will this result in a duplicate node and label definition during dtbs
compilation?

It appears this patch adds timer0 to its new sorted location but misses
removing the original timer0 node from the top of the apb bus. This typically
causes a duplicate label error from the Device Tree Compiler.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260708125352.1915040-1-tmaimon77@gmail.com?part=2

  reply	other threads:[~2026-07-08 12:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-08 12:53 [PATCH v7 0/4] arm64: dts: nuvoton: add NPCM845 SoC and EVB support Tomer Maimon
2026-07-08 12:53 ` [PATCH v7 1/4] arm64: dts: nuvoton: npcm845: Drop redundant timer clock-names Tomer Maimon
2026-07-08 12:53 ` [PATCH v7 2/4] arm64: dts: nuvoton: npcm845: Reorder timer0 and PECI nodes Tomer Maimon
2026-07-08 12:59   ` sashiko-bot [this message]
2026-07-08 12:53 ` [PATCH v7 3/4] arm64: dts: nuvoton: npcm845: Add peripheral nodes Tomer Maimon
2026-07-08 13:11   ` sashiko-bot
2026-07-08 16:52     ` Tomer Maimon
2026-07-08 12:53 ` [PATCH v7 4/4] arm64: dts: nuvoton: npcm845-evb: " Tomer Maimon
2026-07-08 13:08   ` sashiko-bot
2026-07-08 15:45     ` Tomer Maimon

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=20260708125937.EEC651F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=tmaimon77@gmail.com \
    /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