Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Andrew Gaylard" <ag@ffroot.co.za>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 3/6] arm: dts: sunplus: add PWM, watchdog and MMC nodes to SP7021 DTSI
Date: Thu, 24 Sep 2026 15:38:37 +0000	[thread overview]
Message-ID: <20260924153838.5ED921F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260924152844.81705-4-ag@ffroot.co.za>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt: silent removal of pinmux configurations
--

commit 4012754092cc91a0278f9cbf36a5d355b0fbbf57
Author: Andrew Gaylard <ag@ffroot.co.za>

arm: dts: sunplus: add PWM, watchdog and MMC nodes to SP7021 DTSI

Add device nodes for the peripherals that have upstream drivers,
including PWM, watchdog, and eMMC controllers. Move the memory node
from the DTS into the DTSI since the RAM is integrated.

> diff --git a/arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi b/arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi
> index ae9bbe0320b8d..9963501b6a41e 100644
> --- a/arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi
> +++ b/arch/arm/boot/dts/sunplus/sunplus-sp7021.dtsi

[ ... ]

> @@ -84,50 +89,10 @@ pctl: pinctrl@100 {
>  			clocks = <&clkc CLK_GPIO>;
>  			resets = <&rstc RST_GPIO>;
>  
> -			emac_pins: pinmux-emac-pins {
> -				sunplus,pins = <
> -					SPPCTL_IOPAD(49,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_CLK_OUT,0)

[Severity: Medium]
Is it intentional to silently drop the pinmux configurations for emac_pins,
emmc_pins, and sdcard_pins here?

There does not appear to be an explanation for this removal in the commit
message. While a follow-up patch ("arm: dts: sunplus: add Tibbo LTPP3G2
board") re-introduces the emmc_pins configuration in the board-specific
file, the emac_pins and sdcard_pins configurations are permanently deleted
without explanation. 

Could the commit message be updated to mention these SoC-level DT
configuration removals?

> -					SPPCTL_IOPAD(44,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_MAC_SMI_MDC,0)
> -					SPPCTL_IOPAD(43,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_MAC_SMI_MDIO,0)
> -					SPPCTL_IOPAD(52,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_TXEN,0)
> -					SPPCTL_IOPAD(50,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_TXD0,0)
> -					SPPCTL_IOPAD(51,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_TXD1,0)
> -					SPPCTL_IOPAD(46,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_CRSDV,0)
> -					SPPCTL_IOPAD(47,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_RXD0,0)
> -					SPPCTL_IOPAD(48,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_RXD1,0)
> -					SPPCTL_IOPAD(45,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P0_MAC_RMII_RXER,0)
> -					SPPCTL_IOPAD(59,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_TXEN,0)
> -					SPPCTL_IOPAD(57,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_TXD0,0)
> -					SPPCTL_IOPAD(58,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_TXD1,0)
> -					SPPCTL_IOPAD(54,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_CRSDV,0)
> -					SPPCTL_IOPAD(55,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_RXD0,0)
> -					SPPCTL_IOPAD(56,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_RXD1,0)
> -					SPPCTL_IOPAD(53,SPPCTL_PCTL_G_PMUX,MUXF_L2SW_P1_MAC_RMII_RXER,0)
> -				>;
> -				sunplus,zerofunc = <
> -					MUXF_L2SW_LED_FLASH0
> -					MUXF_L2SW_LED_FLASH1
> -					MUXF_L2SW_LED_ON0
> -					MUXF_L2SW_LED_ON1
> -					MUXF_DAISY_MODE
> -				>;
> -			};
> -
> -			emmc_pins: pinmux-emmc-pins {
> -				function = "CARD0_EMMC";
> -				groups = "CARD0_EMMC";
> -			};
> -
>  			leds_pins: pinmux-leds-pins {
>  				sunplus,pins = < SPPCTL_IOPAD(0,SPPCTL_PCTL_G_GPIO,0,SPPCTL_PCTL_L_OUT) >;
>  			};
>  
> -			sdcard_pins: pinmux-sdcard-pins {
> -				function = "SD_CARD";
> -				groups = "SD_CARD";
> -				sunplus,pins = < SPPCTL_IOPAD(91, SPPCTL_PCTL_G_GPIO, 0, 0) >;
> -			};
> -

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260924152844.81705-1-ag@ffroot.co.za?part=3

  reply	other threads:[~2026-09-24 15:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24 15:28 [PATCH v4 0/6] arm: sunplus: add Tibbo LTPP3G2 board support Andrew Gaylard
2026-09-24 15:28 ` [PATCH v4 1/6] dt-bindings: vendor-prefixes: Add Tibbo Andrew Gaylard
2026-09-24 15:28 ` [PATCH v4 2/6] dt-bindings: arm: sunplus: add Tibbo LTPP3G2 board compatible string Andrew Gaylard
2026-09-24 15:28 ` [PATCH v4 3/6] arm: dts: sunplus: add PWM, watchdog and MMC nodes to SP7021 DTSI Andrew Gaylard
2026-09-24 15:38   ` sashiko-bot [this message]
2026-09-24 15:28 ` [PATCH v4 4/6] arm: sunplus: enable SMP via PSCI on SP7021 Andrew Gaylard
2026-09-24 15:28 ` [PATCH v4 5/6] arm: dts: sunplus: add Tibbo LTPP3G2 board Andrew Gaylard
2026-09-24 15:28 ` [PATCH v4 6/6] configs: sp7021: fix defaults and enable existing device drivers Andrew Gaylard
2026-09-24 16:41 ` [PATCH v4 0/6] arm: sunplus: add Tibbo LTPP3G2 board support - withdrawn Andrew Gaylard

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=20260924153838.5ED921F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=ag@ffroot.co.za \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --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