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

dt-bindings: interconnect: single yaml file for RPM interconnect drivers

MSM8916 and QCS404 bindings are almost identical, so combine them into one.
This will make it easier to add interconnect bindings for more SoC with RPM.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201204075345.5161-4-jun.nie@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

authored by

Jun Nie and committed by
Georgi Djakov
4187f9c1 dfbd988f

+11 -84
+11 -7
Documentation/devicetree/bindings/interconnect/qcom,msm8916.yaml Documentation/devicetree/bindings/interconnect/qcom,rpm.yaml
··· 1 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 2 %YAML 1.2 3 3 --- 4 - $id: http://devicetree.org/schemas/interconnect/qcom,msm8916.yaml# 4 + $id: http://devicetree.org/schemas/interconnect/qcom,rpm.yaml# 5 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 - title: Qualcomm MSM8916 Network-On-Chip interconnect 7 + title: Qualcomm RPM Network-On-Chip Interconnect 8 8 9 9 maintainers: 10 10 - Georgi Djakov <georgi.djakov@linaro.org> 11 11 12 12 description: | 13 - The Qualcomm MSM8916 interconnect providers support adjusting the 14 - bandwidth requirements between the various NoC fabrics. 13 + RPM interconnect providers support system bandwidth requirements through 14 + RPM processor. The provider is able to communicate with the RPM through 15 + the RPM shared memory device. 15 16 16 17 properties: 18 + reg: 19 + maxItems: 1 20 + 17 21 compatible: 18 22 enum: 19 23 - qcom,msm8916-bimc 20 24 - qcom,msm8916-pcnoc 21 25 - qcom,msm8916-snoc 22 - 23 - reg: 24 - maxItems: 1 26 + - qcom,qcs404-bimc 27 + - qcom,qcs404-pcnoc 28 + - qcom,qcs404-snoc 25 29 26 30 '#interconnect-cells': 27 31 const: 1
-77
Documentation/devicetree/bindings/interconnect/qcom,qcs404.yaml
··· 1 - # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 - %YAML 1.2 3 - --- 4 - $id: http://devicetree.org/schemas/interconnect/qcom,qcs404.yaml# 5 - $schema: http://devicetree.org/meta-schemas/core.yaml# 6 - 7 - title: Qualcomm QCS404 Network-On-Chip interconnect 8 - 9 - maintainers: 10 - - Georgi Djakov <georgi.djakov@linaro.org> 11 - 12 - description: | 13 - The Qualcomm QCS404 interconnect providers support adjusting the 14 - bandwidth requirements between the various NoC fabrics. 15 - 16 - properties: 17 - reg: 18 - maxItems: 1 19 - 20 - compatible: 21 - enum: 22 - - qcom,qcs404-bimc 23 - - qcom,qcs404-pcnoc 24 - - qcom,qcs404-snoc 25 - 26 - '#interconnect-cells': 27 - const: 1 28 - 29 - clock-names: 30 - items: 31 - - const: bus 32 - - const: bus_a 33 - 34 - clocks: 35 - items: 36 - - description: Bus Clock 37 - - description: Bus A Clock 38 - 39 - required: 40 - - compatible 41 - - reg 42 - - '#interconnect-cells' 43 - - clock-names 44 - - clocks 45 - 46 - additionalProperties: false 47 - 48 - examples: 49 - - | 50 - #include <dt-bindings/clock/qcom,rpmcc.h> 51 - 52 - bimc: interconnect@400000 { 53 - reg = <0x00400000 0x80000>; 54 - compatible = "qcom,qcs404-bimc"; 55 - #interconnect-cells = <1>; 56 - clock-names = "bus", "bus_a"; 57 - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, 58 - <&rpmcc RPM_SMD_BIMC_A_CLK>; 59 - }; 60 - 61 - pnoc: interconnect@500000 { 62 - reg = <0x00500000 0x15080>; 63 - compatible = "qcom,qcs404-pcnoc"; 64 - #interconnect-cells = <1>; 65 - clock-names = "bus", "bus_a"; 66 - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, 67 - <&rpmcc RPM_SMD_PNOC_A_CLK>; 68 - }; 69 - 70 - snoc: interconnect@580000 { 71 - reg = <0x00580000 0x23080>; 72 - compatible = "qcom,qcs404-snoc"; 73 - #interconnect-cells = <1>; 74 - clock-names = "bus", "bus_a"; 75 - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, 76 - <&rpmcc RPM_SMD_SNOC_A_CLK>; 77 - };