]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
EDP: introduce revised system-EDP framework
authorTimo Alho <talho@nvidia.com>
Fri, 25 Oct 2013 20:49:49 +0000 (23:49 +0300)
committerJuha Tukkinen <jtukkinen@nvidia.com>
Mon, 28 Oct 2013 14:46:53 +0000 (07:46 -0700)
commit7f54fbd16212785b346ad959364c674f26deaece
tree7f681602d3d59e62193172b34ae175cf18587128
parent2f86343c877ef70ffa0a58e3fd90e3f0b8add83c
EDP: introduce revised system-EDP framework

This patch introduces a revised system-EDP software
framework. Framework consist of following components:
 * sysedp - central component handling of the book keeping of consumer
   power consumptions
 * sysedp_batmon - periodically monitors the state of battery and
   updates the available budget (in mW) to sysedp framework
 * sysedp_dynamic_capping - limits the CPU, GPU, and EMC frequencies
   to ensure that system will operate in the given budget.
 * sysedp_consumer - A device in the platform that has noticeable peak
   power consumption is called sysedp consumer. Consumers register
   themselves to the sysedp framework and inform sysedp when there is
   a change in their power state

Change-Id: I343d8f09082216744da41abe5e749b15cb20417a
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/304006
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
12 files changed:
drivers/Makefile
drivers/edp/Kconfig
drivers/edp/Makefile
drivers/edp/sysedp.c [new file with mode: 0644]
drivers/edp/sysedp_batmon_calc.c [new file with mode: 0644]
drivers/edp/sysedp_debug.c [new file with mode: 0644]
drivers/edp/sysedp_dynamic_capping.c [new file with mode: 0644]
drivers/edp/sysedp_internal.h [new file with mode: 0644]
drivers/edp/sysedp_sysfs.c [new file with mode: 0644]
include/linux/platform_data/tegra_edp.h
include/linux/sysedp.h [new file with mode: 0644]
include/trace/events/sysedp.h [new file with mode: 0644]