diff options
author | Tony Lindgren <tony@atomide.com> | 2013-10-11 12:20:54 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-10-11 12:21:49 -0400 |
commit | 79b39f7918559da88be9463fc8b6674dd1ca2896 (patch) | |
tree | d582bccd1dec4095426d9156427b1f49dbdb7f86 /arch/arm/mach-omap2 | |
parent | 30a69ef785e87c791aab0b4dae76709a7baa3e85 (diff) |
ARM: OMAP2+: Use pdata quirks for wl12xx for omap3 evm and zoom3
As the wl12xx bindings are still pending, this way we can
get things working for omap3 evm and zoom platforms.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/pdata-quirks.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 18afbde020f7..10c71450cf63 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c | |||
@@ -82,6 +82,16 @@ static void __init omap3_igep0020_legacy_init(void) | |||
82 | { | 82 | { |
83 | omap3_igep2_display_init_of(); | 83 | omap3_igep2_display_init_of(); |
84 | } | 84 | } |
85 | |||
86 | static void __init omap3_evm_legacy_init(void) | ||
87 | { | ||
88 | legacy_init_wl12xx(WL12XX_REFCLOCK_38, 0, 149); | ||
89 | } | ||
90 | |||
91 | static void __init omap3_zoom_legacy_init(void) | ||
92 | { | ||
93 | legacy_init_wl12xx(WL12XX_REFCLOCK_26, 0, 162); | ||
94 | } | ||
85 | #endif /* CONFIG_ARCH_OMAP3 */ | 95 | #endif /* CONFIG_ARCH_OMAP3 */ |
86 | 96 | ||
87 | #ifdef CONFIG_ARCH_OMAP4 | 97 | #ifdef CONFIG_ARCH_OMAP4 |
@@ -132,6 +142,8 @@ static struct pdata_init pdata_quirks[] __initdata = { | |||
132 | { "nokia,omap3-n9", hsmmc2_internal_input_clk, }, | 142 | { "nokia,omap3-n9", hsmmc2_internal_input_clk, }, |
133 | { "nokia,omap3-n950", hsmmc2_internal_input_clk, }, | 143 | { "nokia,omap3-n950", hsmmc2_internal_input_clk, }, |
134 | { "isee,omap3-igep0020", omap3_igep0020_legacy_init, }, | 144 | { "isee,omap3-igep0020", omap3_igep0020_legacy_init, }, |
145 | { "ti,omap3-evm-37xx", omap3_evm_legacy_init, }, | ||
146 | { "ti,omap3-zoom3", omap3_zoom_legacy_init, }, | ||
135 | #endif | 147 | #endif |
136 | #ifdef CONFIG_ARCH_OMAP4 | 148 | #ifdef CONFIG_ARCH_OMAP4 |
137 | { "ti,omap4-sdp", omap4_sdp_legacy_init, }, | 149 | { "ti,omap4-sdp", omap4_sdp_legacy_init, }, |