2017-08-04 01:54:53

by Finley Xiao

[permalink] [raw]
Subject: [PATCH] cpufreq: dt: Add rk3328 compatible to use generic cpufreq driver

This patch adds the rk3328 compatible string for supporting
the generic cpufreq driver on RK3328.

Signed-off-by: Finley Xiao <[email protected]>
---
drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
index 096aea7..13c0c47 100644
--- a/drivers/cpufreq/cpufreq-dt-platdev.c
+++ b/drivers/cpufreq/cpufreq-dt-platdev.c
@@ -76,6 +76,7 @@ static const struct of_device_id machines[] __initconst = {
{ .compatible = "rockchip,rk3188", },
{ .compatible = "rockchip,rk3228", },
{ .compatible = "rockchip,rk3288", },
+ { .compatible = "rockchip,rk3328", },
{ .compatible = "rockchip,rk3366", },
{ .compatible = "rockchip,rk3368", },
{ .compatible = "rockchip,rk3399", },
--
2.7.4



2017-08-04 05:10:48

by Viresh Kumar

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: dt: Add rk3328 compatible to use generic cpufreq driver

On 04-08-17, 09:52, Finley Xiao wrote:
> This patch adds the rk3328 compatible string for supporting
> the generic cpufreq driver on RK3328.
>
> Signed-off-by: Finley Xiao <[email protected]>
> ---
> drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> index 096aea7..13c0c47 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -76,6 +76,7 @@ static const struct of_device_id machines[] __initconst = {
> { .compatible = "rockchip,rk3188", },
> { .compatible = "rockchip,rk3228", },
> { .compatible = "rockchip,rk3288", },
> + { .compatible = "rockchip,rk3328", },
> { .compatible = "rockchip,rk3366", },
> { .compatible = "rockchip,rk3368", },
> { .compatible = "rockchip,rk3399", },

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

--
viresh

2017-08-09 22:57:54

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: [PATCH] cpufreq: dt: Add rk3328 compatible to use generic cpufreq driver

On Friday, August 4, 2017 7:10:41 AM CEST Viresh Kumar wrote:
> On 04-08-17, 09:52, Finley Xiao wrote:
> > This patch adds the rk3328 compatible string for supporting
> > the generic cpufreq driver on RK3328.
> >
> > Signed-off-by: Finley Xiao <[email protected]>
> > ---
> > drivers/cpufreq/cpufreq-dt-platdev.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c
> > index 096aea7..13c0c47 100644
> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> > @@ -76,6 +76,7 @@ static const struct of_device_id machines[] __initconst = {
> > { .compatible = "rockchip,rk3188", },
> > { .compatible = "rockchip,rk3228", },
> > { .compatible = "rockchip,rk3288", },
> > + { .compatible = "rockchip,rk3328", },
> > { .compatible = "rockchip,rk3366", },
> > { .compatible = "rockchip,rk3368", },
> > { .compatible = "rockchip,rk3399", },
>
> Acked-by: Viresh Kumar <[email protected]>
>
>

Applied, thanks!