Skip to contentSkip to conversation

ARM: dts: broadcom: rename pl330 DMA nodes to dma-controller

PATCH Applied Rosen Penev 2 participants 2 messages Sep 21 – Sep 28

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

PATCH 1/1 ARM: dts: broadcom: rename pl330 DMA nodes to dma-controller

Each PL330 device node in the Cygnus, HR2, and Northstar Plus dtsi files was named dma or dma@<addr>, which does not follow the generic recommended node name for DMA controllers (dma-controller).

Rename them accordingly. The phandle labels (dma0/dma) are preserved, so existing references via &dma keep working.

Assisted-by LLM
---
 arch/arm/boot/dts/broadcom/bcm-cygnus.dtsi | 2 +-
 arch/arm/boot/dts/broadcom/bcm-hr2.dtsi    | 2 +-
 arch/arm/boot/dts/broadcom/bcm-nsp.dtsi    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/broadcom/bcm-cygnus.dtsi +1 -1
index 07ca0d993c9f..a017e46fd78f 100644
@@ -331,7 +331,7 @@ msi1: msi {
 			};
 		};
 
-		dma0: dma@18018000 {
+		dma0: dma-controller@18018000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x18018000 0x1000>;
 			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
arch/arm/boot/dts/broadcom/bcm-hr2.dtsi +1 -1
index 75545b10ef2f..13bc358adcfe 100644
@@ -154,7 +154,7 @@ uart1: serial@400 {
 			status = "disabled";
 		};
 
-		dma@20000 {
+		dma-controller@20000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x20000 0x1000>;
 			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
arch/arm/boot/dts/broadcom/bcm-nsp.dtsi +1 -1
index 6a4482c93167..5f14cd3ce211 100644
@@ -201,7 +201,7 @@ uart1: serial@400 {
 			status = "disabled";
 		};
 
-		dma: dma@20000 {
+		dma: dma-controller@20000 {
 			compatible = "arm,pl330", "arm,primecell";
 			reg = <0x20000 0x1000>;
 			interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
Signature · 1 line
2.55.0
#1 lore raw

From: Florian Fainelli <[email protected]>

Quoted 10 lines · Rosen Penev

Each PL330 device node in the Cygnus, HR2, and Northstar Plus dtsi files was named dma or dma@<addr>, which does not follow the generic recommended node name for DMA controllers (dma-controller).

Rename them accordingly. The phandle labels (dma0/dma) are preserved, so existing references via &dma keep working.

Assisted-by LLM

---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks! --
Florian