Skip to contentSkip to conversation

devfreq: event: Add documentation for exynos-ppmu devfreq-event driver

PATCH MyungJoo Ham 2 participants 2 messages Jan 12, 2015 Arm Samsung Exynos

lore
Share & tools
lore
#0 lore raw

I have rephrased part of the documentation for better readability. Some semantics is guessed so you may need to re-rephrase.

Other than that, Acked-by: MyungJoo Ham <[email protected]>

Quoted 17 lines

This patch adds the documentation for Exynos PPMU (Platform Performance
Monitoring Unit) devfreq-event driver.

Cc MyungJoo Ham <[email protected]>
Cc Kyungmin Park <[email protected]>
---
 .../bindings/devfreq/event/exynos-ppmu.txt         | 110 +++++++++++++++++++++
 1 file changed, 110 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +0 -0
new file mode 100644
index 0000000..e665d30

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 4

Quoted 4 lines
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +4 -0
@@ -0,0 +1,110 @@
+
+* Samsung Exynos PPMU (Performance Profiling Monitoring Unit) device
+
+The Samsung Exynos SoC have PPMU (Performance Profiling Monitoring Unit) for

The Samsung Exynos SoC has PPMU (Performance Profiling Monitoring Unit) for (have->has)

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 5

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+each IPs. PPMU provides the primitive values to get performance data. These

each IP. PPMU provides primitive values to get performance data. (IPs->IP)

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 6

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+events provide useful information about the behavior of the SoC that you can

PPMU events provide information of the SoC's behaviors so that you may

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 7

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+use when analyzing system performance, and made visible and can be counted

use to analyze system performance, to make behaviors visible, and to count

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 8

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+using login in each IP (DMC, CPU, RIGHTBUS, LEFTBUS, CAM interface, LCD, G3D,

usages of each IP ( .... )

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 9

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+MFC). The Exynos PPMU driver use the devfreq-event class to provide event data

use -> uses

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 10

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+to various devfreq device. The devfreq device would use the event data when

device -> devices

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 21

Quoted 11 lines
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +11 -0
+derterming the current state of each IP.
+
+Required properties:
+- compatible: Should be "samsung,exynos-ppmu".
+- reg: physical base address of each PPMU and length of memory mapped region.
+
+Optional properties:
+- clock-names : the name of clock used by the PPMU, "ppmu"
+- clocks : phandles for clock specified in "clock-names" property
+- #clock-cells: should be 1.
+

[]

#1 lore raw

Dear Myungjoo,

Quoted 5 lines · MyungJoo Ham

I have rephrased part of the documentation for better readability. Some semantics is guessed so you may need to re-rephrase.

Other than that, Acked-by: MyungJoo Ham <[email protected]>

OK, I'll fix them according to your below comment.

Best Regards,
Chanwoo Choi

Quoted 66 lines
Quoted 19 lines

This patch adds the documentation for Exynos PPMU (Platform Performance
Monitoring Unit) devfreq-event driver.

Cc MyungJoo Ham <[email protected]>
Cc Kyungmin Park <[email protected]>
---
 .../bindings/devfreq/event/exynos-ppmu.txt         | 110 +++++++++++++++++++++
 1 file changed, 110 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +0 -0
new file mode 100644
index 0000000..e665d30

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 4

Quoted 4 lines
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +4 -0
@@ -0,0 +1,110 @@
+
+* Samsung Exynos PPMU (Performance Profiling Monitoring Unit) device
+
+The Samsung Exynos SoC have PPMU (Performance Profiling Monitoring Unit) for

The Samsung Exynos SoC has PPMU (Performance Profiling Monitoring Unit) for (have->has)

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 5

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+each IPs. PPMU provides the primitive values to get performance data. These

each IP. PPMU provides primitive values to get performance data. (IPs->IP)

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 6

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+events provide useful information about the behavior of the SoC that you can

PPMU events provide information of the SoC's behaviors so that you may

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 7

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+use when analyzing system performance, and made visible and can be counted

use to analyze system performance, to make behaviors visible, and to count

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 8

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+using login in each IP (DMC, CPU, RIGHTBUS, LEFTBUS, CAM interface, LCD, G3D,

usages of each IP ( .... )

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 9

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+MFC). The Exynos PPMU driver use the devfreq-event class to provide event data

use -> uses

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 10

Quoted 1 line
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +1 -0
+to various devfreq device. The devfreq device would use the event data when

device -> devices

Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt line 21

Quoted 11 lines
Documentation/devicetree/bindings/devfreq/event/exynos-ppmu.txt new file +11 -0
+derterming the current state of each IP.
+
+Required properties:
+- compatible: Should be "samsung,exynos-ppmu".
+- reg: physical base address of each PPMU and length of memory mapped region.
+
+Optional properties:
+- clock-names : the name of clock used by the PPMU, "ppmu"
+- clocks : phandles for clock specified in "clock-names" property
+- #clock-cells: should be 1.
+

[]