Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yannic Moog <y.moog@phytec.de>
To: "Frank.li@nxp.com" <Frank.li@nxp.com>
Cc: "kernel@pengutronix.de" <kernel@pengutronix.de>,
	"festevam@gmail.com" <festevam@gmail.com>,
	"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
	"robh@kernel.org" <robh@kernel.org>,
	"shawnguo@kernel.org" <shawnguo@kernel.org>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"upstream@lists.phytec.de" <upstream@lists.phytec.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH 2/4] arm64: dts: imx8mp-phycore-som: add spi-nor supply vcc
Date: Wed, 22 Oct 2025 06:18:52 +0000	[thread overview]
Message-ID: <d935b1243b1256293b5a0b31069983ad56555407.camel@phytec.de> (raw)
In-Reply-To: <aPZXCJZQaNnrxC7p@lizhi-Precision-Tower-5810>

On Mon, 2025-10-20 at 11:36 -0400, Frank Li wrote:
> On Mon, Oct 20, 2025 at 03:11:23PM +0200, Yannic Moog wrote:
> > The spi flash on the SoM is missing its vcc supply definition. Add
> > missing regulator which supplies the flash with 1.8V.
> > 
> > Signed-off-by: Yannic Moog <y.moog@phytec.de>
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
> > index 88831c0fbb7be3db18910385e4e15691b1c74ef2..d370e2a3a00c5e3e91a606ac0fbed30cf5e6f9b2 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi
> > @@ -28,6 +28,15 @@ reg_vdd_io: regulator-vdd-io {
> >  		regulator-min-microvolt = <3300000>;
> >  		regulator-name = "VDD_IO";
> >  	};
> > +
> > +	reg_vdd_1v8: regulator-vdd-1v8 {
> > +		compatible = "regulator-fixed";
> > +		regulator-always-on;
> > +		regulator-boot-on;
> 
> Needn't regulator-always-on and regulator-boot-on because it is refered
> by flash@0.

I added these properties to make it clear for the reader that this regulator is not Software
controlled and should not be disabled. Imo this is part of hardware description.
Should I remove the properties?

Yannic

> 
> Frank
> 
> > +		regulator-max-microvolt = <1800000>;
> > +		regulator-min-microvolt = <1800000>;
> > +		regulator-name = "VDD_1V8";
> > +	};
> >  };
> > 
> >  &A53_0 {
> > @@ -83,6 +92,7 @@ som_flash: flash@0 {
> >  		spi-max-frequency = <80000000>;
> >  		spi-rx-bus-width = <4>;
> >  		spi-tx-bus-width = <1>;
> > +		vcc-supply = <&reg_vdd_1v8>;
> >  	};
> >  };
> > 
> > 
> > --
> > 2.51.0
> > 

  reply	other threads:[~2025-10-22  6:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-20 13:11 [PATCH 0/4] arm64: dts: additions for phyboard-pollux Yannic Moog
2025-10-20 13:11 ` [PATCH 1/4] arm64: dts: imx8mp-phyboard-pollux: add fan-supply Yannic Moog
2025-10-20 15:35   ` Frank Li
2025-10-20 13:11 ` [PATCH 2/4] arm64: dts: imx8mp-phycore-som: add spi-nor supply vcc Yannic Moog
2025-10-20 15:36   ` Frank Li
2025-10-22  6:18     ` Yannic Moog [this message]
2025-10-20 13:11 ` [PATCH 3/4] arm64: dts: imx8mp-phyboard-pollux: Enable i2c3 Yannic Moog
2025-10-20 15:38   ` Frank Li
2025-10-22  6:20     ` Yannic Moog
2025-10-20 13:11 ` [PATCH 4/4] arm64: dts: imx8mp-phyboard-pollux: add PEB-WLBT-05 expansion board Yannic Moog
2025-10-20 15:40   ` Frank Li

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=d935b1243b1256293b5a0b31069983ad56555407.camel@phytec.de \
    --to=y.moog@phytec.de \
    --cc=Frank.li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=upstream@lists.phytec.de \
    /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