2019-04-24 02:41:18

by Andy Tang

[permalink] [raw]
Subject: [PATCH] cpufreq: qoriq: Add ls1028a chip support

From: Yuantian Tang <[email protected]>

Enable cpufreq feature on ls1028a chip by adding its compatible
string.

Signed-off-by: Yuantian Tang <[email protected]>
---
drivers/cpufreq/qoriq-cpufreq.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
index 4295e54..d308c4d 100644
--- a/drivers/cpufreq/qoriq-cpufreq.c
+++ b/drivers/cpufreq/qoriq-cpufreq.c
@@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,

{ .compatible = "fsl,ls1012a-clockgen", },
{ .compatible = "fsl,ls1021a-clockgen", },
+ { .compatible = "fsl,ls1028a-clockgen", },
{ .compatible = "fsl,ls1043a-clockgen", },
{ .compatible = "fsl,ls1046a-clockgen", },
{ .compatible = "fsl,ls1088a-clockgen", },
--
1.7.1


2019-04-24 04:02:35

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

On 24-04-19, 10:32, [email protected] wrote:
> From: Yuantian Tang <[email protected]>
>
> Enable cpufreq feature on ls1028a chip by adding its compatible
> string.
>
> Signed-off-by: Yuantian Tang <[email protected]>
> ---
> drivers/cpufreq/qoriq-cpufreq.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> index 4295e54..d308c4d 100644
> --- a/drivers/cpufreq/qoriq-cpufreq.c
> +++ b/drivers/cpufreq/qoriq-cpufreq.c
> @@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
>
> { .compatible = "fsl,ls1012a-clockgen", },
> { .compatible = "fsl,ls1021a-clockgen", },
> + { .compatible = "fsl,ls1028a-clockgen", },
> { .compatible = "fsl,ls1043a-clockgen", },
> { .compatible = "fsl,ls1046a-clockgen", },
> { .compatible = "fsl,ls1088a-clockgen", },

Acked-by: Viresh Kumar <[email protected]>

--
viresh

2019-04-24 09:04:09

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <[email protected]> wrote:
> >
> > On 24-04-19, 10:32, [email protected] wrote:
> > > From: Yuantian Tang <[email protected]>
> > >
> > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > string.
> > >
> > > Signed-off-by: Yuantian Tang <[email protected]>
> > > ---
> > > drivers/cpufreq/qoriq-cpufreq.c | 1 +
> > > 1 files changed, 1 insertions(+), 0 deletions(-)
> > >
> > > diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> > > index 4295e54..d308c4d 100644
> > > --- a/drivers/cpufreq/qoriq-cpufreq.c
> > > +++ b/drivers/cpufreq/qoriq-cpufreq.c
> > > @@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
> > >
> > > { .compatible = "fsl,ls1012a-clockgen", },
> > > { .compatible = "fsl,ls1021a-clockgen", },
> > > + { .compatible = "fsl,ls1028a-clockgen", },
> > > { .compatible = "fsl,ls1043a-clockgen", },
> > > { .compatible = "fsl,ls1046a-clockgen", },
> > > { .compatible = "fsl,ls1088a-clockgen", },
> >
> > Acked-by: Viresh Kumar <[email protected]>
>
> So do you want me to take this one directly?

I actually applied it and then realized it is powerpc and so dropped
it. You want me to apply it ?

--
viresh

2019-04-24 09:26:35

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

On Wed, Apr 24, 2019 at 11:02 AM Viresh Kumar <[email protected]> wrote:
>
> On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> > On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <[email protected]> wrote:
> > >
> > > On 24-04-19, 10:32, [email protected] wrote:
> > > > From: Yuantian Tang <[email protected]>
> > > >
> > > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > > string.
> > > >
> > > > Signed-off-by: Yuantian Tang <[email protected]>
> > > > ---
> > > > drivers/cpufreq/qoriq-cpufreq.c | 1 +
> > > > 1 files changed, 1 insertions(+), 0 deletions(-)
> > > >
> > > > diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> > > > index 4295e54..d308c4d 100644
> > > > --- a/drivers/cpufreq/qoriq-cpufreq.c
> > > > +++ b/drivers/cpufreq/qoriq-cpufreq.c
> > > > @@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
> > > >
> > > > { .compatible = "fsl,ls1012a-clockgen", },
> > > > { .compatible = "fsl,ls1021a-clockgen", },
> > > > + { .compatible = "fsl,ls1028a-clockgen", },
> > > > { .compatible = "fsl,ls1043a-clockgen", },
> > > > { .compatible = "fsl,ls1046a-clockgen", },
> > > > { .compatible = "fsl,ls1088a-clockgen", },
> > >
> > > Acked-by: Viresh Kumar <[email protected]>
> >
> > So do you want me to take this one directly?
>
> I actually applied it and then realized it is powerpc and so dropped
> it. You want me to apply it ?

No, I can do that, thanks!

2019-04-24 10:10:49

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <[email protected]> wrote:
>
> On 24-04-19, 10:32, [email protected] wrote:
> > From: Yuantian Tang <[email protected]>
> >
> > Enable cpufreq feature on ls1028a chip by adding its compatible
> > string.
> >
> > Signed-off-by: Yuantian Tang <[email protected]>
> > ---
> > drivers/cpufreq/qoriq-cpufreq.c | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> > index 4295e54..d308c4d 100644
> > --- a/drivers/cpufreq/qoriq-cpufreq.c
> > +++ b/drivers/cpufreq/qoriq-cpufreq.c
> > @@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
> >
> > { .compatible = "fsl,ls1012a-clockgen", },
> > { .compatible = "fsl,ls1021a-clockgen", },
> > + { .compatible = "fsl,ls1028a-clockgen", },
> > { .compatible = "fsl,ls1043a-clockgen", },
> > { .compatible = "fsl,ls1046a-clockgen", },
> > { .compatible = "fsl,ls1088a-clockgen", },
>
> Acked-by: Viresh Kumar <[email protected]>

So do you want me to take this one directly?

2019-05-01 10:43:41

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: qoriq: Add ls1028a chip support

On Wednesday, April 24, 2019 11:25:07 AM CEST Rafael J. Wysocki wrote:
> On Wed, Apr 24, 2019 at 11:02 AM Viresh Kumar <[email protected]> wrote:
> >
> > On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> > > On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <[email protected]> wrote:
> > > >
> > > > On 24-04-19, 10:32, [email protected] wrote:
> > > > > From: Yuantian Tang <[email protected]>
> > > > >
> > > > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > > > string.
> > > > >
> > > > > Signed-off-by: Yuantian Tang <[email protected]>
> > > > > ---
> > > > > drivers/cpufreq/qoriq-cpufreq.c | 1 +
> > > > > 1 files changed, 1 insertions(+), 0 deletions(-)
> > > > >
> > > > > diff --git a/drivers/cpufreq/qoriq-cpufreq.c b/drivers/cpufreq/qoriq-cpufreq.c
> > > > > index 4295e54..d308c4d 100644
> > > > > --- a/drivers/cpufreq/qoriq-cpufreq.c
> > > > > +++ b/drivers/cpufreq/qoriq-cpufreq.c
> > > > > @@ -280,6 +280,7 @@ static int qoriq_cpufreq_target(struct cpufreq_policy *policy,
> > > > >
> > > > > { .compatible = "fsl,ls1012a-clockgen", },
> > > > > { .compatible = "fsl,ls1021a-clockgen", },
> > > > > + { .compatible = "fsl,ls1028a-clockgen", },
> > > > > { .compatible = "fsl,ls1043a-clockgen", },
> > > > > { .compatible = "fsl,ls1046a-clockgen", },
> > > > > { .compatible = "fsl,ls1088a-clockgen", },
> > > >
> > > > Acked-by: Viresh Kumar <[email protected]>
> > >
> > > So do you want me to take this one directly?
> >
> > I actually applied it and then realized it is powerpc and so dropped
> > it. You want me to apply it ?
>
> No, I can do that, thanks!
>

Applied, thanks!