Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Frank Li <Frank.li@oss.nxp.com>
To: Nora Schiffer <nora.schiffer@ew.tq-group.com>
Cc: Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux@ew.tq-group.com, devicetree@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] ARM: dts: imx7-tqma7: correctly specify PMIC voltage constraints
Date: Wed, 2 Sep 2026 11:11:10 -0500	[thread overview]
Message-ID: <aphKnnReHQed9ahY@SMW015318> (raw)
In-Reply-To: <9a916f24b610cc60e0efd13296f281e00b41391e.1788335665.git.nora.schiffer@ew.tq-group.com>

On Wed, Sep 02, 2026 at 10:05:37AM +0200, Nora Schiffer wrote:
> regulator-(min|max)-microvolt refer to the supported voltages according
> to board design, not the possible range of the regulators themselves.

I think make sense, but any document or mail list can be refer to?

Frank

> Update the configuration for the TQMa7x's PMIC and also add a comment
> regarding the PMIC's VCC_SD switching feature.
>
> Fixes: a80a1af6ec8a ("ARM: dts: tq imx7 common board support")
> Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com>
> ---
>  arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 40 +++++++++++++----------
>  1 file changed, 23 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> index e1f740edfb763..7f49c80fef4c6 100644
> --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi
> @@ -46,8 +46,8 @@ pfuze3000: pmic@8 {
>
>  		regulators {
>  			sw1a_reg: sw1a {
> -				regulator-min-microvolt = <700000>;
> -				regulator-max-microvolt = <3300000>;
> +				regulator-min-microvolt = <1000000>;
> +				regulator-max-microvolt = <1225000>;
>  				regulator-boot-on;
>  				regulator-always-on;
>  				regulator-ramp-delay = <6250>;
> @@ -55,34 +55,33 @@ sw1a_reg: sw1a {
>
>  			/* use sw1c_reg to align with pfuze100/pfuze200 */
>  			sw1c_reg: sw1b {
> -				regulator-min-microvolt = <700000>;
> -				regulator-max-microvolt = <1475000>;
> +				regulator-min-microvolt = <1000000>;
> +				regulator-max-microvolt = <1000000>;
>  				regulator-boot-on;
>  				regulator-always-on;
>  				regulator-ramp-delay = <6250>;
>  			};
>
>  			sw2_reg: sw2 {
> -				regulator-min-microvolt = <1500000>;
> -				regulator-max-microvolt = <1850000>;
> +				regulator-min-microvolt = <1800000>;
> +				regulator-max-microvolt = <1800000>;
>  				regulator-boot-on;
>  				regulator-always-on;
>  			};
>
>  			sw3a_reg: sw3 {
> -				regulator-min-microvolt = <900000>;
> -				regulator-max-microvolt = <1650000>;
> +				regulator-min-microvolt = <1350000>;
> +				regulator-max-microvolt = <1350000>;
>  				regulator-boot-on;
>  				regulator-always-on;
>  			};
>
>  			swbst_reg: swbst {
> -				regulator-min-microvolt = <5000000>;
> -				regulator-max-microvolt = <5150000>;
> +				/* Not connected and left unconfigured */
>  			};
>
>  			snvs_reg: vsnvs {
> -				regulator-min-microvolt = <1000000>;
> +				regulator-min-microvolt = <3000000>;
>  				regulator-max-microvolt = <3000000>;
>  				regulator-boot-on;
>  				regulator-always-on;
> @@ -95,18 +94,25 @@ vref_reg: vrefddr {
>
>  			vgen1_reg: vldo1 {
>  				regulator-min-microvolt = <1800000>;
> -				regulator-max-microvolt = <3300000>;
> +				regulator-max-microvolt = <1800000>;
>  				regulator-always-on;
>  			};
>
>  			vgen2_reg: vldo2 {
> -				regulator-min-microvolt = <800000>;
> -				regulator-max-microvolt = <1550000>;
> +				regulator-min-microvolt = <1500000>;
> +				regulator-max-microvolt = <1500000>;
>  				regulator-always-on;
>  			};
>
>  			vgen3_reg: vccsd {
> -				regulator-min-microvolt = <2850000>;
> +				/*
> +				 * Specified values refer to 3.3V operation; voltage for 1.8V
> +				 * operation is derived from this.
> +				 *
> +				 * The base board should usually mux GPIO1_IO08 to SD1_VSELECT for
> +				 * automatic switching of SD card IO voltage.
> +				 */
> +				regulator-min-microvolt = <3300000>;
>  				regulator-max-microvolt = <3300000>;
>  				regulator-always-on;
>  			};
> @@ -118,13 +124,13 @@ vgen4_reg: v33 {
>  			};
>
>  			vgen5_reg: vldo3 {
> -				regulator-min-microvolt = <1800000>;
> +				regulator-min-microvolt = <3300000>;
>  				regulator-max-microvolt = <3300000>;
>  				regulator-always-on;
>  			};
>
>  			vgen6_reg: vldo4 {
> -				regulator-min-microvolt = <1800000>;
> +				regulator-min-microvolt = <3300000>;
>  				regulator-max-microvolt = <3300000>;
>  				regulator-always-on;
>  			};
> --
> TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
> Amtsgericht München, HRB 105018
> Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
> https://www.tq-group.com/
>
>

  parent reply	other threads:[~2026-09-02 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02  8:05 [PATCH 1/2] ARM: dts: imx7-tqma7: correctly specify PMIC voltage constraints Nora Schiffer
2026-09-02  8:05 ` [PATCH 2/2] ARM: dts: imx7-tqma7: sort I2C device nodes by address Nora Schiffer
2026-09-02 16:11 ` Frank Li [this message]
2026-09-03 10:11   ` [PATCH 1/2] ARM: dts: imx7-tqma7: correctly specify PMIC voltage constraints Nora Schiffer
2026-09-04 15:23     ` 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=aphKnnReHQed9ahY@SMW015318 \
    --to=frank.li@oss.nxp.com \
    --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=linux@ew.tq-group.com \
    --cc=nora.schiffer@ew.tq-group.com \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.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