Skip to contentSkip to conversation

arm64: dts: imx8mp: Add DeWarp Engine DT node

PATCH In review Marek Vasut 2 participants 4 messages May 15, 2023 – May 16, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mp: Add DeWarp Engine DT node

Add DT node for the DeWarp Engine of the i.MX8MP.

---
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/freescale/imx8mp.dtsi +10 -0
index 245c560674de7..b64c944eecf82 100644
@@ -1534,6 +1534,16 @@ isi_in_1: endpoint {
 				};
 			};
 
+			dewarp: dwe@32e30000 {
+				compatible = "nxp,imx8mp-dw100";
+				reg = <0x32e30000 0x10000>;
+				interrupts = <GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>;
+				clocks = <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
+					 <&clk IMX8MP_CLK_MEDIA_APB_ROOT>;
+				clock-names = "axi", "ahb";
+				power-domains = <&media_blk_ctrl IMX8MP_MEDIABLK_PD_DWE>;
+			};
+
 			mipi_csi_0: csi@32e40000 {
 				compatible = "fsl,imx8mp-mipi-csi2", "fsl,imx8mm-mipi-csi2";
 				reg = <0x32e40000 0x10000>;
Signature · 1 line
2.39.2
#1 lore raw

Hi Marek,

Am Montag, 15. Mai 2023, 18:32:24 CEST schrieb Marek Vasut:

Quoted 16 lines

Add DT node for the DeWarp Engine of the i.MX8MP.

---
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]

While the node itself is okay, could you please add a patch for reordering the other nodes in aips4 before adding dewarp? dwe@32e30000 should be at the top after ISI (ISP not yet added).

Best regards,
Alexander

Quoted 10 lines
---
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
(quoted diff) +0 -0

b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index
245c560674de7..b64c944eecf82 100644

arch/arm64/boot/dts/freescale/imx8mp.dtsi isi_in_1: endpoint { · line 1540

Quoted 7 lines
arch/arm64/boot/dts/freescale/imx8mp.dtsi +4 -0
@@ -1534,6 +1534,16 @@ isi_in_1: endpoint {
 				};
 			};
 
+			dewarp: dwe@32e30000 {
+				compatible = "nxp,imx8mp-dw100";
+				reg = <0x32e30000 0x10000>;
+				interrupts = <GIC_SPI 100 

IRQ_TYPE_LEVEL_HIGH>;

arch/arm64/boot/dts/freescale/imx8mp.dtsi isi_in_1: endpoint { · line 1541

Quoted 1 line
arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -0
+				clocks = <&clk 

IMX8MP_CLK_MEDIA_AXI_ROOT>,

arch/arm64/boot/dts/freescale/imx8mp.dtsi isi_in_1: endpoint { · line 1542

Quoted 1 line
arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -0
+					 <&clk 

IMX8MP_CLK_MEDIA_APB_ROOT>;

arch/arm64/boot/dts/freescale/imx8mp.dtsi isi_in_1: endpoint { · line 1544

Quoted 2 lines
arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -0
+				clock-names = "axi", "ahb";
+				power-domains = <&media_blk_ctrl 

IMX8MP_MEDIABLK_PD_DWE>;

arch/arm64/boot/dts/freescale/imx8mp.dtsi isi_in_1: endpoint {

Quoted 4 lines
arch/arm64/boot/dts/freescale/imx8mp.dtsi +2 -0
+			};
+
 			mipi_csi_0: csi@32e40000 {
 				compatible = "fsl,imx8mp-mipi-csi2", 

"fsl,imx8mm-mipi-csi2";

Quoted 1 line
arch/arm64/boot/dts/freescale/imx8mp.dtsi +0 -0
 				reg = <0x32e40000 0x10000>;
Signature · 4 lines
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
#2 lore raw
Quoted 1 line · Alexander Stein

Hi Marek,

Hi,

Quoted 18 lines

Am Montag, 15. Mai 2023, 18:32:24 CEST schrieb Marek Vasut:

Quoted 16 lines

Add DT node for the DeWarp Engine of the i.MX8MP.

---
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]

Quoted 3 lines

While the node itself is okay, could you please add a patch for reordering the other nodes in aips4 before adding dewarp? dwe@32e30000 should be at the top after ISI (ISP not yet added).

The sorting of nodes does not conflict with this change, so I'll send a separate patch for that.

#3 lore raw
Quoted 23 lines · Marek Vasut
Quoted 1 line · Alexander Stein

Hi Marek,

Hi,

Quoted 18 lines

Am Montag, 15. Mai 2023, 18:32:24 CEST schrieb Marek Vasut:

Quoted 16 lines

Add DT node for the DeWarp Engine of the i.MX8MP.

---
Cc: Conor Dooley <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
Cc: [email protected]

Quoted 5 lines
Quoted 3 lines

While the node itself is okay, could you please add a patch for reordering the other nodes in aips4 before adding dewarp? dwe@32e30000 should be at the top after ISI (ISP not yet added).

The sorting of nodes does not conflict with this change, so I'll send a separate patch for that.

Well that wasn't as easy as I thought, but oh well, V2 is out.