diff options
author | Alex Frid <afrid@nvidia.com> | 2011-01-16 21:25:14 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:41:56 -0800 |
commit | 8a532d787ba1720b52e0590aee72508699f7eb65 (patch) | |
tree | 3d3c87f747fa0b6fdd4071014b6f7b2030077593 /arch/arm/mach-tegra/clock.h | |
parent | 96133b6042b7418074cdf14a647937f4b28a1548 (diff) |
ARM: tegra: clock: Adjust max rates to match SKU ID
Adjust max rates for CPU and several SKU-dependent core clocks
(system bus, AVP, VDE, 3D) to match chip SKU ID. Added max_rate
node to debugfs.
Original-Change-Id: Ifd72d45a303b3d8b5ae5f327693bb97c8510031d
Reviewed-on: http://git-master/r/16077
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R7aa44477fd12c9d046baf7ecb8e5e2fcb71818d7
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r-- | arch/arm/mach-tegra/clock.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.h b/arch/arm/mach-tegra/clock.h index d997f8bf27e4..fed02b294ae0 100644 --- a/arch/arm/mach-tegra/clock.h +++ b/arch/arm/mach-tegra/clock.h @@ -42,6 +42,8 @@ #define PLLU (1 << 14) #define ENABLE_ON_INIT (1 << 28) +#define MAX_SAME_LIMIT_SKU_IDS 16 + struct clk; struct clk_mux_sel { @@ -151,6 +153,12 @@ struct tegra_clk_init_table { bool enabled; }; +struct tegra_sku_rate_limit { + const char *clk_name; + unsigned long max_rate; + int sku_ids[MAX_SAME_LIMIT_SKU_IDS]; +}; + void tegra2_init_clocks(void); void tegra2_periph_reset_deassert(struct clk *c); void tegra2_periph_reset_assert(struct clk *c); |