mbox series

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

Message ID 1550084693-9797-1-git-send-email-abel.vesa@nxp.com (mailing list archive)
Headers show
Series Add cpufreq-dt support i.MX8MQ | expand

Message

Abel Vesa Feb. 13, 2019, 7:05 p.m. UTC
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.

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(-)

Comments

Lucas Stach Feb. 14, 2019, 3:55 p.m. UTC | #1
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(-)
>