File tree Expand file tree Collapse file tree 2 files changed +55
-0
lines changed
Documentation/devicetree/bindings/perf Expand file tree Collapse file tree 2 files changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2
+ %YAML 1.2
3
+ ---
4
+ $id : http://devicetree.org/schemas/perf/amlogic,g12-ddr-pmu.yaml#
5
+ $schema : http://devicetree.org/meta-schemas/core.yaml#
6
+
7
+ title : Amlogic G12 DDR performance monitor
8
+
9
+ maintainers :
10
+
11
+
12
+ description : |
13
+ Amlogic G12 series SoC integrate DDR bandwidth monitor.
14
+ A timer is inside and can generate interrupt when timeout.
15
+ The bandwidth is counted in the timer ISR. Different platform
16
+ has different subset of event format attribute.
17
+
18
+ properties :
19
+ compatible :
20
+ enum :
21
+ - amlogic,g12a-ddr-pmu
22
+ - amlogic,g12b-ddr-pmu
23
+ - amlogic,sm1-ddr-pmu
24
+
25
+ reg :
26
+ items :
27
+ - description : DMC bandwidth register space.
28
+ - description : DMC PLL register space.
29
+
30
+ interrupts :
31
+ items :
32
+ - description : The IRQ of the inside timer timeout.
33
+
34
+ required :
35
+ - compatible
36
+ - reg
37
+ - interrupts
38
+
39
+ additionalProperties : false
40
+
41
+ examples :
42
+ - |
43
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
44
+ pmu {
45
+ #address-cells=<2>;
46
+ #size-cells=<2>;
47
+
48
+ pmu@ff638000 {
49
+ compatible = "amlogic,g12a-ddr-pmu";
50
+ reg = <0x0 0xff638000 0x0 0x100>,
51
+ <0x0 0xff638c00 0x0 0x100>;
52
+ interrupts = <GIC_SPI 52 IRQ_TYPE_EDGE_RISING>;
53
+ };
54
+ };
Original file line number Diff line number Diff line change 1099
1099
S: Supported
1100
1100
W: http://www.amlogic.com
1101
1101
F: Documentation/admin-guide/perf/meson-ddr-pmu.rst
1102
+ F: Documentation/devicetree/bindings/perf/amlogic,g12-ddr-pmu.yaml
1102
1103
F: drivers/perf/amlogic/
1103
1104
F: include/soc/amlogic/
1104
1105
You can’t perform that action at this time.
0 commit comments