]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.30/arm-dts-imx6sx-sdb-remove-opp-override.patch
Linux 4.14.95
[thirdparty/kernel/stable-queue.git] / releases / 4.9.30 / arm-dts-imx6sx-sdb-remove-opp-override.patch
1 From d8581c7c8be172dac156a19d261f988a72ce596f Mon Sep 17 00:00:00 2001
2 From: Leonard Crestez <leonard.crestez@nxp.com>
3 Date: Fri, 5 May 2017 14:00:17 +0300
4 Subject: ARM: dts: imx6sx-sdb: Remove OPP override
5
6 From: Leonard Crestez <leonard.crestez@nxp.com>
7
8 commit d8581c7c8be172dac156a19d261f988a72ce596f upstream.
9
10 The board file for imx6sx-sdb overrides cpufreq operating points to use
11 higher voltages. This is done because the board has a shared rail for
12 VDD_ARM_IN and VDD_SOC_IN and when using LDO bypass the shared voltage
13 needs to be a value suitable for both ARM and SOC.
14
15 This only applies to LDO bypass mode, a feature not present in upstream.
16 When LDOs are enabled the effect is to use higher voltages than necessary
17 for no good reason.
18
19 Setting these higher voltages can make some boards fail to boot with ugly
20 semi-random crashes reminiscent of memory corruption. These failures only
21 happen on board rev. C, rev. B is reported to still work.
22
23 Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
24 Fixes: 54183bd7f766 ("ARM: imx6sx-sdb: add revb board and make it default")
25 Signed-off-by: Shawn Guo <shawnguo@kernel.org>
26 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
27
28 ---
29 arch/arm/boot/dts/imx6sx-sdb.dts | 17 -----------------
30 1 file changed, 17 deletions(-)
31
32 --- a/arch/arm/boot/dts/imx6sx-sdb.dts
33 +++ b/arch/arm/boot/dts/imx6sx-sdb.dts
34 @@ -12,23 +12,6 @@
35 model = "Freescale i.MX6 SoloX SDB RevB Board";
36 };
37
38 -&cpu0 {
39 - operating-points = <
40 - /* kHz uV */
41 - 996000 1250000
42 - 792000 1175000
43 - 396000 1175000
44 - 198000 1175000
45 - >;
46 - fsl,soc-operating-points = <
47 - /* ARM kHz SOC uV */
48 - 996000 1250000
49 - 792000 1175000
50 - 396000 1175000
51 - 198000 1175000
52 - >;
53 -};
54 -
55 &i2c1 {
56 clock-frequency = <100000>;
57 pinctrl-names = "default";