From e9aa024386b86f5168954e196f4a9cc6df012ddb Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 16 Jul 2023 17:29:56 +0200 Subject: [PATCH] 5.15-stable patches added patches: mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch --- ...raise-vddcore-voltage-to-1.125-volts.patch | 46 +++++++++++++++++++ queue-5.15/series | 1 + 2 files changed, 47 insertions(+) create mode 100644 queue-5.15/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch diff --git a/queue-5.15/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch b/queue-5.15/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch new file mode 100644 index 00000000000..5cc48e39226 --- /dev/null +++ b/queue-5.15/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch @@ -0,0 +1,46 @@ +From 944520f85d5b1fb2f9ea243be41f9c9af3d4cef3 Mon Sep 17 00:00:00 2001 +From: Paul Cercueil +Date: Thu, 22 Jun 2023 19:59:34 +0200 +Subject: MIPS: DTS: CI20: Raise VDDCORE voltage to 1.125 volts + +From: Paul Cercueil + +commit 944520f85d5b1fb2f9ea243be41f9c9af3d4cef3 upstream. + +Commit 08384e80a70f ("MIPS: DTS: CI20: Fix ACT8600 regulator node +names") caused the VDDCORE power supply (regulated by the ACT8600's +DCDC1 output) to drop from a voltage of 1.2V configured by the +bootloader, to the 1.1V set in the Device Tree. + +According to the documentation, the VDDCORE supply should be between +0.99V and 1.21V; both values are therefore within the supported range. + +However, VDDCORE being 1.1V results in the CI20 being very unstable, +with corrupted memory, failures to boot, or reboots at random. The +reason might be succint drops of the voltage below the minimum required. + +Raising the minimum voltage to 1.125 volts seems to be enough to address +this issue, while still keeping a relatively low core voltage which +helps for power consumption and thermals. + +Fixes: 08384e80a70f ("MIPS: DTS: CI20: Fix ACT8600 regulator node names") +Signed-off-by: Paul Cercueil +Signed-off-by: Thomas Bogendoerfer +Signed-off-by: Greg Kroah-Hartman +--- + arch/mips/boot/dts/ingenic/ci20.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/arch/mips/boot/dts/ingenic/ci20.dts ++++ b/arch/mips/boot/dts/ingenic/ci20.dts +@@ -222,8 +222,8 @@ + + regulators { + vddcore: DCDC1 { +- regulator-min-microvolt = <1100000>; +- regulator-max-microvolt = <1100000>; ++ regulator-min-microvolt = <1125000>; ++ regulator-max-microvolt = <1125000>; + regulator-always-on; + }; + vddmem: DCDC2 { diff --git a/queue-5.15/series b/queue-5.15/series index 9e9900ce12c..65dbd33ad52 100644 --- a/queue-5.15/series +++ b/queue-5.15/series @@ -386,3 +386,4 @@ fs-no-need-to-check-source.patch ovl-fix-null-pointer-dereference-in-ovl_get_acl_rcu.patch fanotify-disallow-mount-sb-marks-on-kernel-internal-pseudo-fs.patch netfilter-nf_tables-unbind-non-anonymous-set-if-rule-construction-fails.patch +mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch -- 2.47.3