Skip to contentSkip to conversation

arm64: dts: hisilicon: Remove unused and undocumented "enable-dma" property

PATCH In review Rob Herring (Arm) 2 participants 2 messages Nov 15, 2024 – Jan 2, 2025

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: hisilicon: Remove unused and undocumented "enable-dma" property

Remove "enable-dma" property which is both unused in the kernel and undocumented. Most likely they are leftovers from downstream.

---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +0 -1
index a589954c29e2..12f621cedf89 100644
@@ -728,7 +728,6 @@ spi0: spi@f7106000 {
 			reg = <0x0 0xf7106000 0x0 0x1000>;
 			interrupts = <0 50 4>;
 			bus-id = <0>;
-			enable-dma = <0>;
 			clocks = <&sys_ctrl HI6220_SPI_CLK>, <&sys_ctrl HI6220_SPI_CLK>;
 			clock-names = "sspclk", "apb_pclk";
 			pinctrl-names = "default";
Signature · 1 line
2.45.2
maintainer
#1 lore raw

Hi Rob,

Quoted 14 lines · Rob Herring (Arm)

Remove "enable-dma" property which is both unused in the kernel and undocumented. Most likely they are leftovers from downstream.

---
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +0 -0
index a589954c29e2..12f621cedf89 100644

arch/arm64/boot/dts/hisilicon/hi6220.dtsi spi0: spi@f7106000 { · line 733

Quoted 7 lines
arch/arm64/boot/dts/hisilicon/hi6220.dtsi +0 -1
@@ -728,7 +728,6 @@ spi0: spi@f7106000 {
 			reg = <0x0 0xf7106000 0x0 0x1000>;
 			interrupts = <0 50 4>;
 			bus-id = <0>;
-			enable-dma = <0>;
 			clocks = <&sys_ctrl HI6220_SPI_CLK>, <&sys_ctrl HI6220_SPI_CLK>;
 			clock-names = "sspclk", "apb_pclk";
 			pinctrl-names = "default";

Thanks!
Since the "enable-dma" and "bus-id" both are not used by the pl022 driver, when applying this patch, I have removed the "bus-id" and changed the commit message as well.

The detail is as following:
https://github.com/hisilicon/linux-hisi/commit/4a45f8c502a8b8a836c3c932a18d538856097ac7

Best Regards,
Wei