]>
Commit | Line | Data |
---|---|---|
36d1ee6e GKH |
1 | From 82a4f329b133ad0de66bee12c0be5c67bb8aa188 Mon Sep 17 00:00:00 2001 |
2 | From: Frieder Schrempf <frieder.schrempf@kontron.de> | |
3 | Date: Fri, 15 Oct 2021 14:48:36 +0200 | |
4 | Subject: arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct | |
5 | ||
6 | From: Frieder Schrempf <frieder.schrempf@kontron.de> | |
7 | ||
8 | commit 82a4f329b133ad0de66bee12c0be5c67bb8aa188 upstream. | |
9 | ||
10 | It looks like the voltages for the SOC and DRAM supply weren't properly | |
11 | validated before. The datasheet and uboot-imx code tells us that VDD_SOC | |
12 | should be 800 mV in suspend and 850 mV in run mode. VDD_DRAM should be | |
13 | 950 mV for DDR clock frequencies of up to 1.5 GHz. | |
14 | ||
15 | Let's fix these values to make sure the voltages are within the required | |
16 | range. | |
17 | ||
18 | Fixes: 8668d8b2e67f ("arm64: dts: Add the Kontron i.MX8M Mini SoMs and baseboards") | |
19 | Cc: stable@vger.kernel.org | |
20 | Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> | |
21 | Signed-off-by: Shawn Guo <shawnguo@kernel.org> | |
22 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
23 | --- | |
24 | arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | 6 ++++-- | |
25 | 1 file changed, 4 insertions(+), 2 deletions(-) | |
26 | ||
27 | --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | |
28 | +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi | |
29 | @@ -91,10 +91,12 @@ | |
30 | reg_vdd_soc: BUCK1 { | |
31 | regulator-name = "buck1"; | |
32 | regulator-min-microvolt = <800000>; | |
33 | - regulator-max-microvolt = <900000>; | |
34 | + regulator-max-microvolt = <850000>; | |
35 | regulator-boot-on; | |
36 | regulator-always-on; | |
37 | regulator-ramp-delay = <3125>; | |
38 | + nxp,dvs-run-voltage = <850000>; | |
39 | + nxp,dvs-standby-voltage = <800000>; | |
40 | }; | |
41 | ||
42 | reg_vdd_arm: BUCK2 { | |
43 | @@ -111,7 +113,7 @@ | |
44 | reg_vdd_dram: BUCK3 { | |
45 | regulator-name = "buck3"; | |
46 | regulator-min-microvolt = <850000>; | |
47 | - regulator-max-microvolt = <900000>; | |
48 | + regulator-max-microvolt = <950000>; | |
49 | regulator-boot-on; | |
50 | regulator-always-on; | |
51 | }; |