Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8d77fbb0 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

ARM: dts: msm: Add support for controlling the GPU_GX GDSC on MSMSKUNK



Register the gpu_gx_gdsc with the regulator framework to allow
clients to toggle it. This support is temporary and is only
meant as a bridge until the firmware support is available.

CRs-Fixed: 1078731
Change-Id: I106e49705d2e35b3817a14bd609aa18bc83afdd5
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 60de02fa
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -185,6 +185,26 @@
		status = "disabled";
	};

	gpu_gx_domain_addr: syscon@0x5091508 {
		compatible = "syscon";
		reg = <0x5091508 0x4>;
	};

	gpu_gx_sw_reset: syscon@0x5091008 {
		compatible = "syscon";
		reg = <0x5091008 0x4>;
	};

	gpu_gx_gdsc: qcom,gdsc@0x509100c {
		compatible = "qcom,gdsc";
		regulator-name = "gpu_gx_gdsc";
		reg = <0x509100c 0x4>;
		domain-addr = <&gpu_gx_domain_addr>;
		sw-reset = <&gpu_gx_sw_reset>;
		qcom,reset-aon-logic;
		status = "disabled";
	};

	/* GDSCs in Video CC */
	vcodec0_gdsc: qcom,gdsc@0xab00874 {
		compatible = "qcom,gdsc";
+5 −0
Original line number Diff line number Diff line
@@ -695,6 +695,11 @@
	status = "ok";
};

&gpu_gx_gdsc {
	parent-supply = <&pm8005_s1_level>;
	status = "ok";
};

&vcodec0_gdsc {
	status = "ok";
};