Re: [PATCH] cpufreq: Add CPU frequency policy change notification support
From: Viresh Kumar
Date: Wed Jan 21 2026 - 05:14:37 EST
On 21-01-26, 16:37, Tony W Wang-oc wrote:
> The expectation is to register a notifier of type CPUFREQ_POLICY_NOTIFIER
> via cpufreq_register_notifier in one of our drivers. The notifier callback
> will configure Zhaoxin registers to different values based on the different
> cpufreq governors when the event is CPUFREQ_GOVERNOR_CHANGE, thereby
> allowing the Zhaoxin hardware to adopt different power management
> strategies.
Firstly, for this change to be acceptable, we would need your upstream
platform specific changes as well.
And then I am still not sure if this it the right way to solve this
problem.
--
viresh