arm64: dts: qcom: sa8295p-adp: Enable GPU
authorBjorn Andersson <quic_bjorande@quicinc.com>
Thu, 25 Jan 2024 21:05:13 +0000 (13:05 -0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 30 Jan 2024 20:47:21 +0000 (14:47 -0600)
With the necessary support in place for supplying VDD_GFX from the
MAX20411 regulator, enable the GPU clock controller, GMU, Adreno SMMU
and the GPU on the SA8295P ADP.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Link: https://lore.kernel.org/r/20240125-sa8295p-gpu-v4-7-7011c2a63037@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8295p-adp.dts

index bd0962f39fc540dab3d54e00ea332d52b80c7fad..78e933c42c3144324da581687fd712f39fb796ec 100644 (file)
                        };
                };
        };
+
+       reserved-memory {
+               gpu_mem: gpu-mem@8bf00000 {
+                       reg = <0 0x8bf00000 0 0x2000>;
+                       no-map;
+               };
+       };
 };
 
 &apps_rsc {
        };
 };
 
+&gpucc {
+       vdd-gfx-supply = <&vdd_gfx>;
+       status = "okay";
+};
+
+&gmu {
+       status = "okay";
+};
+
+&gpu {
+       status = "okay";
+
+       zap-shader {
+               memory-region = <&gpu_mem>;
+               firmware-name = "qcom/sa8295p/a690_zap.mbn";
+       };
+};
+
+&gpu_smmu {
+       status = "okay";
+};
+
 &mdss0 {
        status = "okay";
 };