]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
soc/tegra: dvfs: Add function to predict millivolts at max thermal floor
authorJon Hunter <jonathanh@nvidia.com>
Thu, 5 Jan 2017 10:31:50 +0000 (10:31 +0000)
committermobile promotions <svcmobile_promotions@nvidia.com>
Tue, 10 Jan 2017 11:55:03 +0000 (03:55 -0800)
commit0e1c3cefa6a09a624a5ed3db6aac617c9029a695
tree4e0bed40debd13fad2ec52f8ccb5625d7609746a
parentff50e64794bab565f2c7c64b11885c45af9e5e64
soc/tegra: dvfs: Add function to predict millivolts at max thermal floor

Add helper function tegra_dvfs_predict_mv_at_hz_max_tfloor() to predict
the millivolts for a rail at max thermal floor. This is needed for CPU
EDP.

Bug 1811732

Change-Id: I2d66a3d14776ffd46da962b671e70b0c90fc28b5
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/1281372
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/soc/tegra/tegra-dvfs.c
include/linux/clk/tegra.h
include/soc/tegra/tegra-dvfs.h