Re: [PATCH V4 2/2] clk: imx: scu: add cpu frequency scaling support

From: Stephen Boyd
Date: Thu Feb 21 2019 - 15:48:32 EST


Quoting Anson Huang (2019-02-13 17:54:08)
> On NXP's i.MX SoCs with system controller inside, CPU frequency
> scaling can ONLY be done by system controller firmware, and it
> can ONLY be requested from secure mode, so Linux kernel has to
> call ARM SMC to trap to ARM-Trusted-Firmware to request system
> controller firmware to do CPU frequency scaling.
>
> This patch adds i.MX system controller CPU frequency scaling support,
> it reuses cpufreq-dt driver and implement the CPU frequency scaling
> inside SCU clock driver.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> ---
> Changes since V3:
> - use different clk ops for CPU clock to avoid runtime check in clk_set_rate;
> - use rsrc_id to determine whether it is CPU frequency change and also to get
> cluster ID for SMC call.

This directly conflicts with a patch to add get/set parent support from
Aisheng Dong. Can you please work together and rebase the patch on top
of that patch (which is in clk-next) and resend this?