Skip to content

Commit 2250596

Browse files
committed
Merge tag 'imx-fixes-5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
i.MX fixes for 5.15, round 2: - A couple of fixes from Haibo Chen to update SPI NOR TX bus width for i.MX6 and i.MX8 boards. This becomes necessary because spi-nor driver starts using the setting in DT. - Mark buck2 always-on for i.MX8MM Kontron-n801x-som board to avoid the core supply being turned off unexpectedly. - Fix eSDHC2 device tree settings for LS1028A SoC. - Disable GIC CPU interface before calling stby-poweroff sequence to fix power-off failure on i.MX6. - Fix M2_RST# GPIO pinmux on i.MX8M venice-gw7902 boards. * tag 'imx-fixes-5.15-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: imx8m*-venice-gw7902: fix M2_RST# gpio ARM: imx6: disable the GIC CPU interface before calling stby-poweroff sequence arm64: dts: ls1028a: fix eSDHC2 node arm64: dts: imx8mm-kontron-n801x-som: do not allow to switch off buck2 arm64: dts: imx8: change the spi-nor tx ARM: dts: imx: change the spi-nor tx Link: https://lore.kernel.org/r/20211006125734.GA10197@dragon Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 34186b4 + 3518441 commit 2250596

13 files changed

+17
-12
lines changed

arch/arm/boot/dts/imx6sx-sdb.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
compatible = "micron,n25q256a", "jedec,spi-nor";
115115
spi-max-frequency = <29000000>;
116116
spi-rx-bus-width = <4>;
117-
spi-tx-bus-width = <4>;
117+
spi-tx-bus-width = <1>;
118118
reg = <0>;
119119
};
120120

@@ -124,7 +124,7 @@
124124
compatible = "micron,n25q256a", "jedec,spi-nor";
125125
spi-max-frequency = <29000000>;
126126
spi-rx-bus-width = <4>;
127-
spi-tx-bus-width = <4>;
127+
spi-tx-bus-width = <1>;
128128
reg = <2>;
129129
};
130130
};

arch/arm/boot/dts/imx6ul-14x14-evk.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
compatible = "micron,n25q256a", "jedec,spi-nor";
293293
spi-max-frequency = <29000000>;
294294
spi-rx-bus-width = <4>;
295-
spi-tx-bus-width = <4>;
295+
spi-tx-bus-width = <1>;
296296
reg = <0>;
297297
};
298298
};

arch/arm/mach-imx/pm-imx6.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <linux/io.h>
1111
#include <linux/irq.h>
1212
#include <linux/genalloc.h>
13+
#include <linux/irqchip/arm-gic.h>
1314
#include <linux/mfd/syscon.h>
1415
#include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
1516
#include <linux/of.h>
@@ -619,6 +620,7 @@ static void __init imx6_pm_common_init(const struct imx6_pm_socdata
619620

620621
static void imx6_pm_stby_poweroff(void)
621622
{
623+
gic_cpu_if_down(0);
622624
imx6_set_lpm(STOP_POWER_OFF);
623625
imx6q_suspend_finish(0);
624626

arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,9 +405,9 @@
405405
interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
406406
clock-frequency = <0>; /* fixed up by bootloader */
407407
clocks = <&clockgen QORIQ_CLK_HWACCEL 1>;
408-
voltage-ranges = <1800 1800 3300 3300>;
408+
voltage-ranges = <1800 1800>;
409409
sdhci,auto-cmd12;
410-
broken-cd;
410+
non-removable;
411411
little-endian;
412412
bus-width = <4>;
413413
status = "disabled";

arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
#size-cells = <1>;
9292
compatible = "jedec,spi-nor";
9393
spi-max-frequency = <80000000>;
94-
spi-tx-bus-width = <4>;
94+
spi-tx-bus-width = <1>;
9595
spi-rx-bus-width = <4>;
9696
};
9797
};

arch/arm64/boot/dts/freescale/imx8mm-evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
#size-cells = <1>;
4949
compatible = "jedec,spi-nor";
5050
spi-max-frequency = <80000000>;
51-
spi-tx-bus-width = <4>;
51+
spi-tx-bus-width = <1>;
5252
spi-rx-bus-width = <4>;
5353
};
5454
};

arch/arm64/boot/dts/freescale/imx8mm-kontron-n801x-som.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
regulator-min-microvolt = <850000>;
103103
regulator-max-microvolt = <950000>;
104104
regulator-boot-on;
105+
regulator-always-on;
105106
regulator-ramp-delay = <3125>;
106107
nxp,dvs-run-voltage = <950000>;
107108
nxp,dvs-standby-voltage = <850000>;

arch/arm64/boot/dts/freescale/imx8mm-venice-gw7902.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@
647647
pinctrl_hog: hoggrp {
648648
fsl,pins = <
649649
MX8MM_IOMUXC_NAND_CE0_B_GPIO3_IO1 0x40000159 /* M2_GDIS# */
650-
MX8MM_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* M2_RST# */
650+
MX8MM_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x40000041 /* M2_RST# */
651651
MX8MM_IOMUXC_NAND_DATA01_GPIO3_IO7 0x40000119 /* M2_OFF# */
652652
MX8MM_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x40000159 /* M2_WDIS# */
653653
MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14 0x40000041 /* AMP GPIO1 */

arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
#size-cells = <1>;
102102
compatible = "jedec,spi-nor";
103103
spi-max-frequency = <80000000>;
104-
spi-tx-bus-width = <4>;
104+
spi-tx-bus-width = <1>;
105105
spi-rx-bus-width = <4>;
106106
};
107107
};

arch/arm64/boot/dts/freescale/imx8mn-venice-gw7902.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@
633633
pinctrl_hog: hoggrp {
634634
fsl,pins = <
635635
MX8MN_IOMUXC_NAND_CE0_B_GPIO3_IO1 0x40000159 /* M2_GDIS# */
636-
MX8MN_IOMUXC_GPIO1_IO12_GPIO1_IO12 0x40000041 /* M2_RST# */
636+
MX8MN_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x40000041 /* M2_RST# */
637637
MX8MN_IOMUXC_NAND_DATA01_GPIO3_IO7 0x40000119 /* M2_OFF# */
638638
MX8MN_IOMUXC_GPIO1_IO15_GPIO1_IO15 0x40000159 /* M2_WDIS# */
639639
MX8MN_IOMUXC_SAI2_RXFS_GPIO4_IO21 0x40000041 /* APP GPIO1 */

0 commit comments

Comments
 (0)