[PATCH v5 0/3] Add support for Tegra Activity Monitor

From: Tomeu Vizoso
Date: Tue Dec 16 2014 - 03:42:06 EST


Hello,

this v5 addresses a few comments from Alexandre:

* Clarify the units of avg_dependency_threshold
* Remove unused references to platform_device
* Enable and disable interrupts on governor events
* Make sure we handle all interrupts for any of the devices we are sampling
* Move locking to be per-actmon-device

These patches implement support for setting the rate of the EMC clock based on
stats collected from the ACTMON, a piece of hw in the Tegra124 that counts
memory accesses (among others).

It depends on the following in-flight patches:

* EMC driver: http://thread.gmane.org/gmane.linux.drivers.devicetree/99304
* CPUFreq driver: http://thread.gmane.org/gmane.linux.kernel/1812962

I have pushed a branch here for testing:

http://cgit.collabora.com/git/user/tomeu/linux.git/log/?h=actmon-v5

Regards,

Tomeu

Tomeu Vizoso (3):
of: Add binding for NVIDIA Tegra ACTMON node
PM / devfreq: tegra: add devfreq driver for Tegra Activity Monitor
ARM: tegra: Add Tegra124 ACTMON support

.../devicetree/bindings/arm/tegra/actmon.txt | 38 +
arch/arm/boot/dts/tegra124.dtsi | 23 +
drivers/devfreq/Kconfig | 9 +
drivers/devfreq/Makefile | 1 +
drivers/devfreq/tegra-actmon-devfreq.c | 767 +++++++++++++++++++++
5 files changed, 838 insertions(+)
create mode 100644 Documentation/devicetree/bindings/arm/tegra/actmon.txt
create mode 100644 drivers/devfreq/tegra-actmon-devfreq.c

--
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/