Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard
From: Pavel Machek
Date: Fri Mar 23 2018 - 07:06:46 EST
Hi!
> > > > Any ideas?
> > >
> > > You probably did not enable the soundcard driver, that binds against
> > > "audio-graph-card" compatible and connects the codec driver with the
> > > SoC driver: CONFIG_SND_AUDIO_GRAPH_CARD
> >
> > Ok, that certainly changed things; I am now getting this:
> >
> > Mar 23 08:39:17 devuan kernel: [ 11.633605] asoc-audio-graph-card soundcard: GPIO lookup for
> > consumer pa
> > Mar 23 08:39:17 devuan kernel: [ 11.644958] asoc-audio-graph-card soundcard: using device tr
> > ee for GPIO lookup
> > Mar 23 08:39:17 devuan kernel: [ 11.656677] of_get_named_gpiod_flags: can't parse 'pa-gpios'
> > property of node '/soundcard[0]'
> > Mar 23 08:39:17 devuan kernel: [ 11.669738] of_get_named_gpiod_flags: can't parse 'pa-gpio'
> > property of node '/soundcard[0]'
> > Mar 23 08:39:17 devuan kernel: [ 11.682617] asoc-audio-graph-card soundcard: using lookup ta
> > bles for GPIO lookup
> > Mar 23 08:39:17 devuan kernel: [ 11.694427] asoc-audio-graph-card soundcard: lookup for GPIO
> > pa failed
>
> That's not an error, but just some debug messages. Consider
> disabling CONFIG_DEBUG_GPIO to get rid of them.
>
> > Indeed the dts does not seem to contain any gpios
>
> It's optional and does not exist on Droid 4.
>
> > soundcard {
> > compatible = "audio-graph-card";
> > label = "Droid 4 Audio";
> >
> > simple-graph-card,widgets =
> > "Speaker", "Earpiece",
> > "Speaker", "Loudspeaker",
> > "Headphone", "Headphone Jack",
> > "Microphone", "Internal Mic";
> >
> > simple-graph-card,routing =
> > "Earpiece", "EP",
> > "Loudspeaker", "SPKR",
> > "Headphone Jack", "HSL",
> > "Headphone Jack", "HSR",
> > "MICR", "Internal Mic";
> >
> > dais = <&mcbsp2_port>, <&mcbsp3_port>;
> > };
> >
> > Any more ideas? :-)
>
> Make sure, that the device was not proped properly (cat
> /proc/asound/cards) and post the real error? :)
Unfortunately, that are last messages from asoc-audio-graph-card
Mar 23 08:39:17 devuan kernel: [ 11.694427] asoc-audio-graph-card
soundcard: lookup for GPIO pa failed
and no, it is not detected:
root@devuan:/home/user# cat /proc/asound/cards
0 [H58006000encode]: HDMI_58006000_e - HDMI 58006000.encoder
HDMI 58006000.encoder
root@devuan:/home/user#
Hmm. Is it possible that EPROBEDEFFER is playing with me again?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature