ARM: tegra: dvfs: Update rail statistic
authorBhanu Chetlapalli <bchetlapalli@nvidia.com>
Sat, 20 Oct 2012 06:04:29 +0000 (23:04 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:22:15 +0000 (13:22 -0700)
commit6f52707194ab578598d4f2951bb9e750798fe7f7
tree767fbc38f5c0f0e186ed8bd69eab8467e54337de
parent7af23bbd1f8c5d1bac934e3f8d2b309f2f79873b
ARM: tegra: dvfs: Update rail statistic

Picked from tegra11 & applied to tegra12
Original Commit: 052bffe3f75579fe309d96d1ccc805110a2328e3

- Replaced fixed rail bins with per-rail-per-platform bins (by
default use backward compatible 12.5mV bin)
- On Tegra11 set bins for all rails on cvb alignment boundary (10mV)
- Increased maximum number of bins to 50
- Fixed rail voltage report in dfll mode: compensate 1mV adjustment
used in this mode to force voltage update

Signed-off-by: Bhanu Chetlapalli <bchetlapalli@nvidia.com>
Change-Id: I391e93b3b4d9aa97ea0b2e1ccde50fb08788969d
Reviewed-on: http://git-master/r/193146
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
arch/arm/mach-tegra/tegra12_dvfs.c