From: Matti Vaittinen <mazziesaccount@gmail.com>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>,
linux-kernel@vger.kernel.org
Cc: Simon Holesch <simon.holesch@bshg.com>,
Karthikdatt Anantharamrao
<karthikdatt.anantharamrao@in.bosch.com>,
michael@amarulasolutions.com, linux-amarula@amarulasolutions.com,
Wolfgang Birkner <wolfgang.birkner@bshg.com>,
Conor Dooley <conor+dt@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 6/9] arm64: dts: imx8mn-bsh-smm-s2-common: Set minimum value for VDD_DRAM_VPU_GPU
Date: Thu, 15 May 2025 12:19:35 +0300 [thread overview]
Message-ID: <7b23de30-06e3-4f02-a8a5-90791628ceed@gmail.com> (raw)
In-Reply-To: <20250514082507.1983849-7-dario.binacchi@amarulasolutions.com>
On 14/05/2025 11:25, Dario Binacchi wrote:
> From: Wolfgang Birkner <wolfgang.birkner@bshg.com>
>
> Buck3 is called Buck5 in the BD71847 datasheet. This buck supports
> 0.55...1.35V. Set the minimum allowed value.
Setting this to PMIC's minimum value has little benefits because the
voltage can't be set lower than it anyways.
AFICS, the idea of the regulator-min-microvolt and the
regulator-max-microvolt is to protect a system which can't tolerate
lower/higher than NNN voltage. So, basically, these properties are
meaningful when PMIC can go higher / lower than the system design
tolerates. In these cases the constrains set in device tree should be
strictier than the PMIC's range.
The existing regulator-min-microvolt = <700000>; could have resulted
from the knowledge that the minimum voltage devices connected to the
BUCK3 (5 in data-sheet) can survive is 700 mV. Dropping this to 500mV
just because PMIC can go there might be plain wrong, and in some case
get the device(s) connected to BUCK3/5 upset..
So, please provide better (more) rationale for this change.
>
> Signed-off-by: Wolfgang Birkner <wolfgang.birkner@bshg.com>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
> arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
> index fd12b97525d1..81fa0a8767e2 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mn-bsh-smm-s2-common.dtsi
> @@ -135,7 +135,7 @@ buck2_reg: BUCK2 {
> buck3_reg: BUCK3 {
> /* PMIC_BUCK5 - VDD_DRAM_VPU_GPU */
> regulator-name = "buck3";
> - regulator-min-microvolt = <700000>;
> + regulator-min-microvolt = <550000>;
> regulator-max-microvolt = <1350000>;
> regulator-boot-on;
> regulator-always-on;
Yours,
-- Matti
next prev parent reply other threads:[~2025-05-15 9:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-14 8:24 [PATCH 0/9] DTS updates for BSH SMM S2[PRO] boards Dario Binacchi
2025-05-14 8:24 ` [PATCH 1/9] arm64: dts: imx8mn-bsh-smm-s2-common: Define suspend voltage threshold Dario Binacchi
2025-05-15 8:52 ` Matti Vaittinen
2025-05-14 8:24 ` [PATCH 2/9] arm64: dts: imx8mn-bsh-smm-s2-common: Leave regulator under hw state machine Dario Binacchi
2025-05-15 8:54 ` Matti Vaittinen
2025-05-14 8:24 ` [PATCH 3/9] arm64: dts: imx8mn-bsh-smm-s2-common: Keep wifi enable during suspend Dario Binacchi
2025-05-16 4:17 ` Peng Fan
2025-05-14 8:24 ` [PATCH 4/9] arm64: dts: imx8mn-bsh-smm-s2-common: Enable GPU for smms2 and smms2pro Dario Binacchi
2025-05-16 4:23 ` Peng Fan
2025-05-14 8:24 ` [PATCH 5/9] arm64: dts: imx8mn-bsh-smm-s2-common: Pull Up Console UART pins Dario Binacchi
2025-05-16 4:24 ` Peng Fan
2025-05-14 8:25 ` [PATCH 6/9] arm64: dts: imx8mn-bsh-smm-s2-common: Set minimum value for VDD_DRAM_VPU_GPU Dario Binacchi
2025-05-15 9:19 ` Matti Vaittinen [this message]
2025-05-14 8:25 ` [PATCH 7/9] arm64: dts: imx8mn-bsh-smm-s2-common: Set minimum value for VDD_3V3 Dario Binacchi
2025-05-15 9:20 ` Matti Vaittinen
2025-05-14 8:25 ` [PATCH 8/9] arm64: dts: imx8mn-bsh-smm-s2-common: Increase drive strength of pmic irq Dario Binacchi
2025-05-16 4:24 ` Peng Fan
2025-05-14 8:25 ` [PATCH 9/9] arm64: dts: imx8mn-bsh-smm-s2-common: Disable PMIC SNVS reset target state Dario Binacchi
2025-05-15 9:28 ` Matti Vaittinen
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=7b23de30-06e3-4f02-a8a5-90791628ceed@gmail.com \
--to=mazziesaccount@gmail.com \
--cc=conor+dt@kernel.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=karthikdatt.anantharamrao@in.bosch.com \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-amarula@amarulasolutions.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael@amarulasolutions.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=simon.holesch@bshg.com \
--cc=wolfgang.birkner@bshg.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 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.