Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+14 -3
+10 -2
arch/arm/boot/dts/imx6qdl-sr-som.dtsi
··· 53 53 &fec { 54 54 pinctrl-names = "default"; 55 55 pinctrl-0 = <&pinctrl_microsom_enet_ar8035>; 56 - phy-handle = <&phy>; 57 56 phy-mode = "rgmii-id"; 58 57 phy-reset-duration = <2>; 59 58 phy-reset-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; ··· 62 63 #address-cells = <1>; 63 64 #size-cells = <0>; 64 65 65 - phy: ethernet-phy@0 { 66 + /* 67 + * The PHY can appear at either address 0 or 4 due to the 68 + * configuration (LED) pin not being pulled sufficiently. 69 + */ 70 + ethernet-phy@0 { 66 71 reg = <0>; 72 + qca,clk-out-frequency = <125000000>; 73 + }; 74 + 75 + ethernet-phy@4 { 76 + reg = <4>; 67 77 qca,clk-out-frequency = <125000000>; 68 78 }; 69 79 };
+1
arch/arm/boot/dts/imx7d-flex-concentrator.dts
··· 115 115 compatible = "nxp,pcf2127"; 116 116 reg = <0>; 117 117 spi-max-frequency = <2000000>; 118 + reset-source; 118 119 }; 119 120 }; 120 121
+1
arch/arm/mach-imx/suspend-imx6.S
··· 67 67 #define MX6Q_CCM_CCR 0x0 68 68 69 69 .align 3 70 + .arm 70 71 71 72 .macro sync_l2_cache 72 73
+1 -1
arch/arm64/boot/dts/freescale/imx8mp.dtsi
··· 266 266 #gpio-cells = <2>; 267 267 interrupt-controller; 268 268 #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>; 270 270 }; 271 271 272 272 gpio4: gpio@30230000 {
+1
drivers/firmware/imx/Kconfig
··· 13 13 config IMX_SCU 14 14 bool "IMX SCU Protocol driver" 15 15 depends on IMX_MBOX 16 + select SOC_BUS 16 17 help 17 18 The System Controller Firmware (SCFW) is a low-level system function 18 19 which runs on a dedicated Cortex-M core to provide power, clock, and