public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes
@ 2026-02-21 18:15 Sebastian Krzyszkowiak
  2026-02-21 18:15 ` [PATCH v2 1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower" Sebastian Krzyszkowiak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sebastian Krzyszkowiak @ 2026-02-21 18:15 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Martin Kepplinger, Shawn Guo, Angus Ainslie (Purism),
	Daniel Baluta
  Cc: kernel, devicetree, imx, linux-arm-kernel, linux-kernel,
	Guido Günther, Sebastian Krzyszkowiak, stable

Simple changes to bump the voltages up to their nominal values to ensure
stable operation across all units.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
Changes in v2:
- added Fixes and Cc: stable tags
- Link to v1: https://lore.kernel.org/r/20260221-l5-voltages-v1-0-daa8aeedc86c@puri.sm

---
Sebastian Krzyszkowiak (2):
      Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower"
      arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V

 .../arm64/boot/dts/freescale/imx8mq-librem5-r3.dts |  2 +-
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi  | 24 +++++++---------------
 2 files changed, 8 insertions(+), 18 deletions(-)
---
base-commit: d79526b89571ae447c1a5cfd3d627efa07098348
change-id: 20260221-l5-voltages-fe476d4cfe17

Best regards,
-- 
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower"
  2026-02-21 18:15 [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Sebastian Krzyszkowiak
@ 2026-02-21 18:15 ` Sebastian Krzyszkowiak
  2026-02-21 18:15 ` [PATCH v2 2/2] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V Sebastian Krzyszkowiak
  2026-03-06 16:20 ` [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Krzyszkowiak @ 2026-02-21 18:15 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Martin Kepplinger, Shawn Guo, Angus Ainslie (Purism),
	Daniel Baluta
  Cc: kernel, devicetree, imx, linux-arm-kernel, linux-kernel,
	Guido Günther, Sebastian Krzyszkowiak, stable

This reverts commit c24a9b698fb02cd0723fa8375abab07f94b97b10.

It's been found that there's a significant per-unit variance in accepted
supply voltages and the current set still makes some units unstable.

Revert back to nominal values.

Cc: <stable@vger.kernel.org>
Fixes: c24a9b698fb0 ("arm64: dts: imx8mq-librem5: Set the DVS voltages lower")
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
 .../arm64/boot/dts/freescale/imx8mq-librem5-r3.dts |  2 +-
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi  | 22 ++++++----------------
 2 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts
index 077c5cd2586f..4533a84fb0b9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dts
@@ -7,7 +7,7 @@
 
 &a53_opp_table {
 	opp-1000000000 {
-		opp-microvolt = <950000>;
+		opp-microvolt = <1000000>;
 	};
 };
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index eee390c27210..7818d84f25a7 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -880,8 +880,8 @@ buck1_reg: BUCK1 {
 				regulator-max-microvolt = <1300000>;
 				regulator-boot-on;
 				regulator-ramp-delay = <1250>;
-				rohm,dvs-run-voltage = <880000>;
-				rohm,dvs-idle-voltage = <820000>;
+				rohm,dvs-run-voltage = <900000>;
+				rohm,dvs-idle-voltage = <850000>;
 				rohm,dvs-suspend-voltage = <810000>;
 				regulator-always-on;
 			};
@@ -892,8 +892,8 @@ buck2_reg: BUCK2 {
 				regulator-max-microvolt = <1300000>;
 				regulator-boot-on;
 				regulator-ramp-delay = <1250>;
-				rohm,dvs-run-voltage = <950000>;
-				rohm,dvs-idle-voltage = <850000>;
+				rohm,dvs-run-voltage = <1000000>;
+				rohm,dvs-idle-voltage = <900000>;
 				regulator-always-on;
 			};
 
@@ -902,14 +902,14 @@ buck3_reg: BUCK3 {
 				regulator-min-microvolt = <700000>;
 				regulator-max-microvolt = <1300000>;
 				regulator-boot-on;
-				rohm,dvs-run-voltage = <850000>;
+				rohm,dvs-run-voltage = <900000>;
 			};
 
 			buck4_reg: BUCK4 {
 				regulator-name = "buck4";
 				regulator-min-microvolt = <700000>;
 				regulator-max-microvolt = <1300000>;
-				rohm,dvs-run-voltage = <930000>;
+				rohm,dvs-run-voltage = <1000000>;
 			};
 
 			buck5_reg: BUCK5 {
@@ -1448,13 +1448,3 @@ &wdog1 {
 	fsl,ext-reset-output;
 	status = "okay";
 };
-
-&a53_opp_table {
-	opp-1000000000 {
-		opp-microvolt = <850000>;
-	};
-
-	opp-1500000000 {
-		opp-microvolt = <950000>;
-	};
-};

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V
  2026-02-21 18:15 [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Sebastian Krzyszkowiak
  2026-02-21 18:15 ` [PATCH v2 1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower" Sebastian Krzyszkowiak
@ 2026-02-21 18:15 ` Sebastian Krzyszkowiak
  2026-03-06 16:20 ` [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Sebastian Krzyszkowiak @ 2026-02-21 18:15 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Martin Kepplinger, Shawn Guo, Angus Ainslie (Purism),
	Daniel Baluta
  Cc: kernel, devicetree, imx, linux-arm-kernel, linux-kernel,
	Guido Günther, Sebastian Krzyszkowiak, stable

The minimal voltage of VDD_SOC sourced from BUCK1 is 0.81V, which
is the currently set value. However, BD71837 only guarantees accuracy
of ±0.01V, and this still doesn't factor other reasons for actual
voltage to slightly drop in, resulting in the possibility of running
out of the operational range.

Bump the voltage up to 0.85V, which should give enough headroom.

Cc: <stable@vger.kernel.org>
Fixes: 8f0216b006e5 ("arm64: dts: Add a device tree for the Librem 5 phone")
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index 7818d84f25a7..f5d529c5baf3 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -882,7 +882,7 @@ buck1_reg: BUCK1 {
 				regulator-ramp-delay = <1250>;
 				rohm,dvs-run-voltage = <900000>;
 				rohm,dvs-idle-voltage = <850000>;
-				rohm,dvs-suspend-voltage = <810000>;
+				rohm,dvs-suspend-voltage = <850000>;
 				regulator-always-on;
 			};
 

-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes
  2026-02-21 18:15 [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Sebastian Krzyszkowiak
  2026-02-21 18:15 ` [PATCH v2 1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower" Sebastian Krzyszkowiak
  2026-02-21 18:15 ` [PATCH v2 2/2] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V Sebastian Krzyszkowiak
@ 2026-03-06 16:20 ` Frank Li
  2 siblings, 0 replies; 4+ messages in thread
From: Frank Li @ 2026-03-06 16:20 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Martin Kepplinger,
	Shawn Guo, Angus Ainslie (Purism), Daniel Baluta,
	Sebastian Krzyszkowiak
  Cc: kernel, devicetree, imx, linux-arm-kernel, linux-kernel,
	Guido Günther, stable


On Sat, 21 Feb 2026 19:15:17 +0100, Sebastian Krzyszkowiak wrote:
> Simple changes to bump the voltages up to their nominal values to ensure
> stable operation across all units.
> 
> 

Applied, thanks!

[1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower"
      commit: b2be99061601c19a56747890262d6adb37ed67cb
[2/2] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V
      commit: 04d00f57c168153758d2c6a2395d20aadc785e3e

Best regards,
-- 
Frank Li <Frank.Li@nxp.com>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-06 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21 18:15 [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Sebastian Krzyszkowiak
2026-02-21 18:15 ` [PATCH v2 1/2] Revert "arm64: dts: imx8mq-librem5: Set the DVS voltages lower" Sebastian Krzyszkowiak
2026-02-21 18:15 ` [PATCH v2 2/2] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage up to 0.85V Sebastian Krzyszkowiak
2026-03-06 16:20 ` [PATCH v2 0/2] arm64: dts: imx8mq-librem5: PMIC voltage changes Frank Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox