]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
clk: tegra: Round up the peak thermal floor voltage
authorJon Hunter <jonathanh@nvidia.com>
Fri, 13 Jan 2017 14:20:17 +0000 (14:20 +0000)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 17 Jan 2017 15:11:45 +0000 (07:11 -0800)
commit92da7e92674aaea31aac29c63af6dd9380ca3831
tree2bca83dfe363d80b605448cfd23de72bd1d9c380
parentdc5f4b1fc8ee111009da4c20e2a70a7bb834d13c
clk: tegra: Round up the peak thermal floor voltage

When comparing the peak thermal floor voltage for the CPU between
Linux v3.10 and v4.4 there is a delta of 7mV (957mV versus 950mv).
This is because the peak thermal floor voltage for CPU in Linux
v4.4 is not rounded up where as it is in Linux v3.10. Align Linux
v4.4 with v3.10 by rounding up the peak thermal floor voltage.

Also given that there is both a tegra_dfll_get_thermal_floor()
and tegra_dfll_get_thermal_floor_mv(), update the name of the
tegra_dfll_get_thermal_floor() to be
tegra_dfll_get_peak_thermal_floor_mv() so it is clear what the
difference is.

Bug 1811732

Change-Id: Icc093e88c1421be2ca55325569187e92ab733259
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/1284920
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
drivers/clk/tegra/clk-dfll.c
drivers/soc/tegra/tegra-dvfs.c
include/soc/tegra/tegra-dfll.h