diff mbox series

cpufreq: qoriq: Add ls1028a chip support

Message ID 20190424023223.29614-1-andy.tang@nxp.com (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show
Series cpufreq: qoriq: Add ls1028a chip support | expand

Commit Message

Andy Tang April 24, 2019, 2:32 a.m. UTC
From: Yuantian Tang <andy.tang@nxp.com>

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

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
---
 drivers/cpufreq/qoriq-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Viresh Kumar April 24, 2019, 4:01 a.m. UTC | #1
On 24-04-19, 10:32, andy.tang@nxp.com wrote:
> From: Yuantian Tang <andy.tang@nxp.com>
> 
> Enable cpufreq feature on ls1028a chip by adding its compatible
> string.
> 
> Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> ---
>  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 <viresh.kumar@linaro.org>
Rafael J. Wysocki April 24, 2019, 7:24 a.m. UTC | #2
On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 24-04-19, 10:32, andy.tang@nxp.com wrote:
> > From: Yuantian Tang <andy.tang@nxp.com>
> >
> > Enable cpufreq feature on ls1028a chip by adding its compatible
> > string.
> >
> > Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> > ---
> >  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 <viresh.kumar@linaro.org>

So do you want me to take this one directly?
Viresh Kumar April 24, 2019, 9:02 a.m. UTC | #3
On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
> >
> > On 24-04-19, 10:32, andy.tang@nxp.com wrote:
> > > From: Yuantian Tang <andy.tang@nxp.com>
> > >
> > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > string.
> > >
> > > Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> > > ---
> > >  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 <viresh.kumar@linaro.org>
> 
> 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 ?
Rafael J. Wysocki April 24, 2019, 9:25 a.m. UTC | #4
On Wed, Apr 24, 2019 at 11:02 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> > On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
> > >
> > > On 24-04-19, 10:32, andy.tang@nxp.com wrote:
> > > > From: Yuantian Tang <andy.tang@nxp.com>
> > > >
> > > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > > string.
> > > >
> > > > Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> > > > ---
> > > >  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 <viresh.kumar@linaro.org>
> >
> > 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!
Rafael J. Wysocki May 1, 2019, 10:41 a.m. UTC | #5
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 <viresh.kumar@linaro.org> wrote:
> >
> > On 24-04-19, 09:24, Rafael J. Wysocki wrote:
> > > On Wed, Apr 24, 2019 at 6:01 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
> > > >
> > > > On 24-04-19, 10:32, andy.tang@nxp.com wrote:
> > > > > From: Yuantian Tang <andy.tang@nxp.com>
> > > > >
> > > > > Enable cpufreq feature on ls1028a chip by adding its compatible
> > > > > string.
> > > > >
> > > > > Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
> > > > > ---
> > > > >  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 <viresh.kumar@linaro.org>
> > >
> > > 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!
diff mbox series

Patch

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", },