Path: blob/master/Documentation/devicetree/bindings/cpufreq/qemu,virtual-cpufreq.yaml
26308 views
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause1%YAML 1.22---3$id: http://devicetree.org/schemas/cpufreq/qemu,virtual-cpufreq.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Virtual CPUFreq78maintainers:9- David Dai <davidai@google.com>10- Saravana Kannan <saravanak@google.com>1112description:13Virtual CPUFreq is a virtualized driver in guest kernels that sends performance14selection of its vCPUs as a hint to the host through MMIO regions. Each vCPU15is associated with a performance domain which can be shared with other vCPUs.16Each performance domain has its own set of registers for performance controls.1718properties:19compatible:20const: qemu,virtual-cpufreq2122reg:23maxItems: 124description:25Address and size of region containing performance controls for each of the26performance domains. Regions for each performance domain is placed27contiguously and contain registers for controlling DVFS(Dynamic Frequency28and Voltage) characteristics. The size of the region is proportional to29total number of performance domains.3031required:32- compatible33- reg3435additionalProperties: false3637examples:38- |39soc {40#address-cells = <1>;41#size-cells = <1>;4243cpufreq@1040000 {44compatible = "qemu,virtual-cpufreq";45reg = <0x1040000 0x2000>;46};47};484950