ARM: tegra11: clock: Update EMC clock change procedure
authorAlex Frid <afrid@nvidia.com>
Thu, 13 Sep 2012 22:53:21 +0000 (15:53 -0700)
committerSimone Willett <swillett@nvidia.com>
Wed, 10 Oct 2012 23:22:29 +0000 (16:22 -0700)
commit17d1ff4a633819ae9ea40682e6f463c3c48656a1
tree0e51f9fb9ed11b80d682fcc56d02c90f90051ec6
parentdee4cbe12d4bb9b6d402f215fd421a41cafdd2ac
ARM: tegra11: clock: Update EMC clock change procedure

Added new fields to EMC timing table:
- registers that are updated before/after clock change if EMC
rate is decreased/increased, respectively
- trimmers that are set differently for EMC channel 0 and 1
- numbers of registers specified for each rate node

Updated nomenclature of individually controlled registers.

Updated clock change procedure accordingly.

Reviewed-on: http://git-master/r/132821
(cherry picked from commit 33c9a8f102baae511308c236277cd1cf90a78549)

Change-Id: I1b8ad8a8b22edfce59590245bb98938f62937797
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/143041
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/tegra11_emc.c
arch/arm/mach-tegra/tegra11_emc.h
include/linux/platform_data/tegra_emc.h