aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/common.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-01-09 17:33:17 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-09 17:33:17 -0500
commit7400c12eb069df781894a94dfa5c865f3fe3e2d4 (patch)
tree53a0922933c0eabcef8e9ba23af0c629952ff44b /arch/arm/mach-omap2/common.h
parent190a44e65b0f32eaf5b4db3969f5eb224f83a7a2 (diff)
parent23c4c1c7b0dd2ebeb90bb6851478c0e80fe9e6b8 (diff)
Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
SoC-level changes for tegra and omap This adds support for the new tegra30 SoC, as well as small changes to support minor variations of existing omap SoCs. * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (26 commits) arm/tegra: Compile tegra_dt_init_irq only when CONFIG_OF arm/tegra: Make MACH_TEGRA_DT depend on ARCH_TEGRA_2x_SOC arm/tegra: Delete tegra_init_clock() arm/tegra: Fix section mismatch errors in tegra30 pinmux arm/tegra: Fix section mismatch errors in tegra20 pinmux arm/tegra: refresh defconfig for tegra30 arm/tegra: add support for tegra30 based board cardhu arm/tegra: implement support for tegra30 arm/tegra: pinmux tables and definitions for tegra30 arm/tegra: add new fields to struct tegra_pingroup_desc arm/tegra: prepare pinmux code for multiple tegra variants arm/tegra: rename tegra20 pinmux files arm/tegra: generalize L2 cache initialization arm/tegra: use PMC reset arm/tegra: rename board-dt.c to board-dt-tegra20.c arm/tegra: prepare early init for multiple tegra variants arm/tegra: don't export clk_measure_input_freq arm/tegra: prepare clock code for multiple tegra variants arm/tegra: cleanup tegra20 support arm/tegra: clk_get should not be fatal ... Fix up trivial conflict in arch/arm/mach-tegra/board-dt-tegra20.c
Diffstat (limited to 'arch/arm/mach-omap2/common.h')
-rw-r--r--arch/arm/mach-omap2/common.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index cda888a2e635..9403b2ce6c85 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -52,10 +52,18 @@ static inline void omap34xx_map_common_io(void)
52} 52}
53#endif 53#endif
54 54
55#ifdef CONFIG_SOC_OMAPTI816X 55#ifdef CONFIG_SOC_OMAPTI81XX
56extern void omapti816x_map_common_io(void); 56extern void omapti81xx_map_common_io(void);
57#else 57#else
58static inline void omapti816x_map_common_io(void) 58static inline void omapti81xx_map_common_io(void)
59{
60}
61#endif
62
63#ifdef CONFIG_SOC_OMAPAM33XX
64extern void omapam33xx_map_common_io(void);
65#else
66static inline void omapam33xx_map_common_io(void)
59{ 67{
60} 68}
61#endif 69#endif
@@ -82,7 +90,7 @@ void omap35xx_init_early(void);
82void omap3630_init_early(void); 90void omap3630_init_early(void);
83void omap3_init_early(void); /* Do not use this one */ 91void omap3_init_early(void); /* Do not use this one */
84void am35xx_init_early(void); 92void am35xx_init_early(void);
85void ti816x_init_early(void); 93void ti81xx_init_early(void);
86void omap4430_init_early(void); 94void omap4430_init_early(void);
87void omap_prcm_restart(char, const char *); 95void omap_prcm_restart(char, const char *);
88 96
@@ -107,7 +115,8 @@ void omap2_set_globals_242x(void);
107void omap2_set_globals_243x(void); 115void omap2_set_globals_243x(void);
108void omap2_set_globals_3xxx(void); 116void omap2_set_globals_3xxx(void);
109void omap2_set_globals_443x(void); 117void omap2_set_globals_443x(void);
110void omap2_set_globals_ti816x(void); 118void omap2_set_globals_ti81xx(void);
119void omap2_set_globals_am33xx(void);
111 120
112/* These get called from omap2_set_globals_xxxx(), do not call these */ 121/* These get called from omap2_set_globals_xxxx(), do not call these */
113void omap2_set_globals_tap(struct omap_globals *); 122void omap2_set_globals_tap(struct omap_globals *);
@@ -118,7 +127,9 @@ void omap2_set_globals_prcm(struct omap_globals *);
118void omap242x_map_io(void); 127void omap242x_map_io(void);
119void omap243x_map_io(void); 128void omap243x_map_io(void);
120void omap3_map_io(void); 129void omap3_map_io(void);
130void am33xx_map_io(void);
121void omap4_map_io(void); 131void omap4_map_io(void);
132void ti81xx_map_io(void);
122 133
123/** 134/**
124 * omap_test_timeout - busy-loop, testing a condition 135 * omap_test_timeout - busy-loop, testing a condition
@@ -147,7 +158,7 @@ extern struct device *omap4_get_dsp_device(void);
147 158
148void omap2_init_irq(void); 159void omap2_init_irq(void);
149void omap3_init_irq(void); 160void omap3_init_irq(void);
150void ti816x_init_irq(void); 161void ti81xx_init_irq(void);
151extern int omap_irq_pending(void); 162extern int omap_irq_pending(void);
152void omap_intc_save_context(void); 163void omap_intc_save_context(void);
153void omap_intc_restore_context(void); 164void omap_intc_restore_context(void);