On 19-12-24, 16:23, Ulf Hansson wrote: > The power-domain provider driver should use the compatible > "airoha,en7581-cpufreq". This driver should be responsible for > registering the genpd and the clock. > > Potentially, the power-domain provider driver could also register the > "cpufreq-dt" platform-device. To make this work, we also need to > extend the cpufreq-dt driver (maybe extend its platform-data too?) to > be capable of attaching the corresponding cpu-devices to their > power(perf)-domains. For the moment, this isn't supported, but I think > it would be nice if it could. Another option, would be to use an > additional separate name-based cpufreq-driver, as in the > qcom-cpufreq-nvmem.c, that then becomes responsible for registering > the cpufreq-dt device. > > Viresh, do you have a better approach in mind? I am fine with any part of the kernel creating the cpufreq-dt device.. That doesn't need to be in the cpufreq directory. -- viresh