Skip to contentSkip to conversation

arm64: dts: ti: Use simple-bus wherever possible

PATCH Applied Vignesh Raghavendra 1 participant 4 messages Oct 5, 2023 – Oct 18, 2023

Subsystems (2)
lore
Share & tools
lore

Vignesh Raghavendra

author maintainer
#0 lore raw

cover arm64: dts: ti: Use simple-bus wherever possible

This series coverts simple-mfd to simple-bus for segments housing Data movement related IPs (DMASS on AM64/AM62 and AM62A), NAVSS on the rest)

Boot tested on all K3 SoCs. excerised DMA by using ethernet and OSPI for sanity.

Vignesh Raghavendra (2):
arm64: dts: ti: k3-*: Convert DMSS to simple-bus
arm64: dts: ti: k3-*: Convert NAVSS to simple-bus

 arch/arm64/boot/dts/ti/k3-am62-main.dtsi         | 2 +-
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi        | 2 +-
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi         | 2 +-
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi         | 2 +-
 arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi          | 2 +-
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi        | 2 +-
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi        | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi       | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.42.0
author maintainer
#1 lore raw

PATCH 1/2 arm64: dts: ti: k3-*: Convert DMSS to simple-bus

"simple-mfd" as standalone compatible is frowned upon, so model DMSS (Data Movement Subsystem) node as simple-bus as there is really no need for these nodes to be MFD.

---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 2 +-
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +1 -1
index ac760d9b831d..e5c64c86d1d5 100644
@@ -82,7 +82,7 @@ audio_refclk1: clock-controller@82e4 {
 
 	dmss: bus@48000000 {
 		bootph-all;
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		dma-ranges;
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi +1 -1
index c24ff905437f..fcbfb1b5242b 100644
@@ -42,7 +42,7 @@ gic_its: msi-controller@1820000 {
 
 	dmss: bus@48000000 {
 		bootph-all;
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		dma-ranges;
arch/arm64/boot/dts/ti/k3-am64-main.dtsi +1 -1
index 2e50030d09ad..0be642bc1b86 100644
@@ -99,7 +99,7 @@ gic_its: msi-controller@1820000 {
 
 	dmss: bus@48000000 {
 		bootph-all;
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		dma-ranges;
Signature · 1 line
2.42.0
author maintainer
#2 lore raw

PATCH 2/2 arm64: dts: ti: k3-*: Convert NAVSS to simple-bus

In reply to Vignesh Raghavendra

"simple-mfd" as standalone compatible is frowned upon, so model main and MCU NAVSS (Navigator SubSystem) nodes as simple-bus as there is really no need for these nodes to be MFD.

---
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi         | 2 +-
 arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi          | 2 +-
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi        | 2 +-
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi        | 2 +-
 arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi  | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi       | 2 +-
 arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
arch/arm64/boot/dts/ti/k3-am65-main.dtsi +1 -1
index bc460033a37a..d0c85eb3bb04 100644
@@ -600,7 +600,7 @@ intr_main_gpio: interrupt-controller@a00000 {
 	};
 
 	main_navss: bus@30800000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x0 0x30800000 0x0 0x30800000 0x0 0xbc00000>;
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +1 -1
index 1e536dc41f61..edd5cfbec40e 100644
@@ -185,7 +185,7 @@ mcu_timer3: timer@40430000 {
 	};
 
 	mcu_navss: bus@28380000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi +1 -1
index cdb1d6b2a982..264913f83287 100644
@@ -91,7 +91,7 @@ main_gpio_intr: interrupt-controller@a00000 {
 	};
 
 	main_navss: bus@30000000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +1 -1
index 6ffaf85fa63f..ef13d64961ef 100644
@@ -318,7 +318,7 @@ wkup_gpio1: gpio@42100000 {
 	};
 
 	mcu_navss: bus@28380000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi +1 -1
index f6c7e1614521..746b9f8b1c64 100644
@@ -181,7 +181,7 @@ main_gpio_intr: interrupt-controller@a00000 {
 	};
 
 	main_navss: bus@30000000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi +1 -1
index fa8af20c7818..f7ab7719fc07 100644
@@ -440,7 +440,7 @@ adc {
 	};
 
 	mcu_navss: bus@28380000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +1 -1
index 6d32544c8881..bbb4b7f81039 100644
@@ -775,7 +775,7 @@ main_sdhci1: mmc@4fb0000 {
 	};
 
 	main_navss: bus@30000000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>;
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi +1 -1
index 56504578c464..20a6a35ad61a 100644
@@ -443,7 +443,7 @@ mcu_spi2: spi@40320000 {
 	};
 
 	mcu_navss: bus@28380000 {
-		compatible = "simple-mfd";
+		compatible = "simple-bus";
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>;
Signature · 1 line
2.42.0
author maintainer Applied
#3 lore raw
In reply to Vignesh Raghavendra

Hi Vignesh Raghavendra,

Quoted 11 lines · Vignesh Raghavendra

This series coverts simple-mfd to simple-bus for segments housing Data movement related IPs (DMASS on AM64/AM62 and AM62A), NAVSS on the rest)

Boot tested on all K3 SoCs. excerised DMA by using ethernet and OSPI for sanity.

Vignesh Raghavendra (2):
arm64: dts: ti: k3-*: Convert DMSS to simple-bus
arm64: dts: ti: k3-*: Convert NAVSS to simple-bus

[...]

I have applied the following to branch ti-k3-dts-next on [1]. Thank you!

[1/2] arm64: dts: ti: k3-*: Convert DMSS to simple-bus

      commit: 6ff2e5bb81895247f0414ff6b129c8e025b99a17
[2/2] arm64: dts: ti: k3-*: Convert NAVSS to simple-bus
      commit: 6507bfa7e0cde01c5feecdbc163b392021d15cbb

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent up the chain during the next merge window (or sooner if it is a relevant bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh