linux-sg2042/Documentation/power
Lukasz Luba 08374410a5 Documentation: power: Describe 'advanced' and 'simple' EM models
The Energy Model (EM) can be registered in two ways:

 1) Using a helper function, which under the hood relies on OPP framework
    and DT entry in CPU node: 'dynamic-power-coefficient'. This is
    a 'simple' EM because it's tied to the math formula:
    Power = dynamic-power-coefficient * V^2 * f

 2) Using em_dev_register_perf_domain() API function with a driver
    custom callback which provides power for each performance state.

    This is 'advanced' EM, since it can better reflect real power
    measurements for each performance state. It's not limited to any
    math formula and can better reflect real physics of the device.

Add description of these two methods to the documentation, so developers
could choose the suitable registration method (option).

Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-11-10 21:26:34 +01:00
..
powercap Documentation/powercap/dtpm: Add documentation for dtpm 2020-12-22 19:50:40 +01:00
regulator docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
apm-acpi.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
basic-pm-debugging.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
charger-manager.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
drivers-testing.rst PM: Wrap documentation to fit in 80 columns 2019-11-20 12:16:37 +01:00
energy-model.rst Documentation: power: Describe 'advanced' and 'simple' EM models 2021-11-10 21:26:34 +01:00
freezing-of-tasks.rst Documentation: Replace lkml.org links with lore 2021-01-11 12:47:38 -07:00
index.rst Documentation/powercap/dtpm: Add documentation for dtpm 2020-12-22 19:50:40 +01:00
opp.rst PM: Wrap documentation to fit in 80 columns 2019-11-20 12:16:37 +01:00
pci.rst PCI/PM: Rename pci_dev.d3_delay to d3hot_delay 2020-09-29 14:21:50 -05:00
pm_qos_interface.rst Documentation: power: fix pm_qos_interface.rst format warning 2020-02-20 11:53:32 +01:00
power_supply_class.rst dt-bindings: power: update battery.yaml reference 2021-04-02 13:00:55 +02:00
runtime_pm.rst PM: runtime: Clarify documentation when callbacks are unassigned 2021-06-11 19:04:07 +02:00
s2ram.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
suspend-and-cpuhotplug.rst cpu/hotplug: Remove disable_nonboot_cpus() 2020-05-07 15:18:40 +02:00
suspend-and-interrupts.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
swsusp-and-swap-files.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
swsusp-dmcrypt.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
swsusp.rst PM: Wrap documentation to fit in 80 columns 2019-11-20 12:16:37 +01:00
tricks.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00
userland-swsusp.rst PM: hibernate: fix docs for ioctls that return loff_t via pointer 2020-03-14 11:51:32 +01:00
video.rst docs: power: convert docs to ReST and rename to *.rst 2019-06-14 16:08:36 -05:00