Skip to contentSkip to conversation

arm64: xilinx: DT sync

PATCH Applied Michal Simek 1 participant 7 messages Oct 12, 2023 – Oct 19, 2023

Subsystems (2)
lore
Share & tools
lore

Michal Simek

author maintainer
#0 lore raw

cover arm64: xilinx: DT sync

Hi,

I have found 5 more patches internally which should be also upstreamed to get DT in sync and descrease amount of differences.

Thanks,
Michal

Michal Simek (4):
arm64: zynqmp: Use mdio node by vp-x-a2785-00-revA and vpk120-revA
arm64: zynqmp: Remove xlnx,zynqmp-aes node
Revert "arm64: zynqmp: Add power domain description for PL"
arm64: zynqmp: Remove address/size-cells from ams node

Piyush Mehta (1):
arm64: zynqmp: remove snps,xhci-stream-quirk property for usb

 arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts | 10 +++++++---
 arch/arm/dts/zynqmp-vpk120-revA.dts        | 10 +++++++---
 arch/arm/dts/zynqmp.dtsi                   |  9 ---------
 3 files changed, 14 insertions(+), 15 deletions(-)
Signature · 1 line
2.36.1
author maintainer
#3 lore raw

PATCH 3/5 Revert "arm64: zynqmp: Add power domain description for PL"

This reverts commit d59fac2f3f247470708a1aed1af96802a05e0e61.

This power domain shouldn't be enabled by default. Power domain behavior should be handled on case by case basis. Adding this property to zynqmp.dtsi is breaking some suspend/resume cases that's why remove it from this file.

---

 arch/arm/dts/zynqmp.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm/dts/zynqmp.dtsi +0 -1
index 463ac14f4b59..366b50a104be 100644
@@ -257,7 +257,6 @@
 		#address-cells = <2>;
 		#size-cells = <2>;
 		ranges;
-		power-domains = <&zynqmp_firmware PD_PL>;
 	};
 
 	remoteproc {
Signature · 1 line
2.36.1
author maintainer
#1 lore raw

PATCH 1/5 arm64: zynqmp: Use mdio node by vp-x-a2785-00-revA and vpk120-revA

In reply to Michal Simek

All boards have been converted to use mdio node that's why move ethernet phys under mdio node too.

---

Same change was done by:
https://lore.kernel.org/r/ff165281a70a38e2b76fee91e6255ce95ce8021b.1695378830.git.michal.simek@amd.com

---
 arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts | 10 +++++++---
 arch/arm/dts/zynqmp-vpk120-revA.dts        | 10 +++++++---
 2 files changed, 14 insertions(+), 6 deletions(-)
arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts +7 -3
index 2f88aa4a0d28..9ab8f5bfffe4 100644
@@ -119,9 +119,13 @@
 	phy-mode = "sgmii"; /* DTG generates this properly 1512 */
 	is-internal-pcspma;
 	/* phys = <&psgtr 0 PHY_TYPE_SGMII 0 0>; */
-	/* phy-reset-gpios = <&gpio 142 GPIO_ACTIVE_LOW>; */
-	phy0: ethernet-phy@0 { /* u131 - M88e1512 */
-		reg = <0>;
+	mdio: mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		/* reset-gpios = <&gpio 142 GPIO_ACTIVE_LOW>; */
+		phy0: ethernet-phy@0 { /* u131 - M88e1512 */
+			reg = <0>;
+		};
 	};
 };
 
arch/arm/dts/zynqmp-vpk120-revA.dts +7 -3
index 66919f578e02..ce76e0b3db36 100644
@@ -120,9 +120,13 @@
 	phy-mode = "sgmii"; /* DTG generates this properly 1512 */
 	is-internal-pcspma;
 	/* phys = <&psgtr 0 PHY_TYPE_SGMII 0 0>; */
-	/* phy-reset-gpios = <&gpio 142 GPIO_ACTIVE_LOW>; */
-	phy0: ethernet-phy@0 {
-		reg = <0>;
+	mdio: mdio {
+		#address-cells = <1>;
+		#size-cells = <0>;
+		/* reset-gpios = <&gpio 142 GPIO_ACTIVE_LOW>; */
+		phy0: ethernet-phy@0 {
+			reg = <0>;
+		};
 	};
 };
 
Signature · 1 line
2.36.1
author maintainer
#2 lore raw

PATCH 2/5 arm64: zynqmp: Remove xlnx,zynqmp-aes node

In reply to Michal Simek

AES can be discovered via firmware interface that's why remove node for it.

---

 arch/arm/dts/zynqmp.dtsi | 4 ----
 1 file changed, 4 deletions(-)
arch/arm/dts/zynqmp.dtsi +0 -4
index f03c201caee9..463ac14f4b59 100644
@@ -220,10 +220,6 @@
 				compatible = "xlnx,zynqmp-pcap-fpga";
 			};
 
-			xlnx_aes: zynqmp-aes {
-				compatible = "xlnx,zynqmp-aes";
-			};
-
 			zynqmp_reset: reset-controller {
 				compatible = "xlnx,zynqmp-reset";
 				#reset-cells = <1>;
Signature · 1 line
2.36.1
author maintainer
#5 lore raw

PATCH 5/5 arm64: zynqmp: remove snps, xhci-stream-quirk property for usb

In reply to Michal Simek

From: Piyush Mehta <[email protected]>

To sync up with the upstream bulk-stream feature, removed 'snps,xhci-stream-quirk' DT property for usb.

---

 arch/arm/dts/zynqmp.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/dts/zynqmp.dtsi +0 -2
index de60233fd061..2253e773d386 100644
@@ -955,7 +955,6 @@
 				snps,quirk-frame-length-adjustment = <0x20>;
 				clock-names = "ref";
 				snps,enable_guctl1_ipd_quirk;
-				snps,xhci-stream-quirk;
 				snps,resume-hs-terminations;
 				/* dma-coherent; */
 			};
@@ -988,7 +987,6 @@
 				snps,quirk-frame-length-adjustment = <0x20>;
 				clock-names = "ref";
 				snps,enable_guctl1_ipd_quirk;
-				snps,xhci-stream-quirk;
 				snps,resume-hs-terminations;
 				/* dma-coherent; */
 			};
Signature · 1 line
2.36.1
author maintainer
#4 lore raw

PATCH 4/5 arm64: zynqmp: Remove address/size-cells from ams node

In reply to Michal Simek

Remove unused address/size-cells which is also done upstream that's why this is pretty much sync patch with upstream.

---

 arch/arm/dts/zynqmp.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/dts/zynqmp.dtsi +0 -2
index 366b50a104be..de60233fd061 100644
@@ -1034,8 +1034,6 @@
 				compatible = "xlnx,zynqmp-ams-pl";
 				status = "disabled";
 				reg = <0x400 0x400>;
-				#address-cells = <1>;
-				#size-cells = <0>;
 			};
 		};
 
Signature · 1 line
2.36.1
author maintainer Applied
#6 lore raw
In reply to Michal Simek
Quoted 15 lines · Michal Simek

Hi,

I have found 5 more patches internally which should be also upstreamed to get DT in sync and descrease amount of differences.

Thanks,
Michal

Michal Simek (4):
arm64: zynqmp: Use mdio node by vp-x-a2785-00-revA and vpk120-revA
arm64: zynqmp: Remove xlnx,zynqmp-aes node
Revert "arm64: zynqmp: Add power domain description for PL"
arm64: zynqmp: Remove address/size-cells from ams node

Quoted 8 lines

Piyush Mehta (1):
arm64: zynqmp: remove snps,xhci-stream-quirk property for usb

  arch/arm/dts/zynqmp-vp-x-a2785-00-revA.dts | 10 +++++++---
  arch/arm/dts/zynqmp-vpk120-revA.dts        | 10 +++++++---
  arch/arm/dts/zynqmp.dtsi                   |  9 ---------
  3 files changed, 14 insertions(+), 15 deletions(-)

Applied.
M