RGMU attached to certain Adreno GPUs
Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,adreno-rgmu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Clark <robin.clark@oss.qualcomm.com>"
RGMU (Reduced Graphics Management Unit) IP is present in some GPUs that belong to Adreno A6xx family. It is a small state machine that helps to toggle the GX GDSC (connected to CX rail) to implement IFPC feature and save power.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"qcom,adreno-rgmu-612.0"
Item 2
Exact value (
const):"qcom,adreno-rgmu"
reg — required here #
Array item rules (items) #
Item 1
Core RGMU registers
clocks — required here #
Array item rules (items) #
Item 1
GMU clock
Item 2
GPU CX clock
Item 3
GPU AXI clock
Item 4
GPU MEMNOC clock
Item 5
GPU SMMU vote clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"gmu"
Item 2
Exact value (
const):"cxo"
Item 3
Exact value (
const):"axi"
Item 4
Exact value (
const):"memnoc"
Item 5
Exact value (
const):"smmu_vote"
power-domains — required here #
Array item rules (items) #
Item 1
CX GDSC power domain
Item 2
GX GDSC power domain
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cx"
Item 2
Exact value (
const):"gx"
interrupts — required here #
Array item rules (items) #
Item 1
GMU OOB interrupt
Item 2
GMU interrupt
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"oob"
Item 2
Exact value (
const):"gmu"
operating-points-v2 — required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "power-domains", "power-domain-names", "interrupts", "interrupt-names", "operating-points-v2"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/qcom,qcs615-gpucc.h>
#include <dt-bindings/clock/qcom,qcs615-gcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom,rpmhpd.h>
gmu@506a000 {
compatible = "qcom,adreno-rgmu-612.0", "qcom,adreno-rgmu";
reg = <0x05000000 0x90000>;
clocks = <&gpucc GPU_CC_CX_GMU_CLK>,
<&gpucc GPU_CC_CXO_CLK>,
<&gcc GCC_DDRSS_GPU_AXI_CLK>,
<&gcc GCC_GPU_MEMNOC_GFX_CLK>,
<&gpucc GPU_CC_HLOS1_VOTE_GPU_SMMU_CLK>;
clock-names = "gmu",
"cxo",
"axi",
"memnoc",
"smmu_vote";
power-domains = <&gpucc CX_GDSC>,
<&gpucc GX_GDSC>;
power-domain-names = "cx",
"gx";
interrupts = <GIC_SPI 304 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 305 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "oob",
"gmu";
operating-points-v2 = <&gmu_opp_table>;
gmu_opp_table: opp-table {
compatible = "operating-points-v2";
opp-200000000 {
opp-hz = /bits/ 64 <200000000>;
required-opps = <&rpmhpd_opp_low_svs>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 2: Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.