linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource
@ 2015-05-18 14:35 Ivan T. Ivanov
  2015-07-06 13:17 ` Ivan T. Ivanov
  2015-07-06 20:33 ` Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Ivan T. Ivanov @ 2015-05-18 14:35 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.

Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
---
 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 eceb34f..313aeae 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, 129, 7, 1 },
 	[QCOM_RPM_VDDMIN_GPIO] =		{ 215, 131, 89, 1 },
 };

--
1.9.1

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

* Re: [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource
  2015-05-18 14:35 [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
@ 2015-07-06 13:17 ` Ivan T. Ivanov
  2015-07-06 20:33 ` Bjorn Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: Ivan T. Ivanov @ 2015-07-06 13:17 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: Lee Jones, Samuel Ortiz, linux-kernel, linux-arm-msm


On Mon, 2015-05-18 at 17:35 +0300, Ivan T. Ivanov wrote:
> Qualcomm Debug Subsystem clock is used by CoreSight components.
> Add required definitions for it.
> 
> Signed-off-by: Ivan T. Ivanov ivanov@linaro.org>
> ---
>  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 eceb34f..313aeae 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, 129, 7, 1 },
>         [QCOM_RPM_VDDMIN_GPIO] ={ 215, 131, 89, 1 },
>  };

Hi Bjorn, 

Could you take a look at this one?

Thanks,
Ivan

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

* Re: [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource
  2015-05-18 14:35 [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
  2015-07-06 13:17 ` Ivan T. Ivanov
@ 2015-07-06 20:33 ` Bjorn Andersson
  2015-07-07  7:06   ` Ivan T. Ivanov
  1 sibling, 1 reply; 4+ messages in thread
From: Bjorn Andersson @ 2015-07-06 20:33 UTC (permalink / raw)
  To: Ivan T. Ivanov; +Cc: Lee Jones, Samuel Ortiz, linux-kernel, linux-arm-msm

On Mon 18 May 07:35 PDT 2015, Ivan T. Ivanov wrote:

> Qualcomm Debug Subsystem clock is used by CoreSight components.
> Add required definitions for it.
> 
> Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>

Sorry for the slow response Ivan.

> ---
>  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 eceb34f..313aeae 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, 129, 7, 1 },

214, 7 and 1 are correct. But as far as I can see in my tables the QDSS
clock doesn't have any status (129 seems to be EBI1_CH0_RANGE).

The status_id was originally included because I was reading it and I saw
that Srinivas has some code that reads it, but unless it shows to be
useful we should probably just drop that entire column...

But for now please mark it as -1 or so and we can have a chat with
Srinivas on dropping the column later.

>  	[QCOM_RPM_VDDMIN_GPIO] =		{ 215, 131, 89, 1 },
>  };
> 

Regards,
Bjorn

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

* Re: [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource
  2015-07-06 20:33 ` Bjorn Andersson
@ 2015-07-07  7:06   ` Ivan T. Ivanov
  0 siblings, 0 replies; 4+ messages in thread
From: Ivan T. Ivanov @ 2015-07-07  7:06 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: Lee Jones, Samuel Ortiz, linux-kernel, linux-arm-msm


On Mon, 2015-07-06 at 13:33 -0700, Bjorn Andersson wrote:
> On Mon 18 May 07:35 PDT 2015, Ivan T. Ivanov wrote:
> 
> > Qualcomm Debug Subsystem clock is used by CoreSight components.
> > Add required definitions for it.
> > 
> > Signed-off-by: Ivan T. Ivanov ivanov@linaro.org>
> 
> Sorry for the slow response Ivan.
> 
> > ---
> >  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 eceb34f..313aeae 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, 129, 7, 1 },
> 
> 214, 7 and 1 are correct. But as far as I can see in my tables the QDSS
> clock doesn't have any status (129 seems to be EBI1_CH0_RANGE).
> 
> The status_id was originally included because I was reading it and I saw
> that Srinivas has some code that reads it, but unless it shows to be
> useful we should probably just drop that entire column...
> 
> But for now please mark it as -1 or so and we can have a chat with
> Srinivas on dropping the column later.

Thanks, I was unsure about this. This is just what I have found 
digging into codeaurora sources. Will change and resubmit.

Ivan

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

end of thread, other threads:[~2015-07-07  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 14:35 [PATCH] mfd: qcom-rpm: Add apq8064 QDSS clock resource Ivan T. Ivanov
2015-07-06 13:17 ` Ivan T. Ivanov
2015-07-06 20:33 ` Bjorn Andersson
2015-07-07  7:06   ` Ivan T. Ivanov

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