dt-bindings: drm/msm/a6xx: Add GX power-domain for GMU bindings
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 4 Feb 2019 16:15:40 +0000 (09:15 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 19 Apr 2019 18:50:06 +0000 (11:50 -0700)
The GMU should have two power domains defined: "cx" and "gx". "cx" is the
actual power domain for the device and "gx" will be attached at runtime
to manage reference counting on the GPU device in case of a GMU crash.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Documentation/devicetree/bindings/display/msm/gmu.txt

index 3439b38e60f27dbc1a99e1e06c32e6dc5dfea409..90af5b0a56a915e638a2c37e7636a3baeea0cd35 100644 (file)
@@ -24,7 +24,10 @@ Required properties:
    * "cxo"
    * "axi"
    * "mnoc"
-- power-domains: should be <&clock_gpucc GPU_CX_GDSC>
+- power-domains: should be:
+       <&clock_gpucc GPU_CX_GDSC>
+       <&clock_gpucc GPU_GX_GDSC>
+- power-domain-names: Matching names for the power domains
 - iommus: phandle to the adreno iommu
 - operating-points-v2: phandle to the OPP operating points
 
@@ -51,7 +54,10 @@ Example:
                        <&gcc GCC_GPU_MEMNOC_GFX_CLK>;
                clock-names = "gmu", "cxo", "axi", "memnoc";
 
-               power-domains = <&gpucc GPU_CX_GDSC>;
+               power-domains = <&gpucc GPU_CX_GDSC>,
+                               <&gpucc GPU_GX_GDSC>;
+               power-domain-names = "cx", "gx";
+
                iommus = <&adreno_smmu 5>;
 
                operating-points-v2 = <&gmu_opp_table>;