[PATCH v12 1/2] cpufreq: mediatek-hw: Add support for CPUFREQ HW

Viresh Kumar viresh.kumar at linaro.org
Mon Jun 28 19:47:19 PDT 2021


On 28-06-21, 10:09, Sudeep Holla wrote:
> Probably in driver/cpufreq or some related headers if it needs to access
> related_cpus and is more cpufreq related in that way ?

It just needs to set a mask, so doesn't really depend on cpufreq. I
was wondering if drivers/opp/of.c may be used for this, and I am not
sure.

> Orthogonal to that, I prefer to make the generic function take list_name
> and cells_name as generic. I see we can reuse that qcom-cpufreq-hw.c
> with "qcom,freq-domain" and "#freq-domain-cells".

Yes.

-- 
viresh



More information about the Linux-mediatek mailing list