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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.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,msm8998-bwmon.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Qualcomm Interconnect Bandwidth Monitor
  8 
  9 maintainers:
 10   - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
 11 
 12 description: |
 13   Bandwidth Monitor measures current throughput on buses between various NoC
 14   fabrics and provides information when it crosses configured thresholds.
 15 
 16   Certain SoCs might have more than one Bandwidth Monitors, for example on SDM845::
 17    - Measuring the bandwidth between CPUs and Last Level Cache Controller -
 18      called just BWMON,
 19    - Measuring the bandwidth between Last Level Cache Controller and memory
 20      (DDR) - called LLCC BWMON.
 21 
 22 properties:
 23   compatible:
 24     oneOf:
 25       - const: qcom,msm8998-bwmon       # BWMON v4
 26       - items:
 27           - enum:
 28               - qcom,qcm2290-cpu-bwmon
 29               - qcom,sa8775p-cpu-bwmon
 30               - qcom,sc7180-cpu-bwmon
 31               - qcom,sc7280-cpu-bwmon
 32               - qcom,sc8280xp-cpu-bwmon
 33               - qcom,sdm845-cpu-bwmon
 34               - qcom,sm6115-cpu-bwmon
 35               - qcom,sm6350-llcc-bwmon
 36               - qcom,sm8250-cpu-bwmon
 37               - qcom,sm8550-cpu-bwmon
 38               - qcom,sm8650-cpu-bwmon
 39               - qcom,x1e80100-cpu-bwmon
 40           - const: qcom,sdm845-bwmon    # BWMON v4, unified register space
 41       - items:
 42           - enum:
 43               - qcom,sa8775p-llcc-bwmon
 44               - qcom,sc7180-llcc-bwmon
 45               - qcom,sc8280xp-llcc-bwmon
 46               - qcom,sm6350-cpu-bwmon
 47               - qcom,sm8250-llcc-bwmon
 48               - qcom,sm8550-llcc-bwmon
 49               - qcom,sm8650-llcc-bwmon
 50               - qcom,x1e80100-llcc-bwmon
 51           - const: qcom,sc7280-llcc-bwmon
 52       - const: qcom,sc7280-llcc-bwmon   # BWMON v5
 53       - const: qcom,sdm845-llcc-bwmon   # BWMON v5
 54 
 55   interconnects:
 56     maxItems: 1
 57 
 58   interrupts:
 59     maxItems: 1
 60 
 61   operating-points-v2: true
 62   opp-table:
 63     type: object
 64 
 65   reg:
 66     # BWMON v5 uses one register address space, v1-v4 use one or two.
 67     minItems: 1
 68     maxItems: 2
 69 
 70   reg-names:
 71     minItems: 1
 72     maxItems: 2
 73 
 74 required:
 75   - compatible
 76   - interconnects
 77   - interrupts
 78   - operating-points-v2
 79   - reg
 80 
 81 additionalProperties: false
 82 
 83 allOf:
 84   - if:
 85       properties:
 86         compatible:
 87           const: qcom,msm8998-bwmon
 88     then:
 89       properties:
 90         reg:
 91           minItems: 2
 92 
 93         reg-names:
 94           items:
 95             - const: monitor
 96             - const: global
 97 
 98     else:
 99       properties:
100         reg:
101           maxItems: 1
102 
103         reg-names:
104           maxItems: 1
105 
106 examples:
107   - |
108     #include <dt-bindings/interconnect/qcom,sdm845.h>
109     #include <dt-bindings/interrupt-controller/arm-gic.h>
110 
111     pmu@1436400 {
112         compatible = "qcom,sdm845-cpu-bwmon", "qcom,sdm845-bwmon";
113         reg = <0x01436400 0x600>;
114         interrupts = <GIC_SPI 581 IRQ_TYPE_LEVEL_HIGH>;
115         interconnects = <&gladiator_noc MASTER_APPSS_PROC 3 &mem_noc SLAVE_LLCC 3>;
116 
117         operating-points-v2 = <&cpu_bwmon_opp_table>;
118 
119         cpu_bwmon_opp_table: opp-table {
120             compatible = "operating-points-v2";
121             opp-0 {
122                 opp-peak-kBps = <4800000>;
123             };
124             opp-1 {
125                 opp-peak-kBps = <9216000>;
126             };
127             opp-2 {
128                 opp-peak-kBps = <15052800>;
129             };
130             opp-3 {
131                 opp-peak-kBps = <20889600>;
132             };
133             opp-4 {
134                 opp-peak-kBps = <25497600>;
135             };
136         };
137     };

~ [ 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