• Anson Huang's avatar
    clk: imx: scu: add cpu frequency scaling support · 3b9ea606
    Anson Huang authored
    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: default avatarAnson Huang <Anson.Huang@nxp.com>
    Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
    3b9ea606
clk-scu.c 9.1 KB