Re: [PATCH v2 1/2] cpufreq: qoriq: convert to a platform driver
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2020-04-28 11:01:30
Also in:
linux-arm-kernel, linux-clk, linux-pm, lkml
From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2020-04-28 11:01:30
Also in:
linux-arm-kernel, linux-clk, linux-pm, lkml
On 21-04-20, 10:29, Mian Yousaf Kaukab wrote:
The driver has to be manually loaded if it is built as a module. It is neither exporting MODULE_DEVICE_TABLE nor MODULE_ALIAS. Moreover, no platform-device is created (and thus no uevent is sent) for the clockgen nodes it depends on. Convert the module to a platform driver with its own alias. Moreover, drop whitelisted SOCs. Platform device will be created only for the compatible platforms. Reviewed-by: Yuantian Tang <redacted> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Mian Yousaf Kaukab <redacted> --- v2: +Rafael, Stephen, linux-clk Add Reviewed-by and Acked-by tags drivers/cpufreq/qoriq-cpufreq.c | 76 ++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 47 deletions(-)
@Rafael, Though this looks to be PPC stuff, but it is used on both ARM and PPC. Do you want to pick them up or should I do that ? -- viresh