0001 .. SPDX-License-Identifier: GPL-2.0
0002
0003 ========================
0004 Device Frequency Scaling
0005 ========================
0006
0007 Introduction
0008 ------------
0009
0010 This framework provides a standard kernel interface for Dynamic Voltage and
0011 Frequency Switching on arbitrary devices.
0012
0013 It exposes controls for adjusting frequency through sysfs files which are
0014 similar to the cpufreq subsystem.
0015
0016 Devices for which current usage can be measured can have their frequency
0017 automatically adjusted by governors.
0018
0019 API
0020 ---
0021
0022 Device drivers need to initialize a :c:type:`devfreq_profile` and call the
0023 :c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance.
0024
0025 .. kernel-doc:: include/linux/devfreq.h
0026 .. kernel-doc:: include/linux/devfreq-event.h
0027 .. kernel-doc:: drivers/devfreq/devfreq.c
0028 :export:
0029 .. kernel-doc:: drivers/devfreq/devfreq-event.c
0030 :export: