From: Filip Drazic <filip.drazic@aggios.com>
Date: Mon, 29 Aug 2016 17:32:59 +0000 (+0200)
Subject: ARM64: zynqmp: Support for multiple PM IDs assigned to a PM domain
X-Git-Tag: v2025.01-rc5-pxa1908~8166
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=a4d7d5603726af63643a85b28a3aede6088e0260;p=u-boot.git

ARM64: zynqmp: Support for multiple PM IDs assigned to a PM domain

Previously, it was assumed that there is a 1:1 mapping between
PM ID defined in the platform firmware and a PM domain. However, there
can be a situation where multiple PM IDs belong to a single PM domain
(e.g. PM IDs for GPU and two pixel processors correspond to a single
PM domain).

This patch adds support for assigning more than one PM ID to
a single PM domain.

Updated documentation accordingly.

Assigned pixel processors PM IDs to GPU PM domain.

Signed-off-by: Filip Drazic <filip.drazic@aggios.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi
index c2eb0c5d4e..172ba8cfcf 100644
--- a/arch/arm/dts/zynqmp.dtsi
+++ b/arch/arm/dts/zynqmp.dtsi
@@ -197,7 +197,7 @@
 
 		pd_gpu: pd-gpu {
 			#power-domain-cells = <0x0>;
-			pd-id = <0x3a>;
+			pd-id = <0x3a 0x14 0x15>;
 		};
 	};