linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource
@ 2015-07-08  9:40 Ivan T. Ivanov
  2015-07-10  0:31 ` Bjorn Andersson
  2015-07-10  6:55 ` Lee Jones
  0 siblings, 2 replies; 3+ messages in thread
From: Ivan T. Ivanov @ 2015-07-08  9:40 UTC (permalink / raw)
  To: Lee Jones, Bjorn Andersson; +Cc: Samuel Ortiz, linux-kernel, linux-arm-msm

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>
---

Changes since first version:

* Use ~0 initializer for status_id, this field is not used by driver.

 drivers/mfd/qcom_rpm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c
index 12e3243..6afc9fa 100644
--- a/drivers/mfd/qcom_rpm.c
+++ b/drivers/mfd/qcom_rpm.c
@@ -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 },
 };

--
1.9.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource
  2015-07-08  9:40 [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
@ 2015-07-10  0:31 ` Bjorn Andersson
  2015-07-10  6:55 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2015-07-10  0:31 UTC (permalink / raw)
  To: Ivan T. Ivanov; +Cc: Lee Jones, Samuel Ortiz, linux-kernel, linux-arm-msm

On Wed 08 Jul 02:40 PDT 2015, Ivan T. Ivanov wrote:

> 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>
> ---

Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

Regards,
Bjorn

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource
  2015-07-08  9:40 [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
  2015-07-10  0:31 ` Bjorn Andersson
@ 2015-07-10  6:55 ` Lee Jones
  1 sibling, 0 replies; 3+ messages in thread
From: Lee Jones @ 2015-07-10  6:55 UTC (permalink / raw)
  To: Ivan T. Ivanov; +Cc: Bjorn Andersson, Samuel Ortiz, linux-kernel, linux-arm-msm

On Wed, 08 Jul 2015, Ivan T. Ivanov wrote:

> 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>
> ---
> 
> Changes since first version:
> 
> * Use ~0 initializer for status_id, this field is not used by driver.
> 
>  drivers/mfd/qcom_rpm.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

> diff --git a/drivers/mfd/qcom_rpm.c b/drivers/mfd/qcom_rpm.c
> index 12e3243..6afc9fa 100644
> --- a/drivers/mfd/qcom_rpm.c
> +++ b/drivers/mfd/qcom_rpm.c
> @@ -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 },
>  };
> 

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-10  6:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08  9:40 [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
2015-07-10  0:31 ` Bjorn Andersson
2015-07-10  6:55 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).