From: Stefan Roese Date: Fri, 29 Aug 2014 10:40:03 +0000 (+0200) Subject: ARM: OMAP2+: tao3530: Add pdata-quirk for the mmc2 internal clock X-Git-Tag: firefly_0821_release~176^2~3110^2~8^2~20 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=63dd5bc03a1ac9dd90807f6f3fc2475c0d4f046a;p=firefly-linux-kernel-4.4.55.git ARM: OMAP2+: tao3530: Add pdata-quirk for the mmc2 internal clock Set internal clock source for MMC2 on tao3530. Signed-off-by: Stefan Roese Cc: Thorsten Eisbein Cc: Tapani Utriainen Cc: Tony Lindgren Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 90c88d498485..b9d091b4d983 100644 --- a/arch/arm/mach-omap2/pdata-quirks.c +++ b/arch/arm/mach-omap2/pdata-quirks.c @@ -253,6 +253,11 @@ static void __init nokia_n900_legacy_init(void) } } + +static void __init omap3_tao3530_legacy_init(void) +{ + hsmmc2_internal_input_clk(); +} #endif /* CONFIG_ARCH_OMAP3 */ #ifdef CONFIG_ARCH_OMAP4 @@ -377,6 +382,7 @@ static struct pdata_init pdata_quirks[] __initdata = { { "ti,omap3-evm-37xx", omap3_evm_legacy_init, }, { "ti,omap3-zoom3", omap3_zoom_legacy_init, }, { "ti,am3517-evm", am3517_evm_legacy_init, }, + { "technexion,omap3-tao3530", omap3_tao3530_legacy_init, }, #endif #ifdef CONFIG_ARCH_OMAP4 { "ti,omap4-sdp", omap4_sdp_legacy_init, },