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

dt-bindings: interconnect: Convert qcom, qcs404 to DT schema

Convert the qcom,qcs404 interconnect provider binding to DT schema.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Georgi Djakov and committed by
Rob Herring
07e6315e 3d9d8793

+77 -45
-45
Documentation/devicetree/bindings/interconnect/qcom,qcs404.txt
··· 1 - Qualcomm QCS404 Network-On-Chip interconnect driver binding 2 - ----------------------------------------------------------- 3 - 4 - Required properties : 5 - - compatible : shall contain only one of the following: 6 - "qcom,qcs404-bimc" 7 - "qcom,qcs404-pcnoc" 8 - "qcom,qcs404-snoc" 9 - - #interconnect-cells : should contain 1 10 - 11 - reg : specifies the physical base address and size of registers 12 - clocks : list of phandles and specifiers to all interconnect bus clocks 13 - clock-names : clock names should include both "bus" and "bus_a" 14 - 15 - Example: 16 - 17 - soc { 18 - ... 19 - bimc: interconnect@400000 { 20 - reg = <0x00400000 0x80000>; 21 - compatible = "qcom,qcs404-bimc"; 22 - #interconnect-cells = <1>; 23 - clock-names = "bus", "bus_a"; 24 - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, 25 - <&rpmcc RPM_SMD_BIMC_A_CLK>; 26 - }; 27 - 28 - pnoc: interconnect@500000 { 29 - reg = <0x00500000 0x15080>; 30 - compatible = "qcom,qcs404-pcnoc"; 31 - #interconnect-cells = <1>; 32 - clock-names = "bus", "bus_a"; 33 - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, 34 - <&rpmcc RPM_SMD_PNOC_A_CLK>; 35 - }; 36 - 37 - snoc: interconnect@580000 { 38 - reg = <0x00580000 0x23080>; 39 - compatible = "qcom,qcs404-snoc"; 40 - #interconnect-cells = <1>; 41 - clock-names = "bus", "bus_a"; 42 - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, 43 - <&rpmcc RPM_SMD_SNOC_A_CLK>; 44 - }; 45 - };
+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 + };