Documentation: power: Add description about new callback for EM registration
authorLukasz Luba <lukasz.luba@arm.com>
Tue, 2 Nov 2021 18:01:43 +0000 (18:01 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 10 Nov 2021 20:26:34 +0000 (21:26 +0100)
commitd704aa0d44ade12660d4d7220b2a8d785b7b4247
tree68b112ddeaaa6cdc9201809076ab91c6f8415817
parent881007522c8fcc3785c75432dbb149ca1b78e106
Documentation: power: Add description about new callback for EM registration

The Energy Model (EM) registration for CPUs should now be done using
a dedicated callback added recently into CPUFreq framework and drivers.

Commit c17495b01b72 ("cpufreq: Add callback to register with energy model")

The callback guaranties that the EM registration is called at the right
time during driver setup. To avoid mistakes update the documentation
to align with the existing code implementation.

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/power/energy-model.rst