arm64: dts: qcom: msm8994-kitakami: Add VDD_GFX regulator
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Mon, 18 Jan 2021 16:24:28 +0000 (17:24 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 25 Jan 2021 18:45:16 +0000 (12:45 -0600)
This is required for the GPU to function.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210118162432.107275-8-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi

index 26b54f360fc32e8c9a9700c3f74ef97049fa2cb1..05155859cf6a2ecd45aef2913cff7daec93b5e3a 100644 (file)
        status = "okay";
 };
 
+&pmi8994_spmi_regulators {
+       /*
+        * Yeah, this one *is* managed by RPMPD, but also needs
+        * to be hacked up as a-o due to the GPU device only accepting a single
+        * power domain.. which still isn't enough and forces us to bind
+        * OXILI_CX and OXILI_GX together!
+        */
+       vdd_gfx: s2@1700 {
+               reg = <0x1700 0x100>;
+               regulator-name = "VDD_GFX";
+               regulator-min-microvolt = <980000>;
+               regulator-max-microvolt = <980000>;
+
+               /* hack until we rig up the gpu consumer */
+               regulator-always-on;
+       };
+};
+
 &rpm_requests {
        pm8994_regulators: pm8994-regulators {
                compatible = "qcom,rpm-pm8994-regulators";