1 .. SPDX-License-Identifier: GPL-2.0
3 ========================
4 Device Frequency Scaling
5 ========================
10 This framework provides a standard kernel interface for Dynamic Voltage and
11 Frequency Switching on arbitrary devices.
13 It exposes controls for adjusting frequency through sysfs files which are
14 similar to the cpufreq subsystem.
16 Devices for which current usage can be measured can have their frequency
17 automatically adjusted by governors.
22 Device drivers need to initialize a :c:type:`devfreq_profile` and call the
23 :c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance.
25 .. kernel-doc:: include/linux/devfreq.h
26 .. kernel-doc:: include/linux/devfreq-event.h
27 .. kernel-doc:: drivers/devfreq/devfreq.c
29 .. kernel-doc:: drivers/devfreq/devfreq-event.c