msm: rpm-8960: Add QDSS_CLK RPM enumeration
Change-Id: I88433891d62159a579536fbef873d09e5b9bc67a
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-8960.c b/arch/arm/mach-msm/devices-8960.c
index 92197bd..26bb7ae 100644
--- a/arch/arm/mach-msm/devices-8960.c
+++ b/arch/arm/mach-msm/devices-8960.c
@@ -2493,8 +2493,9 @@
MSM_RPM_MAP(USB_OTG_SWITCH, USB_OTG_SWITCH, 1),
MSM_RPM_MAP(HDMI_SWITCH, HDMI_SWITCH, 1),
MSM_RPM_MAP(DDR_DMM_0, DDR_DMM, 2),
-
+ MSM_RPM_MAP(QDSS_CLK, QDSS_CLK, 1),
};
+
unsigned int rpm_map_data_size = ARRAY_SIZE(rpm_map_data);
struct platform_device msm_rpm_device = {
diff --git a/arch/arm/mach-msm/include/mach/rpm-8960.h b/arch/arm/mach-msm/include/mach/rpm-8960.h
index 11862ea..41b94ae 100644
--- a/arch/arm/mach-msm/include/mach/rpm-8960.h
+++ b/arch/arm/mach-msm/include/mach/rpm-8960.h
@@ -44,6 +44,7 @@
MSM_RPM_SEL_CXO_CLK = 5,
MSM_RPM_SEL_PXO_CLK = 6,
+ MSM_RPM_SEL_QDSS_CLK = 7,
MSM_RPM_SEL_APPS_FABRIC_CLK = 8,
MSM_RPM_SEL_SYSTEM_FABRIC_CLK = 9,
MSM_RPM_SEL_MM_FABRIC_CLK = 10,
@@ -281,8 +282,9 @@
MSM_RPM_ID_HDMI_SWITCH = 206,
MSM_RPM_ID_DDR_DMM_0 = 207,
MSM_RPM_ID_DDR_DMM_1 = 208,
+ MSM_RPM_ID_QDSS_CLK = 209,
- MSM_RPM_ID_LAST = MSM_RPM_ID_DDR_DMM_1
+ MSM_RPM_ID_LAST = MSM_RPM_ID_QDSS_CLK,
};
/* RPM resources RPM_ID aliases */