All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Arun Iyengar" <aiyengar1990@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: rockchip: add the SPI NOR flash supply on Orange Pi 5
Date: Tue, 10 Nov 2026 07:35:57 +0000	[thread overview]
Message-ID: <sashiko-outbox-206521@kernel.org> (raw)
In-Reply-To: <20261110-opi5-dts-v1-2-582b63d074be@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: rockchip: flash@0 node split across dtsi and dts on
  Orange Pi 5
--

commit 2c756f3dcba3203200378627107b75dba49f9ae4
Author: Arun Iyengar <aiyengar1990@gmail.com>

arm64: dts: rockchip: add the SPI NOR flash supply on Orange Pi 5

This commit adds the vcc-supply property pointing to vcc_1v8_s3 for the
SPI NOR flash node on the Orange Pi 5.

> diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> index d76bdf1b5e90e..d67c876c80138 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts
> @@ -33,4 +33,8 @@ &pcie2x1l2 {
>  
>  &sfc {
>  	status = "okay";
> +
> +	flash@0 {
> +		vcc-supply = <&vcc_1v8_s3>;
> +	};
>  };

[Severity: Low]
Should vcc-supply be added directly to the existing flash@0 node in
arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi instead of splitting
flash@0 across both files?

Both flash@0 and the vcc_1v8_s3 regulator are already defined in
rk3588s-orangepi-5.dtsi under the disabled &sfc node:

arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtsi:&sfc {
	pinctrl-names = "default";
	pinctrl-0 = <&fspim0_pins>;
	status = "disabled";

	flash@0 {
		compatible = "jedec,spi-nor";
		reg = <0x0>;
		spi-max-frequency = <100000000>;
		spi-rx-bus-width = <4>;
		spi-tx-bus-width = <1>;
	};
};

Since &sfc remains disabled on the Orange Pi 5B and 5 Pro, placing
vcc-supply in rk3588s-orangepi-5.dtsi keeps the flash@0 definition in one
place without affecting those boards.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261110-opi5-dts-v1-0-582b63d074be@gmail.com?part=2

  reply	other threads:[~2026-11-10  7:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-10  7:19 [PATCH 0/3] arm64: dts: rockchip: Orange Pi 5/5B ethernet, SPI NOR supply and USB-C DP Arun Iyengar via B4 Relay
2026-11-10  7:19 ` Arun Iyengar via B4 Relay
2026-11-10  7:19 ` Arun Iyengar
2026-11-10  7:19 ` [PATCH 1/3] arm64: dts: rockchip: use rgmii-id for the Orange Pi 5/5B ethernet PHY Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar
2026-11-10  7:19 ` [PATCH 2/3] arm64: dts: rockchip: add the SPI NOR flash supply on Orange Pi 5 Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar
2026-11-10  7:35   ` sashiko-bot [this message]
2026-11-10  7:19 ` [PATCH 3/3] arm64: dts: rockchip: Add USB-C DP AltMode for Orange Pi 5/5B Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar via B4 Relay
2026-11-10  7:19   ` Arun Iyengar

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-206521@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=aiyengar1990@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.