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