Skip to content

Commit e49c24c

Browse files
committed
Merge tag 'imx-fixes-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
i.MX fixes for 5.11, round 2: - Fix pcf2127 reset for imx7d-flex-concentrator board. - Fix i.MX6 suspend with Thumb-2 kernel. - Fix ethernet-phy address issue on imx6qdl-sr-som board. - Fix GPIO3 `gpio-ranges` on i.MX8MP. - Select SOC_BUS for IMX_SCU driver to fix build issue. * tag 'imx-fixes-5.11-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: firmware: imx: select SOC_BUS to fix firmware build arm64: dts: imx8mp: Correct the gpio ranges of gpio3 ARM: dts: imx6qdl-sr-som: fix some cubox-i platforms ARM: imx: build suspend-imx6.S with arm instruction set ARM: dts: imx7d-flex-concentrator: fix pcf2127 reset Link: https://lore.kernel.org/r/20210119091949.GD4356@dragon Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 68e89bc + 82c0827 commit e49c24c

5 files changed

Lines changed: 14 additions & 3 deletions

File tree

arch/arm/boot/dts/imx6qdl-sr-som.dtsi

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
&fec {
5454
pinctrl-names = "default";
5555
pinctrl-0 = <&pinctrl_microsom_enet_ar8035>;
56-
phy-handle = <&phy>;
5756
phy-mode = "rgmii-id";
5857
phy-reset-duration = <2>;
5958
phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>;
@@ -63,10 +62,19 @@
6362
#address-cells = <1>;
6463
#size-cells = <0>;
6564

66-
phy: ethernet-phy@0 {
65+
/*
66+
* The PHY can appear at either address 0 or 4 due to the
67+
* configuration (LED) pin not being pulled sufficiently.
68+
*/
69+
ethernet-phy@0 {
6770
reg = <0>;
6871
qca,clk-out-frequency = <125000000>;
6972
};
73+
74+
ethernet-phy@4 {
75+
reg = <4>;
76+
qca,clk-out-frequency = <125000000>;
77+
};
7078
};
7179
};
7280

arch/arm/boot/dts/imx7d-flex-concentrator.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
compatible = "nxp,pcf2127";
116116
reg = <0>;
117117
spi-max-frequency = <2000000>;
118+
reset-source;
118119
};
119120
};
120121

arch/arm/mach-imx/suspend-imx6.S

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
#define MX6Q_CCM_CCR 0x0
6868

6969
.align 3
70+
.arm
7071

7172
.macro sync_l2_cache
7273

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
#gpio-cells = <2>;
267267
interrupt-controller;
268268
#interrupt-cells = <2>;
269-
gpio-ranges = <&iomuxc 0 56 26>, <&iomuxc 0 144 4>;
269+
gpio-ranges = <&iomuxc 0 56 26>, <&iomuxc 26 144 4>;
270270
};
271271

272272
gpio4: gpio@30230000 {

drivers/firmware/imx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ config IMX_DSP
1313
config IMX_SCU
1414
bool "IMX SCU Protocol driver"
1515
depends on IMX_MBOX
16+
select SOC_BUS
1617
help
1718
The System Controller Firmware (SCFW) is a low-level system function
1819
which runs on a dedicated Cortex-M core to provide power, clock, and

0 commit comments

Comments
 (0)