Re: [RFC 0/5] Add cpufreq-dt support i.MX8MQ

From: Lucas Stach
Date: Thu Feb 14 2019 - 10:55:19 EST


Am Mittwoch, den 13.02.2019, 19:05 +0000 schrieb Abel Vesa:
> I'm sending this as a patchseries (RFC) just to show all the changes
> needed for this to work. I'll resend separately once I get some
> feedback
> on the entire thing.
>
> One thing that is missing compared to the earlier work
> (here: https://patchwork.kernel.org/patch/10807821/ )
> is the speed grading. That can be done as a separate changeÂ
> once I figure out how to do it with cpufreq-dt.
>
> Unfortumately, there is a need to update the dt-bindings
> once again in order to add missing ARM clock from patches 1 and 2.

Which isn't much of a problem as it's a backward compatible change. A
new kernel with cpufreq support will not find the clock when started
with an old DT and thus not expose cpufreq support. I.e. it's working
with exactly the same functionality level as a kernel matching the old
DT.

Regards,
Lucas

> Abel Vesa (5):
> Â clk: imx: imx8mq: Fix the rate propagation for arm pll
> Â dt-bindings: imx8mq-clock: Add the missing ARM clock
> Â clk: imx8mq: Add the missing ARM clock
> Â arm64: dts: imx8mq: Add the clocks and the latencies for the A53
> cores
> Â arm64: dts: imx8mq: Add the opp table and the cpu-supply nodes
>
> Âarch/arm64/boot/dts/freescale/imx8mq-evk.dts | 17 +++++++++++++++
> Âarch/arm64/boot/dts/freescale/imx8mq.dtsiÂÂÂÂ| 31
> ++++++++++++++++++++++++++++
> Âdrivers/clk/imx/clk-imx8mq.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂ8 ++++++-
> Âinclude/dt-bindings/clock/imx8mq-clock.hÂÂÂÂÂ|ÂÂ4 +++-
> Â4 files changed, 58 insertions(+), 2 deletions(-)
>