Skip to content

Commit 6f690e1

Browse files
David DaiGeorgi Djakov
authored andcommitted
dt-bindings: interconnect: Update Qualcomm SDM845 DT bindings
Redefine the Network-on-Chip devices to more accurately describe the interconnect topology on Qualcomm's SDM845 platform. Each interconnect device can communicate with different instances of the RPMh hardware which are described as RSCs(Resource State Coordinators). Signed-off-by: David Dai <[email protected]> Signed-off-by: Odelu Kukatla <[email protected]> Signed-off-by: Sibi Sankar <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent c92cf0b commit 6f690e1

File tree

1 file changed

+40
-9
lines changed

1 file changed

+40
-9
lines changed

Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,62 @@ description: |
1313
SDM845 interconnect providers support system bandwidth requirements through
1414
RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
1515
able to communicate with the BCM through the Resource State Coordinator (RSC)
16-
associated with each execution environment. Provider nodes must reside within
17-
an RPMh device node pertaining to their RSC and each provider maps to a
18-
single RPMh resource.
16+
associated with each execution environment. Provider nodes must point to at
17+
least one RPMh device child node pertaining to their RSC and each provider
18+
can map to multiple RPMh resources.
1919
2020
properties:
21+
reg:
22+
maxItems: 1
23+
2124
compatible:
2225
enum:
23-
- qcom,sdm845-rsc-hlos
26+
- qcom,sdm845-aggre1-noc
27+
- qcom,sdm845-aggre2-noc
28+
- qcom,sdm845-config-noc
29+
- qcom,sdm845-dc-noc
30+
- qcom,sdm845-gladiator-noc
31+
- qcom,sdm845-mem-noc
32+
- qcom,sdm845-mmss-noc
33+
- qcom,sdm845-system-noc
2434

2535
'#interconnect-cells':
2636
const: 1
2737

38+
qcom,bcm-voters:
39+
$ref: /schemas/types.yaml#/definitions/phandle-array
40+
description: |
41+
List of phandles to qcom,bcm-voter nodes that are required by
42+
this interconnect to send RPMh commands.
43+
44+
qcom,bcm-voter-names:
45+
$ref: /schemas/types.yaml#/definitions/string-array
46+
description: |
47+
Names for each of the qcom,bcm-voters specified.
48+
2849
required:
2950
- compatible
51+
- reg
3052
- '#interconnect-cells'
53+
- qcom,bcm-voters
3154

3255
additionalProperties: false
3356

3457
examples:
3558
- |
3659
#include <dt-bindings/interconnect/qcom,sdm845.h>
3760
38-
apps_rsc: rsc {
39-
rsc_hlos: interconnect {
40-
compatible = "qcom,sdm845-rsc-hlos";
41-
#interconnect-cells = <1>;
42-
};
61+
mem_noc: interconnect@1380000 {
62+
compatible = "qcom,sdm845-mem-noc";
63+
reg = <0 0x01380000 0 0x27200>;
64+
#interconnect-cells = <1>;
65+
qcom,bcm-voters = <&apps_bcm_voter>;
66+
};
67+
68+
mmss_noc: interconnect@1740000 {
69+
compatible = "qcom,sdm845-mmss-noc";
70+
reg = <0 0x01740000 0 0x1c1000>;
71+
#interconnect-cells = <1>;
72+
qcom,bcm-voter-names = "apps", "disp";
73+
qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>;
4374
};

0 commit comments

Comments
 (0)