ARM: dts: msm: Add vdd parent supply for holi GPU

Add vdd parent supply for holi GPU to vote it from
gfx driver during GPU wakeup and collapse sequence.

Change-Id: I6de177b8c1e9e89a8bfe0123f4f3d51a084a983a
This commit is contained in:
Hareesh Gundu 2020-10-29 17:52:42 +05:30
commit 1b397a89dc
2 changed files with 8 additions and 0 deletions

View file

@ -66,6 +66,8 @@ GDSC Oxili Regulators:
- regulator-names: List of regulator name strings sorted in power-on order
- vddcx-supply: Phandle for vddcx regulator device node.
- vdd-supply: Phandle for vdd regulator device node.
- vdd-parent-supply: Phandle for vdd parent regulator device node.
- vdd-parent-min-corner: Minimum voltage corner value to set vdd parent supply.
IOMMU Data:
- iommu: Phandle for the KGSL IOMMU device node
@ -355,6 +357,8 @@ Example of A330 GPU in MSM8916:
/* GDSC oxili regulators */
vdd-supply = <&gdsc_oxili_gx>;
vdd-parent-supply = <&VDD_GFX_LEVEL>;
vdd-parent-min-corner = <RPM_SMD_REGULATOR_LEVEL_RETENTION>;
nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>;
nvmem-cell-names = "speed_bin", "gaming_bin";

View file

@ -1,3 +1,5 @@
#include <dt-bindings/regulator/qcom,rpm-smd-regulator.h>
#define MHZ_TO_KBPS(mhz, w) ((mhz * 1000000 * w) / (1024))
&soc {
pil_gpu: qcom,kgsl-hyp {
@ -30,6 +32,8 @@ msm_gpu: qcom,kgsl-3d0@5900000 {
vddcx-supply = <&gpu_cx_gdsc>;
vdd-supply = <&gpu_gx_gdsc>;
vdd-parent-supply = <&VDD_GFX_LEVEL>;
vdd-parent-min-corner = <RPM_SMD_REGULATOR_LEVEL_RETENTION>;
qcom,chipid = <0x06010900>;
nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>;