Received: by 10.213.65.68 with SMTP id h4csp234588imn; Fri, 23 Mar 2018 03:32:44 -0700 (PDT) X-Google-Smtp-Source: AG47ELvVV9CCiDI96Kuc0J/WQbttbKQ4SC5w41j9Nxy7PF2M8tUOWpnIpz9j8YF1v9SWqLMRFTJi X-Received: by 10.99.109.142 with SMTP id i136mr20560142pgc.306.1521801164834; Fri, 23 Mar 2018 03:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521801164; cv=none; d=google.com; s=arc-20160816; b=xtWW7vQi1dcX9Hgoxwda7g9o5gdj0mqMmrHXzfvSw78lfFVybZ2Z8VAQ+glkEyabdF lENHWxja9A0X6mtvGwQgjtJu0+GVXeHc5txNfzLtYDCIWKr3pqKbQLnpQKyKdS/gGekh GAUJnqiSJA3AtPL7KcOtUu8DQtE0toB0sRP4HraSZpoUoSfkuIMJYrb/ZjizyWUHoUhF 5410B2yrxaEfQ8YDAng/uv2CaoMxVJ+LS/a2Jaohu6qq70l8DkoSK0TMKAse7Q1hCixR USd2cLlq/fKQ2WHL7FaVAl0eBGYPGonZ1hcyoKQeFJPOkbRndDTs7EfQzq4fswEFukKE 3z6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=yhIPvuMP0R2zpt8JCHLb2tX/SD1hWAVr51433MJTksg=; b=xg6l3qmHE65wV3Fmd6H3gUfvZU5U4dOitbgh2zG5BN4gcbMz4pAsu0OK4Sh7U4ZPOt cY5oSuPKY3o2NWD9WUTiucepe1aWdbZqsEX4qJ+U1LpnjJt0UpNnIwwVI6cmInySg6ud EeZSlt/6TgiXmzRZnKN56/VsbiQ/mMexgW4TRy52/gCKUT1IADIIBCJEQ9ihy92Wtpk2 hjSO7FTwJv6UFqTOPnml9refZAPhud84ESCeOJot8rXgfIDG4BNvkEjuFJdB5FuFmZym WgRbmrp0ekfYFtB2yqFQOPpCp7Jt5NIoTMq2U0DpLDLTCLbUJ+cJPHkJ2rn6w3OVGCf/ Xm7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h68si3802846pfc.86.2018.03.23.03.32.30; Fri, 23 Mar 2018 03:32:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=collabora.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756248AbeCWKaN (ORCPT + 99 others); Fri, 23 Mar 2018 06:30:13 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:43274 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753730AbeCWKaK (ORCPT ); Fri, 23 Mar 2018 06:30:10 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id BD55127862B Date: Fri, 23 Mar 2018 11:30:06 +0100 From: Sebastian Reichel To: Pavel Machek Cc: Liam Girdwood , Mark Brown , Rob Herring , Tony Lindgren , Lee Jones , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard Message-ID: <20180323103006.alymgb3ywftb4gek@earth.universe> References: <20180223200254.25685-6-sebastian.reichel@collabora.co.uk> <20180322204804.GA26871@amd> <20180322234832.o24ut5ahon46mdu4@earth.universe> <20180323100930.GA21644@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wclpdisi2oc4c4yr" Content-Disposition: inline In-Reply-To: <20180323100930.GA21644@amd> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --wclpdisi2oc4c4yr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Fri, Mar 23, 2018 at 11:09:30AM +0100, Pavel Machek wrote: > Hi! >=20 > > > # CONFIG_SND_OMAP_SOC_RX51 is not set > > > # CONFIG_SND_OMAP_SOC_N9 is not set > > > CONFIG_SND_OMAP_SOC_OMAP_TWL4030=3Dy > > > CONFIG_SND_OMAP_SOC_OMAP_ABE_TWL6040=3Dy > >=20 > > That's not needed (but does not hurt). The Droid 4 > > has no TWL companion chip and uses CPCAP instead. >=20 > Aha, thanks. I was doing wild experiments to get something that > boots... I turned them off. >=20 > > > 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 sound= card: GPIO lookup for > consumer pa > Mar 23 08:39:17 devuan kernel: [ 11.644958] asoc-audio-graph-card sound= card: using device tr > ee for GPIO lookup > Mar 23 08:39:17 devuan kernel: [ 11.656677] of_get_named_gpiod_flags: c= an't parse 'pa-gpios' > property of node '/soundcard[0]' > Mar 23 08:39:17 devuan kernel: [ 11.669738] of_get_named_gpiod_flags: c= an't parse 'pa-gpio'=20 > property of node '/soundcard[0]' > Mar 23 08:39:17 devuan kernel: [ 11.682617] asoc-audio-graph-card sound= card: using lookup ta > bles for GPIO lookup > Mar 23 08:39:17 devuan kernel: [ 11.694427] asoc-audio-graph-card sound= card: 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 =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? :-) Make sure, that the device was not proped properly (cat /proc/asound/cards) and post the real error? :) -- Sebastian --wclpdisi2oc4c4yr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlq01ysACgkQ2O7X88g7 +prnDg/+LGaVDPLF7MPDA6/WIjavBjoe9IzCdj+IWIhs1Es/EJgMHhTzIqTQIxUl Shu/8BHjo/9wx7uodRFhnE1xacTnnGWOv1VlwAxNZY7HA/bT1aGOZJDWfej7Zs6M doRbkr4xDiMT5sxCYFhfT8R7lfzmDTXVimBtY2Y7rq09MrRYyVMnQqYgB/A4lM3t g64OYpVyNjVGqefShoA3DoT9hQtNHa2qqFck/thpR3x1hVODLA4kbt9rLoaxKh0Y aS/VmJnlLtnfBlb/M+Zl8fTeB2D2NnSqnaFjf3q7CibU/ybmnB7l1A+oEQKfqFRa LDOo+KKEvGUoJJ7KpjlsKN8IfqY5sWd5k2VZwMlXJKGNpZ0SYvlqxnfqoMA9CeTN EA2qSQwrEUo49/KkP5dIvEVuo6LysT2RZP36aEs7aECiu+2LJOOpcNlCHAX8HvRj 6s4youyIof5ahDU9H3rEUAiYyo2LdSiEGTZc4HdsndvZCNUYHpwkSJr3MB7Bk+fn 6/Hr1e5X2zCUaR8KUzL86IdbBn+xeeWgs52C33reVMSgDFmEw/Kg+1ZiyXfaaXMx cKvwIz4qMu3dwR09LbUZljygb1u3bms49+/hvV+bv23ckoY4H9GA2vbsnGW2shGH FCSv5ipBZd+7PaCcZvAiZiZu18xc9uVeuxIJLqY74UQJkRQKT28= =Q0yt -----END PGP SIGNATURE----- --wclpdisi2oc4c4yr--