summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/clock.h')
-rw-r--r--arch/arm/mach-tegra/clock.h8
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);