Messages in this thread | | | Date | Wed, 13 Feb 2019 15:45:02 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH 3/3] cpufreq: imx-sc: add i.mx system controller cpufreq support |
| |
On 13-02-19, 08:53, Anson Huang wrote: > Forgot to mention, i.MX system controller cpufreq actually can NOT do any CPU > clock/voltage scaling from Linux kernel, they are controlled by system controller > firmware and ONLY can be requested via RPC with secure mode, so Linux kernel > has to call SMC and trap to ARM-Trusted-Firmware to do it, in this case, is cpufreq-dt > still suitable to support it? I saw cpufreq-dt driver will do CPU clock/voltage scaling > directly.
What about moving those SMC calls to the clk-driver, then it wouldn't matter to the cpufreq driver on how the clock is getting changed.
-- viresh
| |