From 7698fde3ce1698c16f0d6235ffb146ad97e678fe Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Sun, 16 Jul 2023 17:29:48 +0200 Subject: [PATCH] 5.10-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.10/series | 1 + 2 files changed, 47 insertions(+) create mode 100644 queue-5.10/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch diff --git a/queue-5.10/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch b/queue-5.10/mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch new file mode 100644 index 00000000000..3abfcbb0d36 --- /dev/null +++ b/queue-5.10/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 +@@ -183,8 +183,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.10/series b/queue-5.10/series index 9e67e5b1092..76c6a85adcd 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -313,3 +313,4 @@ fanotify-disallow-mount-sb-marks-on-kernel-internal-pseudo-fs.patch tpm-tpm_tis-claim-locality-in-interrupt-handler.patch selftests-bpf-add-verifier-test-for-ptr_to_mem-spill.patch block-add-overflow-checks-for-amiga-partition-support.patch +mips-dts-ci20-raise-vddcore-voltage-to-1.125-volts.patch -- 2.47.3