Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <daidavid1@codeaurora.org>
Signed-off-by: Odelu Kukatla <okukatla@codeaurora.org>
Signed-off-by: Sibi Sankar <sibis@codeaurora.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200209183411.17195-4-sibis@codeaurora.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

authored by

David Dai and committed by
Georgi Djakov
6f690e16 c92cf0b4

+40 -9
+40 -9
Documentation/devicetree/bindings/interconnect/qcom,sdm845.yaml
··· 13 13 SDM845 interconnect providers support system bandwidth requirements through 14 14 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is 15 15 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. 19 19 20 20 properties: 21 + reg: 22 + maxItems: 1 23 + 21 24 compatible: 22 25 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 24 34 25 35 '#interconnect-cells': 26 36 const: 1 27 37 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 + 28 49 required: 29 50 - compatible 51 + - reg 30 52 - '#interconnect-cells' 53 + - qcom,bcm-voters 31 54 32 55 additionalProperties: false 33 56 ··· 58 35 - | 59 36 #include <dt-bindings/interconnect/qcom,sdm845.h> 60 37 61 - apps_rsc: rsc { 62 - rsc_hlos: interconnect { 63 - compatible = "qcom,sdm845-rsc-hlos"; 64 - #interconnect-cells = <1>; 65 - }; 38 + mem_noc: interconnect@1380000 { 39 + compatible = "qcom,sdm845-mem-noc"; 40 + reg = <0 0x01380000 0 0x27200>; 41 + #interconnect-cells = <1>; 42 + qcom,bcm-voters = <&apps_bcm_voter>; 43 + }; 44 + 45 + mmss_noc: interconnect@1740000 { 46 + compatible = "qcom,sdm845-mmss-noc"; 47 + reg = <0 0x01740000 0 0x1c1000>; 48 + #interconnect-cells = <1>; 49 + qcom,bcm-voter-names = "apps", "disp"; 50 + qcom,bcm-voters = <&apps_bcm_voter>, <&disp_bcm_voter>; 66 51 };