Re: [PATCH 2/2] cpufreq: dt: add support for rockchip rv1108

From: Viresh Kumar
Date: Wed Sep 13 2017 - 15:18:48 EST


On 21-08-17, 17:10, Andy Yan wrote:
> Add the compatible string to support the generic device tree
> cpufreq-dt driver on rockchip rv1108 soc.
>
> Signed-off-by: Andy Yan <andy.yan@xxxxxxxxxxxxxx>
> ---
>
> 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 1c26292..2d71c09 100644
> --- a/drivers/cpufreq/cpufreq-dt-platdev.c
> +++ b/drivers/cpufreq/cpufreq-dt-platdev.c
> @@ -69,6 +69,7 @@ static const struct of_device_id machines[] __initconst = {
> { .compatible = "renesas,r8a7794", },
> { .compatible = "renesas,sh73a0", },
>
> + { .compatible = "rockchip,rv1108", },
> { .compatible = "rockchip,rk2928", },
> { .compatible = "rockchip,rk3036", },
> { .compatible = "rockchip,rk3066a", },

You use operating-points-v2 or the V1 bindings for this SoC? The SoCs using
operating-points-v2 don't need such changes anymore.

--
viresh