diff options
author | Tom Warren <twarren.nvidia@gmail.com> | 2012-12-11 13:34:12 +0000 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2013-01-16 13:40:07 -0700 |
commit | dc89ad1438cd8aa8b2cf508b5e839903fe1231a5 (patch) | |
tree | 2ea71bbcd2d459a2f56830fd714d074fdbaa1882 /arch/arm/include/asm/arch-tegra/tegra.h | |
parent | 6eb320315ca69f4819116c962887a810632aeca1 (diff) |
Tegra30: Add arch-tegra30 include files
Common Tegra files are in arch-tegra, shared between T20 and T30.
Tegra30-specific headers are in arch-tegra30. Note that some of
these will be filled in as more T30 support is added (drivers,
WB/LP0 support, etc.). A couple of Tegra20 files were changed
to support common headers in arch-tegra, also.
Signed-off-by: Tom Warren <twarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/arch-tegra/tegra.h')
-rw-r--r-- | arch/arm/include/asm/arch-tegra/tegra.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-tegra/tegra.h b/arch/arm/include/asm/arch-tegra/tegra.h index 6d2e62f559..953936c083 100644 --- a/arch/arm/include/asm/arch-tegra/tegra.h +++ b/arch/arm/include/asm/arch-tegra/tegra.h @@ -72,14 +72,22 @@ enum { SKU_ID_T25 = 0x18, SKU_ID_AP25E = 0x1b, SKU_ID_T25E = 0x1c, + SKU_ID_T30 = 0x81, /* Cardhu value */ }; -/* These are the SOC categories that affect clocking */ +/* + * These are used to distinguish SOC types for setting up clocks. Mostly + * we can tell the clocking required by looking at the SOC sku_id, but + * for T30 it is a user option as to whether to run PLLP in fast or slow + * mode, so we have two options there. + */ enum { TEGRA_SOC_T20, TEGRA_SOC_T25, + TEGRA_SOC_T30, + TEGRA_SOC2_SLOW, /* T2x needs to run at slow clock initially */ - TEGRA_SOC_COUNT, + TEGRA_SOC_CNT, TEGRA_SOC_UNKNOWN = -1, }; |