xref: /linux-6.14.4/Documentation/devicetree/bindings/cpufreq/qemu,virtual-cpufreq.yaml
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/cpufreq/qemu,virtual-cpufreq.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Virtual CPUFreq
8
9maintainers:
10  - David Dai <[email protected]>
11  - Saravana Kannan <[email protected]>
12
13description:
14  Virtual CPUFreq is a virtualized driver in guest kernels that sends performance
15  selection of its vCPUs as a hint to the host through MMIO regions. Each vCPU
16  is associated with a performance domain which can be shared with other vCPUs.
17  Each performance domain has its own set of registers for performance controls.
18
19properties:
20  compatible:
21    const: qemu,virtual-cpufreq
22
23  reg:
24    maxItems: 1
25    description:
26      Address and size of region containing performance controls for each of the
27      performance domains. Regions for each performance domain is placed
28      contiguously and contain registers for controlling DVFS(Dynamic Frequency
29      and Voltage) characteristics. The size of the region is proportional to
30      total number of performance domains.
31
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    soc {
41      #address-cells = <1>;
42      #size-cells = <1>;
43
44      cpufreq@1040000 {
45        compatible = "qemu,virtual-cpufreq";
46        reg = <0x1040000 0x2000>;
47      };
48    };
49

served by {OpenGrok

Last Index Update: Mon Apr 28 06:57:04 CEST 2025