mfd: qcom-rpm: Add apq8064 QDSS clock resource
authorIvan T. Ivanov <ivan.ivanov@linaro.org>
Wed, 8 Jul 2015 09:40:05 +0000 (12:40 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:08:48 +0000 (15:08 +0100)
Qualcomm Debug Subsystem clock is used by CoreSight components.
Add required definitions for it. qcom_rpm_resource::status_id is
not used by driver, so just mark it as ~0.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/qcom_rpm.c

index 12e324319573eb260795c84c6c04b19200764a68..6afc9fabd94c1f71f9456321d8fd7ccb5c50e5c4 100644 (file)
@@ -149,6 +149,7 @@ static const struct qcom_rpm_resource apq8064_rpm_resource_table[] = {
        [QCOM_RPM_USB_OTG_SWITCH] =             { 210, 125, 82, 1 },
        [QCOM_RPM_HDMI_SWITCH] =                { 211, 126, 83, 1 },
        [QCOM_RPM_DDR_DMM] =                    { 212, 127, 84, 2 },
+       [QCOM_RPM_QDSS_CLK] =                   { 214, ~0, 7, 1 },
        [QCOM_RPM_VDDMIN_GPIO] =                { 215, 131, 89, 1 },
 };