~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interconnect/qcom,sm8450-rpmh.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/interconnect/qcom,sm8450-rpmh.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm RPMh Network-On-Chip Interconnect on SM8450
  8 
  9 maintainers:
 10   - Bjorn Andersson <andersson@kernel.org>
 11   - Konrad Dybcio <konradybcio@kernel.org>
 12 
 13 description: |
 14   RPMh interconnect providers support system bandwidth requirements through
 15   RPMh hardware accelerators known as Bus Clock Manager (BCM).
 16 
 17   See also:: include/dt-bindings/interconnect/qcom,sm8450.h
 18 
 19 properties:
 20   compatible:
 21     enum:
 22       - qcom,sm8450-aggre1-noc
 23       - qcom,sm8450-aggre2-noc
 24       - qcom,sm8450-clk-virt
 25       - qcom,sm8450-config-noc
 26       - qcom,sm8450-gem-noc
 27       - qcom,sm8450-lpass-ag-noc
 28       - qcom,sm8450-mc-virt
 29       - qcom,sm8450-mmss-noc
 30       - qcom,sm8450-nsp-noc
 31       - qcom,sm8450-pcie-anoc
 32       - qcom,sm8450-system-noc
 33 
 34   reg:
 35     maxItems: 1
 36 
 37   clocks:
 38     minItems: 1
 39     maxItems: 4
 40 
 41 required:
 42   - compatible
 43 
 44 allOf:
 45   - $ref: qcom,rpmh-common.yaml#
 46   - if:
 47       properties:
 48         compatible:
 49           contains:
 50             enum:
 51               - qcom,sm8450-clk-virt
 52               - qcom,sm8450-mc-virt
 53     then:
 54       properties:
 55         reg: false
 56     else:
 57       required:
 58         - reg
 59 
 60   - if:
 61       properties:
 62         compatible:
 63           contains:
 64             enum:
 65               - qcom,sm8450-aggre1-noc
 66     then:
 67       properties:
 68         clocks:
 69           items:
 70             - description: aggre UFS PHY AXI clock
 71             - description: aggre USB3 PRIM AXI clock
 72 
 73   - if:
 74       properties:
 75         compatible:
 76           contains:
 77             enum:
 78               - qcom,sm8450-aggre2-noc
 79     then:
 80       properties:
 81         clocks:
 82           items:
 83             - description: aggre-NOC PCIe 0 AXI clock
 84             - description: aggre-NOC PCIe 1 AXI clock
 85             - description: aggre UFS PHY AXI clock
 86             - description: RPMH CC IPA clock
 87 
 88   - if:
 89       properties:
 90         compatible:
 91           contains:
 92             enum:
 93               - qcom,sm8450-aggre1-noc
 94               - qcom,sm8450-aggre2-noc
 95     then:
 96       required:
 97         - clocks
 98     else:
 99       properties:
100         clocks: false
101 
102 unevaluatedProperties: false
103 
104 examples:
105   - |
106     #include <dt-bindings/clock/qcom,gcc-sm8450.h>
107     #include <dt-bindings/clock/qcom,rpmh.h>
108 
109     interconnect-0 {
110         compatible = "qcom,sm8450-clk-virt";
111         #interconnect-cells = <2>;
112         qcom,bcm-voters = <&apps_bcm_voter>;
113     };
114 
115     interconnect@1700000 {
116         compatible = "qcom,sm8450-aggre2-noc";
117         reg = <0x01700000 0x31080>;
118         #interconnect-cells = <2>;
119         qcom,bcm-voters = <&apps_bcm_voter>;
120         clocks = <&gcc GCC_AGGRE_NOC_PCIE_0_AXI_CLK>,
121                  <&gcc GCC_AGGRE_NOC_PCIE_1_AXI_CLK>,
122                  <&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
123                  <&rpmhcc RPMH_IPA_CLK>;
124     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php