From mboxrd@z Thu Jan 1 00:00:00 1970 From: pebolle@tiscali.nl (Paul Bolle) Date: Fri, 12 Sep 2014 10:41:14 +0200 Subject: [RFC PATCH 2/5] devfreq: event: Add exynos-ppmu devfreq evnet driver In-Reply-To: <1409891419-28560-3-git-send-email-cw00.choi@samsung.com> References: <1409891419-28560-1-git-send-email-cw00.choi@samsung.com> <1409891419-28560-3-git-send-email-cw00.choi@samsung.com> Message-ID: <1410511274.31130.7.camel@x220> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, 2014-09-05 at 13:30 +0900, Chanwoo Choi wrote: > This patch add exynos-ppmu devfreq event driver to provider raw data about > the utilization of each IP in Exynos SoC series. > > Signed-off-by: Chanwoo Choi > Acked-by: Kyungmin Park > --- > drivers/devfreq/Kconfig | 10 + > drivers/devfreq/event/Makefile | 1 + > drivers/devfreq/event/exynos-ppmu.c | 410 ++++++++++++++++++++++++++++++++++++ > 3 files changed, 421 insertions(+) > create mode 100644 drivers/devfreq/event/exynos-ppmu.c > > diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig > index ef839e7..4fbbcea 100644 > --- a/drivers/devfreq/Kconfig > +++ b/drivers/devfreq/Kconfig > @@ -90,4 +90,14 @@ config ARM_EXYNOS5_BUS_DEVFREQ > > comment "DEVFREQ Event Drivers" > > +config DEVFREQ_EVENT_EXYNOS_PPMU > + bool "EXYNOS PPMU (Performance Profiling Monitoring Unit) DEVFREQ event Driver" > + depends on ARCH_EXYNOS > + select ARCH_HAS_OPP This select statement can be dropped: see commit 78c5e0bb145d ("PM / OPP: Remove ARCH_HAS_OPP"). By the way: there's a typo in the commit summary ("evnet"). > + select PM_OPP > + help > + This add the DEVFREQ event driver for Exynos SoC. It provides PPMU > + (Performance Profiling Monitoring Unit) counters to estimate the > + utilization of each module. > + > endif # PM_DEVFREQ Paul Bolle