Skip to contentSkip to conversation

ARM: OMAP3: MACH_OMAP3517EVM?

DISCUSSION Paul Bolle 2 participants 3 messages Jan 20, 2015

Subsystems (3)
lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

Tony,

Your commit 4d62dbda8561 ("ARM: OMAP3: Remove legacy support for am3517-evm") is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem caused by it.

See, your commit removes the Kconfig symbol MACH_OMAP3517EVM. But there's still a reference to that symbol in sound/soc/omap/Kconfig. This means that in linux-next a symbol, SND_OMAP_SOC_AM3517EVM, cannot be set anymore.

I assume a patch that address this (either by removing SND_OMAP_SOC_AM3517EVM or by updating its dependencies) is queued somewhere. Is that correct?

Thanks,

Paul Bolle

maintainer
#1 lore raw
Quoted 6 lines · Paul Bolle

Tony,

Your commit 4d62dbda8561 ("ARM: OMAP3: Remove legacy support for am3517-evm") is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem caused by it.

OK thanks for spotting that.

Quoted 8 lines

See, your commit removes the Kconfig symbol MACH_OMAP3517EVM. But there's still a reference to that symbol in sound/soc/omap/Kconfig. This means that in linux-next a symbol, SND_OMAP_SOC_AM3517EVM, cannot be set anymore.

I assume a patch that address this (either by removing SND_OMAP_SOC_AM3517EVM or by updating its dependencies) is queued somewhere. Is that correct?

Not yet, I missed that part sorry. I'll add back the Kconfig symbol. I'll rather do the removal in smaller steps, and first remove the 3517 related board-*.c file before messing with the legacy drivers.

Regards,

Tony

maintainer
#2 lore raw
Quoted 15 lines · Tony Lindgren
Quoted 6 lines · Paul Bolle

Tony,

Your commit 4d62dbda8561 ("ARM: OMAP3: Remove legacy support for am3517-evm") is included in today's linux-next (ie, next-20150120). I noticed because a script I use to check linux-next spotted a problem caused by it.

OK thanks for spotting that.

Quoted 5 lines

See, your commit removes the Kconfig symbol MACH_OMAP3517EVM. But there's still a reference to that symbol in sound/soc/omap/Kconfig. This means that in linux-next a symbol, SND_OMAP_SOC_AM3517EVM, cannot be set anymore.

Quoted 7 lines
Quoted 3 lines

I assume a patch that address this (either by removing SND_OMAP_SOC_AM3517EVM or by updating its dependencies) is queued somewhere. Is that correct?

Not yet, I missed that part sorry. I'll add back the Kconfig symbol. I'll rather do the removal in smaller steps, and first remove the 3517 related board-*.c file before messing with the legacy drivers.

Below is a fix for this.

Regards,

Tony

8< ----------------
From: Tony Lindgren <[email protected]>
Date: Tue, 20 Jan 2015 08:49:08 -0800
Subject: [PATCH] ARM: OMAP3: Add back Kconfig option MACH_OMAP3517EVM for ASoC

We still have SND_OMAP_SOC_AM3517EVM depending on MACH_OMAP3517EVM, so let's keep MACH_OMAP3517EVM Kconfig option around for a little bit longer.

This removes the dependency between ARM SoC changes and the ASoC changes, and allows the following three options for the driver:

1. Update the driver for device tree based booting

2. Initialize the driver with legacy platform data, then update the driver for device tree based booting

3. Just remove the driver if there are no audio users for 3517-evm board

arch/arm/mach-omap2/Kconfig +5 -0
@@ -213,6 +213,11 @@ config MACH_OVERO
 	default y
 	select OMAP_PACKAGE_CBB
 
+config MACH_OMAP3517EVM
+	bool "OMAP3517/ AM3517 EVM board"
+	depends on ARCH_OMAP3
+	default y
+
 config MACH_OMAP3_PANDORA
 	bool "OMAP3 Pandora"
 	depends on ARCH_OMAP3