* ASOC and the Beagle @ 2008-11-10 15:10 Philip Balister 2008-11-10 20:38 ` Steve Sakoman 0 siblings, 1 reply; 5+ messages in thread From: Philip Balister @ 2008-11-10 15:10 UTC (permalink / raw) To: linux-omap@vger.kernel.org [-- Attachment #1: Type: text/plain, Size: 275 bytes --] A few weeks ago kernels built from git would detect the sound hardware and actually work. Yesterday I build a kernel and the sound hardware is no longer detected. Is there an easy way to fix this? Sorry I'm so vague, I don't have all the revision data handy .... Philip [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3303 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ASOC and the Beagle 2008-11-10 15:10 ASOC and the Beagle Philip Balister @ 2008-11-10 20:38 ` Steve Sakoman 2008-11-10 22:36 ` Steve Sakoman 0 siblings, 1 reply; 5+ messages in thread From: Steve Sakoman @ 2008-11-10 20:38 UTC (permalink / raw) To: Philip Balister; +Cc: linux-omap@vger.kernel.org, Tony Lindgren On Mon, Nov 10, 2008 at 7:10 AM, Philip Balister <philip@balister.org> wrote: > A few weeks ago kernels built from git would detect the sound hardware and > actually work. > > Yesterday I build a kernel and the sound hardware is no longer detected. Is > there an easy way to fix this? > > Sorry I'm so vague, I don't have all the revision data handy .... I just noticed this too. It seems that the Kconfig for soc/omap got damaged in the merge. The fix is simple, patch below. Tony, this should trickle in from the alsa folks since they have merged my ASoC drivers, but you might want to merge this patch locally in the meantime. Steve diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig index 8b7766b..0daeee4 100644 --- a/sound/soc/omap/Kconfig +++ b/sound/soc/omap/Kconfig @@ -14,6 +14,14 @@ config SND_OMAP_SOC_N810 help Say Y if you want to add support for SoC audio on Nokia N810. +config SND_OMAP_SOC_OMAP3_BEAGLE + tristate "SoC Audio support for OMAP3 Beagle" + depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE + select SND_OMAP_SOC_MCBSP + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the Beagleboard. + config SND_OMAP_SOC_OSK5912 tristate "SoC Audio support for omap osk5912" depends on SND_OMAP_SOC && MACH_OMAP_OSK @@ -21,3 +29,13 @@ config SND_OMAP_SOC_OSK5912 select SND_SOC_TLV320AIC23 help Say Y if you want to add support for SoC audio on osk5912. + +config SND_OMAP_SOC_OVERO + tristate "SoC Audio support for Gumstix Overo" + depends on SND_OMAP_SOC && MACH_OVERO + select SND_OMAP_SOC_MCBSP + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the Gumstix Overo. + + ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: ASOC and the Beagle 2008-11-10 20:38 ` Steve Sakoman @ 2008-11-10 22:36 ` Steve Sakoman 2008-11-13 23:13 ` Tony Lindgren 0 siblings, 1 reply; 5+ messages in thread From: Steve Sakoman @ 2008-11-10 22:36 UTC (permalink / raw) To: Philip Balister; +Cc: linux-omap@vger.kernel.org, Tony Lindgren On Mon, Nov 10, 2008 at 12:38 PM, Steve Sakoman <sakoman@gmail.com> wrote: > On Mon, Nov 10, 2008 at 7:10 AM, Philip Balister <philip@balister.org> wrote: >> A few weeks ago kernels built from git would detect the sound hardware and >> actually work. >> >> Yesterday I build a kernel and the sound hardware is no longer detected. Is >> there an easy way to fix this? >> >> Sorry I'm so vague, I don't have all the revision data handy .... > > I just noticed this too. > > It seems that the Kconfig for soc/omap got damaged in the merge. > > The fix is simple, patch below. Next time I should build test before posting :-) Turns out that the Makefile for soc/omap and the Kconfig and Makefile for soc/codec also got screwed up in the merge, so those need to be fixed. The complete fix is: diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 38a0e3b..5df7402 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -10,6 +10,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_TLV320AIC23 select SND_SOC_TLV320AIC26 select SND_SOC_TLV320AIC3X + select SND_SOC_TWL4030 select SND_SOC_UDA1380 select SND_SOC_WM8510 select SND_SOC_WM8580 @@ -75,6 +76,10 @@ config SND_SOC_TLV320AIC3X tristate depends on I2C +config SND_SOC_TWL4030 + tristate + depends on TWL4030_CORE + config SND_SOC_UDA1380 tristate diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile index 90f0a58..3b9b58a 100644 --- a/sound/soc/codecs/Makefile +++ b/sound/soc/codecs/Makefile @@ -7,6 +7,7 @@ snd-soc-ssm2602-objs := ssm2602.o snd-soc-tlv320aic23-objs := tlv320aic23.o snd-soc-tlv320aic26-objs := tlv320aic26.o snd-soc-tlv320aic3x-objs := tlv320aic3x.o +snd-soc-twl4030-objs := twl4030.o snd-soc-uda1380-objs := uda1380.o snd-soc-wm8510-objs := wm8510.o snd-soc-wm8580-objs := wm8580.o @@ -29,6 +30,7 @@ obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o obj-$(CONFIG_SND_SOC_TLV320AIC23) += snd-soc-tlv320aic23.o obj-$(CONFIG_SND_SOC_TLV320AIC26) += snd-soc-tlv320aic26.o obj-$(CONFIG_SND_SOC_TLV320AIC3X) += snd-soc-tlv320aic3x.o +obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o obj-$(CONFIG_SND_SOC_WM8510) += snd-soc-wm8510.o obj-$(CONFIG_SND_SOC_WM8580) += snd-soc-wm8580.o diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig index 8b7766b..0daeee4 100644 --- a/sound/soc/omap/Kconfig +++ b/sound/soc/omap/Kconfig @@ -14,6 +14,14 @@ config SND_OMAP_SOC_N810 help Say Y if you want to add support for SoC audio on Nokia N810. +config SND_OMAP_SOC_OMAP3_BEAGLE + tristate "SoC Audio support for OMAP3 Beagle" + depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE + select SND_OMAP_SOC_MCBSP + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the Beagleboard. + config SND_OMAP_SOC_OSK5912 tristate "SoC Audio support for omap osk5912" depends on SND_OMAP_SOC && MACH_OMAP_OSK @@ -21,3 +29,13 @@ config SND_OMAP_SOC_OSK5912 select SND_SOC_TLV320AIC23 help Say Y if you want to add support for SoC audio on osk5912. + +config SND_OMAP_SOC_OVERO + tristate "SoC Audio support for Gumstix Overo" + depends on SND_OMAP_SOC && MACH_OVERO + select SND_OMAP_SOC_MCBSP + select SND_SOC_TWL4030 + help + Say Y if you want to add support for SoC audio on the Gumstix Overo. + + diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile index e09d1f2..4bae404 100644 --- a/sound/soc/omap/Makefile +++ b/sound/soc/omap/Makefile @@ -7,7 +7,12 @@ obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o # OMAP Machine Support snd-soc-n810-objs := n810.o +snd-soc-omap3beagle-objs := omap3beagle.o snd-soc-osk5912-objs := osk5912.o +snd-soc-overo-objs := overo.o obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o +obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o +obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o + ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: ASOC and the Beagle 2008-11-10 22:36 ` Steve Sakoman @ 2008-11-13 23:13 ` Tony Lindgren 2008-11-16 14:45 ` Ming Lei 0 siblings, 1 reply; 5+ messages in thread From: Tony Lindgren @ 2008-11-13 23:13 UTC (permalink / raw) To: Steve Sakoman; +Cc: Philip Balister, linux-omap@vger.kernel.org * Steve Sakoman <sakoman@gmail.com> [081110 14:36]: > On Mon, Nov 10, 2008 at 12:38 PM, Steve Sakoman <sakoman@gmail.com> wrote: > > On Mon, Nov 10, 2008 at 7:10 AM, Philip Balister <philip@balister.org> wrote: > >> A few weeks ago kernels built from git would detect the sound hardware and > >> actually work. > >> > >> Yesterday I build a kernel and the sound hardware is no longer detected. Is > >> there an easy way to fix this? > >> > >> Sorry I'm so vague, I don't have all the revision data handy .... > > > > I just noticed this too. > > > > It seems that the Kconfig for soc/omap got damaged in the merge. > > > > The fix is simple, patch below. > > Next time I should build test before posting :-) > > Turns out that the Makefile for soc/omap and the Kconfig and Makefile > for soc/codec also got screwed up in the merge, so those need to be > fixed. Care to send your S-O-B so I can push this to l-o tree before it falls down from mainline tree? Tony > The complete fix is: > > diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig > index 38a0e3b..5df7402 100644 > --- a/sound/soc/codecs/Kconfig > +++ b/sound/soc/codecs/Kconfig > @@ -10,6 +10,7 @@ config SND_SOC_ALL_CODECS > select SND_SOC_TLV320AIC23 > select SND_SOC_TLV320AIC26 > select SND_SOC_TLV320AIC3X > + select SND_SOC_TWL4030 > select SND_SOC_UDA1380 > select SND_SOC_WM8510 > select SND_SOC_WM8580 > @@ -75,6 +76,10 @@ config SND_SOC_TLV320AIC3X > tristate > depends on I2C > > +config SND_SOC_TWL4030 > + tristate > + depends on TWL4030_CORE > + > config SND_SOC_UDA1380 > tristate > > diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile > index 90f0a58..3b9b58a 100644 > --- a/sound/soc/codecs/Makefile > +++ b/sound/soc/codecs/Makefile > @@ -7,6 +7,7 @@ snd-soc-ssm2602-objs := ssm2602.o > snd-soc-tlv320aic23-objs := tlv320aic23.o > snd-soc-tlv320aic26-objs := tlv320aic26.o > snd-soc-tlv320aic3x-objs := tlv320aic3x.o > +snd-soc-twl4030-objs := twl4030.o > snd-soc-uda1380-objs := uda1380.o > snd-soc-wm8510-objs := wm8510.o > snd-soc-wm8580-objs := wm8580.o > @@ -29,6 +30,7 @@ obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o > obj-$(CONFIG_SND_SOC_TLV320AIC23) += snd-soc-tlv320aic23.o > obj-$(CONFIG_SND_SOC_TLV320AIC26) += snd-soc-tlv320aic26.o > obj-$(CONFIG_SND_SOC_TLV320AIC3X) += snd-soc-tlv320aic3x.o > +obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o > obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o > obj-$(CONFIG_SND_SOC_WM8510) += snd-soc-wm8510.o > obj-$(CONFIG_SND_SOC_WM8580) += snd-soc-wm8580.o > diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig > index 8b7766b..0daeee4 100644 > --- a/sound/soc/omap/Kconfig > +++ b/sound/soc/omap/Kconfig > @@ -14,6 +14,14 @@ config SND_OMAP_SOC_N810 > help > Say Y if you want to add support for SoC audio on Nokia N810. > > +config SND_OMAP_SOC_OMAP3_BEAGLE > + tristate "SoC Audio support for OMAP3 Beagle" > + depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE > + select SND_OMAP_SOC_MCBSP > + select SND_SOC_TWL4030 > + help > + Say Y if you want to add support for SoC audio on the Beagleboard. > + > config SND_OMAP_SOC_OSK5912 > tristate "SoC Audio support for omap osk5912" > depends on SND_OMAP_SOC && MACH_OMAP_OSK > @@ -21,3 +29,13 @@ config SND_OMAP_SOC_OSK5912 > select SND_SOC_TLV320AIC23 > help > Say Y if you want to add support for SoC audio on osk5912. > + > +config SND_OMAP_SOC_OVERO > + tristate "SoC Audio support for Gumstix Overo" > + depends on SND_OMAP_SOC && MACH_OVERO > + select SND_OMAP_SOC_MCBSP > + select SND_SOC_TWL4030 > + help > + Say Y if you want to add support for SoC audio on the Gumstix Overo. > + > + > diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile > index e09d1f2..4bae404 100644 > --- a/sound/soc/omap/Makefile > +++ b/sound/soc/omap/Makefile > @@ -7,7 +7,12 @@ obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o > > # OMAP Machine Support > snd-soc-n810-objs := n810.o > +snd-soc-omap3beagle-objs := omap3beagle.o > snd-soc-osk5912-objs := osk5912.o > +snd-soc-overo-objs := overo.o > > obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o > +obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o > obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o > +obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o > + ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ASOC and the Beagle 2008-11-13 23:13 ` Tony Lindgren @ 2008-11-16 14:45 ` Ming Lei 0 siblings, 0 replies; 5+ messages in thread From: Ming Lei @ 2008-11-16 14:45 UTC (permalink / raw) To: Tony Lindgren; +Cc: Steve Sakoman, Philip Balister, linux-omap@vger.kernel.org beagle sound soc in v2.6.28-rc4 build failed: MODPOST 31 modules ERROR: "omap_ctrl_writel" [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined! ERROR: "omap_ctrl_readl" [sound/soc/omap/snd-soc-omap-mcbsp.ko] undefined! 2008/11/14 Tony Lindgren <tony@atomide.com>: > * Steve Sakoman <sakoman@gmail.com> [081110 14:36]: >> On Mon, Nov 10, 2008 at 12:38 PM, Steve Sakoman <sakoman@gmail.com> wrote: >> > On Mon, Nov 10, 2008 at 7:10 AM, Philip Balister <philip@balister.org> wrote: >> >> A few weeks ago kernels built from git would detect the sound hardware and >> >> actually work. >> >> >> >> Yesterday I build a kernel and the sound hardware is no longer detected. Is >> >> there an easy way to fix this? >> >> >> >> Sorry I'm so vague, I don't have all the revision data handy .... >> > >> > I just noticed this too. >> > >> > It seems that the Kconfig for soc/omap got damaged in the merge. >> > >> > The fix is simple, patch below. >> >> Next time I should build test before posting :-) >> >> Turns out that the Makefile for soc/omap and the Kconfig and Makefile >> for soc/codec also got screwed up in the merge, so those need to be >> fixed. > > Care to send your S-O-B so I can push this to l-o tree before it falls > down from mainline tree? > > Tony > > >> The complete fix is: >> >> diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig >> index 38a0e3b..5df7402 100644 >> --- a/sound/soc/codecs/Kconfig >> +++ b/sound/soc/codecs/Kconfig >> @@ -10,6 +10,7 @@ config SND_SOC_ALL_CODECS >> select SND_SOC_TLV320AIC23 >> select SND_SOC_TLV320AIC26 >> select SND_SOC_TLV320AIC3X >> + select SND_SOC_TWL4030 >> select SND_SOC_UDA1380 >> select SND_SOC_WM8510 >> select SND_SOC_WM8580 >> @@ -75,6 +76,10 @@ config SND_SOC_TLV320AIC3X >> tristate >> depends on I2C >> >> +config SND_SOC_TWL4030 >> + tristate >> + depends on TWL4030_CORE >> + >> config SND_SOC_UDA1380 >> tristate >> >> diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile >> index 90f0a58..3b9b58a 100644 >> --- a/sound/soc/codecs/Makefile >> +++ b/sound/soc/codecs/Makefile >> @@ -7,6 +7,7 @@ snd-soc-ssm2602-objs := ssm2602.o >> snd-soc-tlv320aic23-objs := tlv320aic23.o >> snd-soc-tlv320aic26-objs := tlv320aic26.o >> snd-soc-tlv320aic3x-objs := tlv320aic3x.o >> +snd-soc-twl4030-objs := twl4030.o >> snd-soc-uda1380-objs := uda1380.o >> snd-soc-wm8510-objs := wm8510.o >> snd-soc-wm8580-objs := wm8580.o >> @@ -29,6 +30,7 @@ obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o >> obj-$(CONFIG_SND_SOC_TLV320AIC23) += snd-soc-tlv320aic23.o >> obj-$(CONFIG_SND_SOC_TLV320AIC26) += snd-soc-tlv320aic26.o >> obj-$(CONFIG_SND_SOC_TLV320AIC3X) += snd-soc-tlv320aic3x.o >> +obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o >> obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o >> obj-$(CONFIG_SND_SOC_WM8510) += snd-soc-wm8510.o >> obj-$(CONFIG_SND_SOC_WM8580) += snd-soc-wm8580.o >> diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig >> index 8b7766b..0daeee4 100644 >> --- a/sound/soc/omap/Kconfig >> +++ b/sound/soc/omap/Kconfig >> @@ -14,6 +14,14 @@ config SND_OMAP_SOC_N810 >> help >> Say Y if you want to add support for SoC audio on Nokia N810. >> >> +config SND_OMAP_SOC_OMAP3_BEAGLE >> + tristate "SoC Audio support for OMAP3 Beagle" >> + depends on SND_OMAP_SOC && MACH_OMAP3_BEAGLE >> + select SND_OMAP_SOC_MCBSP >> + select SND_SOC_TWL4030 >> + help >> + Say Y if you want to add support for SoC audio on the Beagleboard. >> + >> config SND_OMAP_SOC_OSK5912 >> tristate "SoC Audio support for omap osk5912" >> depends on SND_OMAP_SOC && MACH_OMAP_OSK >> @@ -21,3 +29,13 @@ config SND_OMAP_SOC_OSK5912 >> select SND_SOC_TLV320AIC23 >> help >> Say Y if you want to add support for SoC audio on osk5912. >> + >> +config SND_OMAP_SOC_OVERO >> + tristate "SoC Audio support for Gumstix Overo" >> + depends on SND_OMAP_SOC && MACH_OVERO >> + select SND_OMAP_SOC_MCBSP >> + select SND_SOC_TWL4030 >> + help >> + Say Y if you want to add support for SoC audio on the Gumstix Overo. >> + >> + >> diff --git a/sound/soc/omap/Makefile b/sound/soc/omap/Makefile >> index e09d1f2..4bae404 100644 >> --- a/sound/soc/omap/Makefile >> +++ b/sound/soc/omap/Makefile >> @@ -7,7 +7,12 @@ obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o >> >> # OMAP Machine Support >> snd-soc-n810-objs := n810.o >> +snd-soc-omap3beagle-objs := omap3beagle.o >> snd-soc-osk5912-objs := osk5912.o >> +snd-soc-overo-objs := overo.o >> >> obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o >> +obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o >> obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o >> +obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o >> + > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Lei Ming ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-11-16 14:45 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-11-10 15:10 ASOC and the Beagle Philip Balister 2008-11-10 20:38 ` Steve Sakoman 2008-11-10 22:36 ` Steve Sakoman 2008-11-13 23:13 ` Tony Lindgren 2008-11-16 14:45 ` Ming Lei
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox