-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'icc-sdm670' into icc-next
* icc-sdm670 dt-bindings: interconnect: add sdm670 interconnects interconnect: qcom: add sdm670 interconnects Link: https://lore.kernel.org/r/20230111005155.50452-1-mailingradian@gmail.com Signed-off-by: Georgi Djakov <djakov@kernel.org>
- Loading branch information
Showing
11 changed files
with
970 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
Documentation/devicetree/bindings/interconnect/qcom,sc7280-rpmh.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interconnect/qcom,sc7280-rpmh.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm RPMh Network-On-Chip Interconnect on SC7280 | ||
|
||
maintainers: | ||
- Bjorn Andersson <andersson@kernel.org> | ||
- Konrad Dybcio <konrad.dybcio@linaro.org> | ||
|
||
description: | | ||
RPMh interconnect providers support system bandwidth requirements through | ||
RPMh hardware accelerators known as Bus Clock Manager (BCM). | ||
See also:: include/dt-bindings/interconnect/qcom,sc7280.h | ||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sc7280-aggre1-noc | ||
- qcom,sc7280-aggre2-noc | ||
- qcom,sc7280-clk-virt | ||
- qcom,sc7280-cnoc2 | ||
- qcom,sc7280-cnoc3 | ||
- qcom,sc7280-dc-noc | ||
- qcom,sc7280-gem-noc | ||
- qcom,sc7280-lpass-ag-noc | ||
- qcom,sc7280-mc-virt | ||
- qcom,sc7280-mmss-noc | ||
- qcom,sc7280-nsp-noc | ||
- qcom,sc7280-system-noc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
|
||
allOf: | ||
- $ref: qcom,rpmh-common.yaml# | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,sc7280-clk-virt | ||
then: | ||
properties: | ||
reg: false | ||
else: | ||
required: | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
interconnect { | ||
compatible = "qcom,sc7280-clk-virt"; | ||
#interconnect-cells = <2>; | ||
qcom,bcm-voters = <&apps_bcm_voter>; | ||
}; | ||
interconnect@9100000 { | ||
reg = <0x9100000 0xe2200>; | ||
compatible = "qcom,sc7280-gem-noc"; | ||
#interconnect-cells = <2>; | ||
qcom,bcm-voters = <&apps_bcm_voter>; | ||
}; |
49 changes: 49 additions & 0 deletions
49
Documentation/devicetree/bindings/interconnect/qcom,sc8280xp-rpmh.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interconnect/qcom,sc8280xp-rpmh.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm RPMh Network-On-Chip Interconnect on SC8280XP | ||
|
||
maintainers: | ||
- Bjorn Andersson <andersson@kernel.org> | ||
- Konrad Dybcio <konrad.dybcio@linaro.org> | ||
|
||
description: | | ||
RPMh interconnect providers support system bandwidth requirements through | ||
RPMh hardware accelerators known as Bus Clock Manager (BCM). | ||
See also:: include/dt-bindings/interconnect/qcom,sc8280xp.h | ||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sc8280xp-aggre1-noc | ||
- qcom,sc8280xp-aggre2-noc | ||
- qcom,sc8280xp-clk-virt | ||
- qcom,sc8280xp-config-noc | ||
- qcom,sc8280xp-dc-noc | ||
- qcom,sc8280xp-gem-noc | ||
- qcom,sc8280xp-lpass-ag-noc | ||
- qcom,sc8280xp-mc-virt | ||
- qcom,sc8280xp-mmss-noc | ||
- qcom,sc8280xp-nspa-noc | ||
- qcom,sc8280xp-nspb-noc | ||
- qcom,sc8280xp-system-noc | ||
|
||
required: | ||
- compatible | ||
|
||
allOf: | ||
- $ref: qcom,rpmh-common.yaml# | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
interconnect-0 { | ||
compatible = "qcom,sc8280xp-aggre1-noc"; | ||
#interconnect-cells = <2>; | ||
qcom,bcm-voters = <&apps_bcm_voter>; | ||
}; |
124 changes: 124 additions & 0 deletions
124
Documentation/devicetree/bindings/interconnect/qcom,sm8450-rpmh.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interconnect/qcom,sm8450-rpmh.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm RPMh Network-On-Chip Interconnect on SM8450 | ||
|
||
maintainers: | ||
- Bjorn Andersson <andersson@kernel.org> | ||
- Konrad Dybcio <konrad.dybcio@linaro.org> | ||
|
||
description: | | ||
RPMh interconnect providers support system bandwidth requirements through | ||
RPMh hardware accelerators known as Bus Clock Manager (BCM). | ||
See also:: include/dt-bindings/interconnect/qcom,sm8450.h | ||
properties: | ||
compatible: | ||
enum: | ||
- qcom,sm8450-aggre1-noc | ||
- qcom,sm8450-aggre2-noc | ||
- qcom,sm8450-clk-virt | ||
- qcom,sm8450-config-noc | ||
- qcom,sm8450-gem-noc | ||
- qcom,sm8450-lpass-ag-noc | ||
- qcom,sm8450-mc-virt | ||
- qcom,sm8450-mmss-noc | ||
- qcom,sm8450-nsp-noc | ||
- qcom,sm8450-pcie-anoc | ||
- qcom,sm8450-system-noc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
minItems: 1 | ||
maxItems: 4 | ||
|
||
required: | ||
- compatible | ||
|
||
allOf: | ||
- $ref: qcom,rpmh-common.yaml# | ||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,sm8450-clk-virt | ||
- qcom,sm8450-mc-virt | ||
then: | ||
properties: | ||
reg: false | ||
else: | ||
required: | ||
- reg | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,sm8450-aggre1-noc | ||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: aggre UFS PHY AXI clock | ||
- description: aggre USB3 PRIM AXI clock | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,sm8450-aggre2-noc | ||
then: | ||
properties: | ||
clocks: | ||
items: | ||
- description: aggre-NOC PCIe 0 AXI clock | ||
- description: aggre-NOC PCIe 1 AXI clock | ||
- description: aggre UFS PHY AXI clock | ||
- description: RPMH CC IPA clock | ||
|
||
- if: | ||
properties: | ||
compatible: | ||
contains: | ||
enum: | ||
- qcom,sm8450-aggre1-noc | ||
- qcom,sm8450-aggre2-noc | ||
then: | ||
required: | ||
- clocks | ||
else: | ||
properties: | ||
clocks: false | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/qcom,gcc-sm8450.h> | ||
#include <dt-bindings/clock/qcom,rpmh.h> | ||
interconnect-0 { | ||
compatible = "qcom,sm8450-clk-virt"; | ||
#interconnect-cells = <2>; | ||
qcom,bcm-voters = <&apps_bcm_voter>; | ||
}; | ||
interconnect@1700000 { | ||
compatible = "qcom,sm8450-aggre2-noc"; | ||
reg = <0x01700000 0x31080>; | ||
#interconnect-cells = <2>; | ||
qcom,bcm-voters = <&apps_bcm_voter>; | ||
clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>, | ||
<&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>, | ||
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>, | ||
<&rpmhcc RPMH_IPA_CLK>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.