platform: msm8952: Add GPLL4 clock overrides for 8956
Add functions to detect the platform as 8956, and
to update the status registers and bits to be checked
for GPLL4.
Change-Id: Ic2bbf727d30ab2f7c17461e0fc769d4fd7cbfac4
diff --git a/platform/msm8952/platform.c b/platform/msm8952/platform.c
index 996d603..0f1439a 100644
--- a/platform/msm8952/platform.c
+++ b/platform/msm8952/platform.c
@@ -172,3 +172,23 @@
{
return 256;
}
+
+int platform_is_msm8956()
+{
+ uint32_t platform = board_platform_id();
+ uint32_t ret = 0;
+
+ switch(platform)
+ {
+ case MSM8956:
+ case APQ8056:
+ case APQ8076:
+ case MSM8976:
+ ret = 1;
+ break;
+ default:
+ ret = 0;
+ };
+
+ return ret;
+}