brintos

brintos / linux-shallow public Read only

0
0
Text · 852 B · 4a0bf87 Raw
31 lines · plain
1.. SPDX-License-Identifier: GPL-2.02 3========================4Device Frequency Scaling5========================6 7Introduction8------------9 10This framework provides a standard kernel interface for Dynamic Voltage and11Frequency Switching on arbitrary devices.12 13It exposes controls for adjusting frequency through sysfs files which are14similar to the cpufreq subsystem.15 16Devices for which current usage can be measured can have their frequency17automatically adjusted by governors.18 19API20---21 22Device drivers need to initialize a :c:type:`devfreq_profile` and call the23:c:func:`devfreq_add_device` function to create a :c:type:`devfreq` instance.24 25.. kernel-doc:: include/linux/devfreq.h26.. kernel-doc:: include/linux/devfreq-event.h27.. kernel-doc:: drivers/devfreq/devfreq.c28        :export:29.. kernel-doc:: drivers/devfreq/devfreq-event.c30        :export:31