ARM: tegra: clock: Support variable iso share with emc usage
authorAlex Frid <afrid@nvidia.com>
Tue, 26 Mar 2013 05:30:32 +0000 (22:30 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:07:49 +0000 (13:07 -0700)
commit30132f45ac1e21ce339119c6670a6f155b4fde3d
treeef365a16424591afaee46dc32afd2de275fcff0c
parentcf667e497194bb7e1202c9417ac89ec98136b939
ARM: tegra: clock: Support variable iso share with emc usage

Added mechanism to determine maximum allowed iso bandwidth share
depending on emc usage. Each use case is identified by a combination
of shared emc user clocks turned on. The list of use cases and the
respective iso share percentage is to be provided by chip specific
tables.

This commit only added variable iso share APIs and emc shared users
enumeration. No platform specific tables are specified, and APIs are
not used.

Bug 1253271

Change-Id: If08ce2c0e180de600ccb28b91381066543659180
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/212911
(cherry-picked from commit 5e971cd9a173d6418287e091275c8357bd169dd0)
Reviewed-on: http://git-master/r/217117
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/clock.h
arch/arm/mach-tegra/tegra_emc.c [new file with mode: 0644]
arch/arm/mach-tegra/tegra_emc.h