Re: [PATCH] cpufreq: rockchip: add driver

From: Viresh Kumar
Date: Mon Mar 21 2016 - 05:59:08 EST


On 21-03-16, 10:54, Heiko Stübner wrote:
> I hadn't seen that yet ... nice that cpufreq-dt now also supports clusters :-)
>
> The other part still stands though, as we probably should register the
> platform-device somewhere else and not in some new special module.
>
> When everything is using cpufreq-dt now, I guess we could just add it to the
> core rockchip clk-code. Or was there some agreement where this should be done
> (obviously not the devicetree itself)?

Yeah, there was a discussion around creating a white or black list of platforms
that want to create a platform device for cpufreq-dt. That can be done in
cpufreq-dt.c or a new file, but I haven't worked out on that yet.

You can do it from clk-code or from the driver that was added in this thread.
Just that you need to match your platform's compatible string before doing that.

--
viresh