]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
tegra: clocks: Parse dfll_boot_khz kernel cmd
authorsreenivasulu velpula <svelpula@nvidia.com>
Wed, 26 Nov 2014 18:28:58 +0000 (23:58 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 18 Mar 2015 18:52:24 +0000 (11:52 -0700)
commitb96a43c8a464c9279c5d952568be5637ee498bd7
tree186c38fc1279190419007483c9bd3edcd57a8e8d
parent57603dea8db13dc4e155a57e921596b40d1d42af
tegra: clocks: Parse dfll_boot_khz kernel cmd

1.
Parse dfll_boot_khz kernel command line parameter
in early init to initialize dfll frequency clock
rate varaible.

This is required to make sure that SW clock rate
variable to be in sync with HW dfll freq rate and
for not to have sw cpu feq as zero.

With this change, below issue won't occur:

In a Virtual guest platform, where kernel is
not required to do any clock operations on CPU,
existing frequency in cpufreq coming a zero.

2.
Add appropriate check to cl_dvfs APIs for
not to invoke when not initialized

Bug 200052836

Change-Id: Idf102c5f27f9c2c623075c55f01adf2baf7e7c96
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/656289
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
drivers/platform/tegra/tegra12_clocks.c