]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
platform: tegra: emc: Timer update
authorAlex Waterman <alexw@nvidia.com>
Wed, 25 Feb 2015 21:02:48 +0000 (13:02 -0800)
committerLaxman Dewangan <ldewangan@nvidia.com>
Thu, 12 Mar 2015 14:42:25 +0000 (07:42 -0700)
commit9f730281be42daf5f784a6612ba4fda0d092c57b
tree9fd9c34cb0f891cb541449728d6fde75b15dc56a
parent20aeac470f8cefd7b9e2d7bde3cbcb711a685b6f
platform: tegra: emc: Timer update

Several changes:

  1. Fix an annoying bug in the MR4 poll function where a
     warning would get spit if you forced test polling
     before setting the polling test value to something
     meaningful.
  2. Homogenize the timer naming scheme a bit.
  3. Make all of the EMC timers defferable.
  4. Make the timers controllable by both the CDEV and the
     clock change itself (if it so desires).

TODO:

Implement DT field in the EMC DT node to specify whether or
not a frequency based MR4 polling threshold should be used.
This will require a change in the EMC DT tool.

Change-Id: I9ee8926da31e0265a68244131474f43454bd230d
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/711279
Reviewed-by: Robert Shih <rshih@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm/mach-tegra/include/mach/tegra_emc.h
drivers/platform/tegra/include/tegra/tegra21_emc.h
drivers/platform/tegra/mc/tegra21_emc.c
drivers/platform/tegra/mc/tegra_emc_timers.c