diff options
| author | Tim Harvey | 2025-06-19 23:58:11 +0000 |
|---|---|---|
| committer | Robert Marko | 2025-06-25 19:02:35 +0000 |
| commit | 7bf3b29a5650495d3777292eeb4f13f34837e10d (patch) | |
| tree | bba3122d0213d78abc309bac8a0bfc373ff4b117 | |
| parent | 5ff7149a08df0a5f408ceb48c1b0ca2a40b49b3e (diff) | |
| download | openwrt-7bf3b29a5650495d3777292eeb4f13f34837e10d.tar.gz | |
imx: kernel: backport additional upstream patches
Backport some additional upstream patches to resolves some issues when using
dt overlays on gw72xx-0x and gw73xx-0x:
- 6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch
- 6.12-arm64-dts-imx8mm-venice-gw72xx-remove-compatible-in-overlay-files.patch
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/19218
Signed-off-by: Robert Marko <robimarko@gmail.com>
2 files changed, 116 insertions, 0 deletions
diff --git a/target/linux/imx/patches-6.6/505-6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch b/target/linux/imx/patches-6.6/505-6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch new file mode 100644 index 0000000000..52b673e9b5 --- /dev/null +++ b/target/linux/imx/patches-6.6/505-6.13-arm64-dts-imx8mm-venice-gw73xx-remove-compatible-in-overlay-files.patch @@ -0,0 +1,56 @@ +From d3fdc7ae2ca9cb93d634e84a2b90ebf340d6e622 Mon Sep 17 00:00:00 2001 +From: Frank Li <Frank.Li@nxp.com> +Date: Fri, 18 Oct 2024 14:28:23 -0400 +Subject: [PATCH] arm64: dts: imx8mm-venice-gw73xx: remove compatible in + overlay file + +Remove compatible string in overlay file to fix below warning: +'gw,imx8mm-gw73xx-0x' is not one of ['fsl,ls1043a-rdb', 'fsl,ls1043a-qds'] + +Signed-off-by: Frank Li <Frank.Li@nxp.com> +Signed-off-by: Shawn Guo <shawnguo@kernel.org> +--- + .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso | 4 ---- + .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso | 4 ---- + .../boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso | 4 ---- + 3 files changed, 12 deletions(-) + +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso +@@ -15,10 +15,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw73xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso +@@ -18,10 +18,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw73xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso +@@ -18,10 +18,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw73xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; diff --git a/target/linux/imx/patches-6.6/506-6.12-arm64-dts-imx8mm-venice-gw72xx-remove-compatible-in-overlay-files.patch b/target/linux/imx/patches-6.6/506-6.12-arm64-dts-imx8mm-venice-gw72xx-remove-compatible-in-overlay-files.patch new file mode 100644 index 0000000000..bd88e35260 --- /dev/null +++ b/target/linux/imx/patches-6.6/506-6.12-arm64-dts-imx8mm-venice-gw72xx-remove-compatible-in-overlay-files.patch @@ -0,0 +1,60 @@ +From f384d2828f0d5be67fcd69a7c4756f82465a7f2a Mon Sep 17 00:00:00 2001 +From: Fabio Estevam <festevam@denx.de> +Date: Mon, 1 Jul 2024 20:12:29 -0300 +Subject: [PATCH] arm64: dts: imx8mm-venice-gw72xx-0x: Remove compatible from + dtso + +There is no need to describe the compatible string inside +a dtso file. + +dt-schema produces super verbose warnings about that. + +Signed-off-by: Fabio Estevam <festevam@denx.de> +Acked-by: Parthiban Nallathambi <parthiban@linumiz.com> +Acked-by: Tim Harvey <tharvey@gateworks.com> +Signed-off-by: Shawn Guo <shawnguo@kernel.org> +--- + .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso | 4 ---- + .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso | 4 ---- + .../boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso | 4 ---- + 3 files changed, 12 deletions(-) + +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso +@@ -15,10 +15,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw72xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso +@@ -18,10 +18,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw72xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; +--- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso ++++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso +@@ -18,10 +18,6 @@ + /dts-v1/; + /plugin/; + +-&{/} { +- compatible = "gw,imx8mm-gw72xx-0x"; +-}; +- + &gpio4 { + rs485_en { + gpio-hog; |