diff options
author | Olof Johansson <olof@lixom.net> | 2012-02-26 17:42:51 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-02-26 17:42:51 -0500 |
commit | 9335e9199bd059fc4f5e4e6fcfb9fca1d482e460 (patch) | |
tree | 7d87fea7f24f3f1d8c2db40bcb8b249c65cf7f9e /arch/arm/mach-tegra/include | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) | |
parent | e186ad74c0941f5caeda28bde76dab903b342c1c (diff) |
Merge branch 'for-3.4/soc' into for-3.4/t30-smp
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/clk.h | 10 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/iomap.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/irqs.h | 7 |
3 files changed, 17 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/include/mach/clk.h b/arch/arm/mach-tegra/include/mach/clk.h index fc3ecb66de08..d97e403303a0 100644 --- a/arch/arm/mach-tegra/include/mach/clk.h +++ b/arch/arm/mach-tegra/include/mach/clk.h | |||
@@ -22,10 +22,20 @@ | |||
22 | 22 | ||
23 | struct clk; | 23 | struct clk; |
24 | 24 | ||
25 | enum tegra_clk_ex_param { | ||
26 | TEGRA_CLK_VI_INP_SEL, | ||
27 | TEGRA_CLK_DTV_INVERT, | ||
28 | TEGRA_CLK_NAND_PAD_DIV2_ENB, | ||
29 | TEGRA_CLK_PLLD_CSI_OUT_ENB, | ||
30 | TEGRA_CLK_PLLD_DSI_OUT_ENB, | ||
31 | TEGRA_CLK_PLLD_MIPI_MUX_SEL, | ||
32 | }; | ||
33 | |||
25 | void tegra_periph_reset_deassert(struct clk *c); | 34 | void tegra_periph_reset_deassert(struct clk *c); |
26 | void tegra_periph_reset_assert(struct clk *c); | 35 | void tegra_periph_reset_assert(struct clk *c); |
27 | 36 | ||
28 | unsigned long clk_get_rate_all_locked(struct clk *c); | 37 | unsigned long clk_get_rate_all_locked(struct clk *c); |
29 | void tegra2_sdmmc_tap_delay(struct clk *c, int delay); | 38 | void tegra2_sdmmc_tap_delay(struct clk *c, int delay); |
39 | int tegra_clk_cfg_ex(struct clk *c, enum tegra_clk_ex_param p, u32 setting); | ||
30 | 40 | ||
31 | #endif | 41 | #endif |
diff --git a/arch/arm/mach-tegra/include/mach/iomap.h b/arch/arm/mach-tegra/include/mach/iomap.h index 19dec3ac0854..67644c905d8e 100644 --- a/arch/arm/mach-tegra/include/mach/iomap.h +++ b/arch/arm/mach-tegra/include/mach/iomap.h | |||
@@ -74,6 +74,9 @@ | |||
74 | #define TEGRA_QUATERNARY_ICTLR_BASE 0x60004300 | 74 | #define TEGRA_QUATERNARY_ICTLR_BASE 0x60004300 |
75 | #define TEGRA_QUATERNARY_ICTLR_SIZE SZ_64 | 75 | #define TEGRA_QUATERNARY_ICTLR_SIZE SZ_64 |
76 | 76 | ||
77 | #define TEGRA_QUINARY_ICTLR_BASE 0x60004400 | ||
78 | #define TEGRA_QUINARY_ICTLR_SIZE SZ_64 | ||
79 | |||
77 | #define TEGRA_TMR1_BASE 0x60005000 | 80 | #define TEGRA_TMR1_BASE 0x60005000 |
78 | #define TEGRA_TMR1_SIZE SZ_8 | 81 | #define TEGRA_TMR1_SIZE SZ_8 |
79 | 82 | ||
diff --git a/arch/arm/mach-tegra/include/mach/irqs.h b/arch/arm/mach-tegra/include/mach/irqs.h index a2146cd6867d..aad1a2c1d714 100644 --- a/arch/arm/mach-tegra/include/mach/irqs.h +++ b/arch/arm/mach-tegra/include/mach/irqs.h | |||
@@ -165,11 +165,12 @@ | |||
165 | #define INT_QUAD_RES_30 (INT_QUAD_BASE + 30) | 165 | #define INT_QUAD_RES_30 (INT_QUAD_BASE + 30) |
166 | #define INT_QUAD_RES_31 (INT_QUAD_BASE + 31) | 166 | #define INT_QUAD_RES_31 (INT_QUAD_BASE + 31) |
167 | 167 | ||
168 | #define INT_MAIN_NR (INT_QUAD_BASE + 32 - INT_PRI_BASE) | 168 | /* Tegra30 has 5 banks of 32 IRQs */ |
169 | 169 | #define INT_MAIN_NR (32 * 5) | |
170 | #define INT_GPIO_BASE (INT_PRI_BASE + INT_MAIN_NR) | 170 | #define INT_GPIO_BASE (INT_PRI_BASE + INT_MAIN_NR) |
171 | 171 | ||
172 | #define INT_GPIO_NR (28 * 8) | 172 | /* Tegra30 has 8 banks of 32 GPIOs */ |
173 | #define INT_GPIO_NR (32 * 8) | ||
173 | 174 | ||
174 | #define TEGRA_NR_IRQS (INT_GPIO_BASE + INT_GPIO_NR) | 175 | #define TEGRA_NR_IRQS (INT_GPIO_BASE + INT_GPIO_NR) |
175 | 176 | ||