Skip to contentSkip to conversation

powerpc: dts: Remove "spidev" nodes

PATCH Applied Rob Herring 3 participants 3 messages Dec 17, 2021 – Dec 26, 2021

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 powerpc: dts: Remove "spidev" nodes

"spidev" is not a real device, but a Linux implementation detail. It has never been documented either. The kernel has WARNed on the use of it for over 6 years. Time to remove its usage from the tree.

---
 arch/powerpc/boot/dts/digsy_mtc.dts | 8 --------
 arch/powerpc/boot/dts/o2d.dtsi      | 6 ------
 2 files changed, 14 deletions(-)
arch/powerpc/boot/dts/digsy_mtc.dts +0 -8
index 57024a4c1e7d..dfaf974c0ce6 100644
@@ -25,14 +25,6 @@ rtc@800 {
 			status = "disabled";
 		};
 
-		spi@f00 {
-			msp430@0 {
-				compatible = "spidev";
-				spi-max-frequency = <32000>;
-				reg = <0>;
-			};
-		};
-
 		psc@2000 {		// PSC1
 			status = "disabled";
 		};
arch/powerpc/boot/dts/o2d.dtsi +0 -6
index b55a9e5bd828..7e52509fa506 100644
@@ -34,12 +34,6 @@ psc@2000 {		// PSC1
 			#address-cells = <1>;
 			#size-cells = <0>;
 			cell-index = <0>;
-
-			spidev@0 {
-				compatible = "spidev";
-				spi-max-frequency = <250000>;
-				reg = <0>;
-			};
 		};
 
 		psc@2200 {		// PSC2
Signature · 1 line
2.32.0
#1 lore raw
Quoted 3 lines · Rob Herring

"spidev" is not a real device, but a Linux implementation detail. It has never been documented either. The kernel has WARNed on the use of it for over 6 years. Time to remove its usage from the tree.

Thanks for cleaning these up.