From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCHv5, 5/5] ARM: dts: omap4-droid4: add soundcard Date: Fri, 23 Mar 2018 12:06:37 +0100 Message-ID: <20180323110637.GA23810@amd> References: <20180223200254.25685-6-sebastian.reichel@collabora.co.uk> <20180322204804.GA26871@amd> <20180322234832.o24ut5ahon46mdu4@earth.universe> <20180323100930.GA21644@amd> <20180323103006.alymgb3ywftb4gek@earth.universe> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3579628063812595362==" Return-path: In-Reply-To: <20180323103006.alymgb3ywftb4gek@earth.universe> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Sebastian Reichel Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, kernel@collabora.com, Tony Lindgren , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Rob Herring , Mark Brown , linux-omap@vger.kernel.org, Lee Jones List-Id: devicetree@vger.kernel.org --===============3579628063812595362== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > > > Any ideas? > > >=20 > > > 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 > >=20 > > Ok, that certainly changed things; I am now getting this: > >=20 > > Mar 23 08:39:17 devuan kernel: [ 11.633605] asoc-audio-graph-card sou= ndcard: GPIO lookup for > > consumer pa > > Mar 23 08:39:17 devuan kernel: [ 11.644958] asoc-audio-graph-card sou= ndcard: 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'=20 > > property of node '/soundcard[0]' > > Mar 23 08:39:17 devuan kernel: [ 11.682617] asoc-audio-graph-card sou= ndcard: using lookup ta > > bles for GPIO lookup > > Mar 23 08:39:17 devuan kernel: [ 11.694427] asoc-audio-graph-card sou= ndcard: lookup for GPIO > > pa failed >=20 > That's not an error, but just some debug messages. Consider > disabling CONFIG_DEBUG_GPIO to get rid of them. >=20 > > Indeed the dts does not seem to contain any gpios >=20 > It's optional and does not exist on Droid 4. >=20 > > soundcard { > > compatible =3D "audio-graph-card"; > > label =3D "Droid 4 Audio"; > >=20 > > simple-graph-card,widgets =3D > > "Speaker", "Earpiece", > > "Speaker", "Loudspeaker", > > "Headphone", "Headphone Jack", > > "Microphone", "Internal Mic"; > >=20 > > simple-graph-card,routing =3D > > "Earpiece", "EP", > > "Loudspeaker", "SPKR", > > "Headphone Jack", "HSL", > > "Headphone Jack", "HSR", > > "MICR", "Internal Mic"; > >=20 > > dais =3D <&mcbsp2_port>, <&mcbsp3_port>; > > }; > >=20 > > Any more ideas? :-) >=20 > 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 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlq0370ACgkQMOfwapXb+vJrLACfcDaDljlGXEKaZIN/lqD9YFKT GjsAnRvlmnPynTbw9v3ypUGOuTAm76nL =wg8Y -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF-- --===============3579628063812595362== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3579628063812595362==--