summaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorLukasz Luba <l.luba@partner.samsung.com>2019-06-14 11:53:05 +0200
committerMyungJoo Ham <myungjoo.ham@samsung.com>2019-08-24 13:11:12 +0200
commit5f8669639f3ec6723ebebd83aaccfbea4b5c362b (patch)
tree4fa0ffdb252864a221d6c6e276270ce5b6f2a116 /drivers/devfreq
parentPM / devfreq: Fix kernel oops on governor module load (diff)
downloadlinux-5f8669639f3ec6723ebebd83aaccfbea4b5c362b.tar.xz
linux-5f8669639f3ec6723ebebd83aaccfbea4b5c362b.zip
PM / devfreq: events: add Exynos PPMU new events
Define new performance events supported by Exynos5422 SoC counters. The counters are built-in in Dynamic Memory Controller and provide information regarding memory utilization. Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/event/exynos-ppmu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c
index 3ee3dd5653aa..aae1fd6c91f7 100644
--- a/drivers/devfreq/event/exynos-ppmu.c
+++ b/drivers/devfreq/event/exynos-ppmu.c
@@ -86,6 +86,12 @@ static struct __exynos_ppmu_events {
PPMU_EVENT(d1-cpu),
PPMU_EVENT(d1-general),
PPMU_EVENT(d1-rt),
+
+ /* For Exynos5422 SoC */
+ PPMU_EVENT(dmc0_0),
+ PPMU_EVENT(dmc0_1),
+ PPMU_EVENT(dmc1_0),
+ PPMU_EVENT(dmc1_1),
};
static int exynos_ppmu_find_ppmu_id(struct devfreq_event_dev *edev)