arm: tegra: power: Add debugfs entry for CPU regulator limit
authorDaniel Solomon <daniels@nvidia.com>
Tue, 24 Jul 2012 22:02:03 +0000 (15:02 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:14:53 +0000 (12:14 -0700)
commite36fa1d3027279396ea953407f34e4675c8f42e2
tree39a57aaea448b00f00929be881dc0a1721b5c087
parent70cd1fcde3d6b8a1b1b608b1d247ae2d29bfd9bc
arm: tegra: power: Add debugfs entry for CPU regulator limit

Add a debugfs node to override VDD_CPU regulator current limit
at /d/edp_reg_override. Values written to this node will be
subtracted from the regulator's current limit; EDP table will
be recalculated accodingly.

Change-Id: I523fa73bf5a8fa806477f4884e920b5866417cf3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/118815
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R91e8e4722dfc06a003c3730e9a5a4a20d29a52e5
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/edp.c