2022-03-24 12:19:15

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v2 0/3] arm64: prepare and add verdin imx8m plus support

From: Marcel Ziswiler <[email protected]>


Add DMA properties to uart2 node of the base i.MX 8M Plus device tree,
add toradex,verdin-imx8mp et al. to dt-bindings and finally, add
initial support for Verdin iMX8M Plus.

Changes in v2:
- Add Laurent's reviewed-by tag.
- Add Krzysztof's reviewed-by tag.
- Fix capitatlisation of verdin in comments as reported by Laurent.
- Add/modify todo comments as suggested by Laurent.
- Add Laurent's reviewed- and tested-by tags.

Marcel Ziswiler (3):
arm64: dts: imx8mp: add uart2 dma
dt-bindings: arm: fsl: add toradex,verdin-imx8mp et al.
arm64: dts: freescale: add initial support for verdin imx8m plus

.../devicetree/bindings/arm/fsl.yaml | 21 +
arch/arm64/boot/dts/freescale/Makefile | 4 +
.../dts/freescale/imx8mp-verdin-dahlia.dtsi | 129 ++
.../boot/dts/freescale/imx8mp-verdin-dev.dtsi | 44 +
.../imx8mp-verdin-nonwifi-dahlia.dts | 18 +
.../freescale/imx8mp-verdin-nonwifi-dev.dts | 18 +
.../dts/freescale/imx8mp-verdin-nonwifi.dtsi | 54 +
.../freescale/imx8mp-verdin-wifi-dahlia.dts | 18 +
.../dts/freescale/imx8mp-verdin-wifi-dev.dts | 18 +
.../dts/freescale/imx8mp-verdin-wifi.dtsi | 82 +
.../boot/dts/freescale/imx8mp-verdin.dtsi | 1373 +++++++++++++++++
arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +
12 files changed, 1781 insertions(+)
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi.dtsi
create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi

--
2.34.1


2022-03-24 15:36:39

by Marcel Ziswiler

[permalink] [raw]
Subject: [PATCH v2 1/3] arm64: dts: imx8mp: add uart2 dma

From: Marcel Ziswiler <[email protected]>

Add DMA properties to uart2 node.

Signed-off-by: Marcel Ziswiler <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>

---

Changes in v2:
- Add Laurent's reviewed-by tag.

arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
index 3f8703f3ba5b..b6a020bac9c5 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
@@ -617,6 +617,8 @@ uart2: serial@30890000 {
clocks = <&clk IMX8MP_CLK_UART2_ROOT>,
<&clk IMX8MP_CLK_UART2_ROOT>;
clock-names = "ipg", "per";
+ dmas = <&sdma1 24 4 0>, <&sdma1 25 4 0>;
+ dma-names = "rx", "tx";
status = "disabled";
};

--
2.34.1