mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
dt-bindings: interconnect: Update QTI SDM845 DT bindings
Redefine the Network-on-Chip devices to more accurately describe the interconnect topology on QTI's SDM845 platform. Each interconnect device can communicate with different instances of the RPMh hardware which are described as RSCs(Resource State Coordinators). Change-Id: Icc4ad0410e98bef4a7acc786a19bb4048ae2b1a8
This commit is contained in:
parent
d9bae78ade
commit
e993d2fe84
2 changed files with 68 additions and 9 deletions
31
bindings/interconnect/qcom,bcm-voter.txt
Normal file
31
bindings/interconnect/qcom,bcm-voter.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
QTI BCM-Voter interconnect driver binding
|
||||
-----------------------------------------------------------
|
||||
|
||||
The Bus Clock Manager (BCM) is a dedicated hardware accelerator
|
||||
that manages shared system resources by aggregating requests
|
||||
from multiple Resource State Coordinators (RSC). Interconnect
|
||||
providers are able to vote for aggregated thresholds values from
|
||||
consumers by communicating through their respective RSCs.
|
||||
|
||||
Required properties :
|
||||
- compatible : shall contain only one of the following:
|
||||
"qcom,sdm845-bcm-voter",
|
||||
"qcom,bcm-voter",
|
||||
|
||||
Examples:
|
||||
|
||||
apps_rsc: interconnect@179c0000 {
|
||||
compatible = "qcom,rpmh-rsc";
|
||||
|
||||
apps_bcm_voter: bcm_voter {
|
||||
compatible = "qcom,sdm845-bcm-voter";
|
||||
};
|
||||
}
|
||||
|
||||
disp_rsc: interconnect@179d0000 {
|
||||
compatible = "qcom,rpmh-rsc";
|
||||
|
||||
disp_bcm_voter: bcm_voter {
|
||||
compatible = "qcom,sdm845-bcm-voter";
|
||||
};
|
||||
}
|
||||
|
|
@ -4,21 +4,49 @@ Qualcomm SDM845 Network-On-Chip interconnect driver binding
|
|||
SDM845 interconnect providers support system bandwidth requirements through
|
||||
RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
|
||||
able to communicate with the BCM through the Resource State Coordinator (RSC)
|
||||
associated with each execution environment. Provider nodes must reside within
|
||||
an RPMh device node pertaining to their RSC and each provider maps to a single
|
||||
RPMh resource.
|
||||
associated with each execution environment. Provider nodes must point to at
|
||||
least one RPMh device child node pertaining to their RSC and each provider
|
||||
can map to multiple RPMh resources.
|
||||
|
||||
Required properties :
|
||||
- compatible : shall contain only one of the following:
|
||||
"qcom,sdm845-rsc-hlos"
|
||||
"qcom,sdm845-aggre1-noc",
|
||||
"qcom,sdm845-aggre2-noc",
|
||||
"qcom,sdm845-config-noc",
|
||||
"qcom,sdm845-dc-noc",
|
||||
"qcom,sdm845-gladiator-noc",
|
||||
"qcom,sdm845-mem-noc",
|
||||
"qcom,sdm845-mmss-noc",
|
||||
"qcom,sdm845-system-noc",
|
||||
- #interconnect-cells : should contain 1
|
||||
- reg : shall contain base register location and length
|
||||
- qcom,bcm-voters : shall contain phandles to bcm voters
|
||||
|
||||
Optional properties:
|
||||
qcom,bcm-voter-names : List of bcm-voter name strings sorted in the same
|
||||
order as the qcom,bcm-voters property. The names will
|
||||
be used to differentiate the specific RSC being targeted.
|
||||
|
||||
Examples:
|
||||
|
||||
apps_rsc: rsc {
|
||||
rsc_hlos: interconnect {
|
||||
compatible = "qcom,sdm845-rsc-hlos";
|
||||
#interconnect-cells = <1>;
|
||||
};
|
||||
mem_noc: interconnect@1380000 {
|
||||
compatible = "qcom,sdm845-mem-noc";
|
||||
reg = <0 0x01380000 0 0x27200>;
|
||||
#interconnect-cells = <1>;
|
||||
qcom,bcm-voter-names = "apps_rsc", "disp_rsc";
|
||||
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
|
||||
};
|
||||
aggre1_noc: interconnect@16e0000 {
|
||||
compatible = "qcom,sdm845-aggre1-noc";
|
||||
reg = <0x016e0000 0xd080>;
|
||||
interconnect-cells = <1>;
|
||||
qcom,bcm-voters = <&apps_bcm_voter>;
|
||||
};
|
||||
|
||||
mmss_noc: interconnect@1740000 {
|
||||
compatible = "qcom,sdm845-mmss-noc";
|
||||
reg = <0x01740000 0x1c1000>;
|
||||
interconnect-cells = <1>;
|
||||
qcom,bcm-voter-names = "apps_rsc", "disp_rsc";
|
||||
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue