Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: msm8998-mtp: Add pm8005_s1 regulator

The pm8005_s1 is VDD_GFX, and needs to be on to enable the GPU.
This should be hooked up to the GPU CPR, but we don't have support for that
yet, so until then, just turn on the regulator and keep it on so that we
can focus on basic GPU bringup.

Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jeffrey Hugo and committed by
Mark Brown
1c3f37d1 42ba89c8

+17
+17
arch/arm64/boot/dts/qcom/msm8998-mtp.dtsi
··· 27 27 status = "okay"; 28 28 }; 29 29 30 + &pm8005_lsid1 { 31 + pm8005-regulators { 32 + compatible = "qcom,pm8005-regulators"; 33 + 34 + vdd_s1-supply = <&vph_pwr>; 35 + 36 + pm8005_s1: s1 { /* VDD_GFX supply */ 37 + regulator-min-microvolt = <524000>; 38 + regulator-max-microvolt = <1100000>; 39 + regulator-enable-ramp-delay = <500>; 40 + 41 + /* hack until we rig up the gpu consumer */ 42 + regulator-always-on; 43 + }; 44 + }; 45 + }; 46 + 30 47 &qusb2phy { 31 48 status = "okay"; 32 49