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: Deepak Katragadda <dkatraga@codeaurora.org>
diff --git a/arch/arm64/boot/dts/qcom/msm-gdsc-skunk.dtsi b/arch/arm64/boot/dts/qcom/msm-gdsc-skunk.dtsi
index be39e54..89faa9a 100644
--- a/arch/arm64/boot/dts/qcom/msm-gdsc-skunk.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm-gdsc-skunk.dtsi
@@ -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";