Received: by 10.213.65.68 with SMTP id h4csp1147344imn; Thu, 22 Mar 2018 16:50:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELvptuFcvpoHCF6EbRRqWcr/hbKD4Km3POGYbg+0LNp9gv8MQ2C8fOnNAw9YdtNRR2XSYfTH X-Received: by 2002:a17:902:5681:: with SMTP id j1-v6mr10980512pli.383.1521762653033; Thu, 22 Mar 2018 16:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521762652; cv=none; d=google.com; s=arc-20160816; b=X6Ggv6RArtRx1aeiGtOIcTFiUDYGm4FoVNG0l8uU/poHrwxCxxfUd7GsgBTww5FGHo 4/bO4dH22p+qLX+Eq0GDsi63Nmopz/Z495PeT8zgP0m8M8PyFUqKc4m2e0TJouvQCA7Z bTFwcjdAB0J7liLLZcVp6zWCHbN9lVDgG/pkFp+ivYNNdGfsEfBTfXUSwK5d0d2dqLcZ XYi/ukLHgq3uV4HP9WTatBHm6owQTdpPPlkk81tnNblXvC0CgYGgHyCrreKmdyu93a2u vI25ihmUWmh0s4eXHuwiHGNnYJB5al/dIJyYPoD7GSEjXKfebgkl2/aik9CHSUDhLExk be+w== 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=vhUusCW3GLmOYwUQ9cmdG75OEQ990UUm5I0JFCMNjYU=; b=uMXT/n11+Y5aY0bsolk+SuQmjxgE3S/9lONKHrPyfbNMG+5QWaAAGrjvxXt02HaqZz gAxes/90Ltr3tVDWgLgwQH2TjjmPQt5e8c4GDnjSWqwUsP9dpaTHf8osr8b6W/wnyXVS Zs3lovbS6BTYyFA3uLhozR46RjepPCuN6IduJMdcj0+XtYukx9YgmnCr1dCuPhXJFBR6 JM98hYSSpwLNUWIVDDF70WNizLp/OVjIJP+ouKGPE0QZfUBO9V9PMnl3z4u1I8SPVlRp 4JSCXaNM3bDMbaVAfdOQIwry8Das65iI0++aFenIgchyA0V3SmRa2Sw7z1l/jespXNb0 lkQA== 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 n128si5032845pgn.827.2018.03.22.16.50.37; Thu, 22 Mar 2018 16:50:52 -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 S1751817AbeCVXsi (ORCPT + 99 others); Thu, 22 Mar 2018 19:48:38 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40270 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600AbeCVXsg (ORCPT ); Thu, 22 Mar 2018 19:48:36 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sre) with ESMTPSA id DFDD226E7A3 Date: Fri, 23 Mar 2018 00:48:32 +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: <20180322234832.o24ut5ahon46mdu4@earth.universe> References: <20180223200254.25685-6-sebastian.reichel@collabora.co.uk> <20180322204804.GA26871@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y5ecaf34wtg5q27y" Content-Disposition: inline In-Reply-To: <20180322204804.GA26871@amd> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --y5ecaf34wtg5q27y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Pavel, On Thu, Mar 22, 2018 at 09:48:05PM +0100, Pavel Machek wrote: > Hi! >=20 > > Add sound support to Motorola Droid 4 using simple-soundcard > > and CPCAP's audio codec. This does not yet correctly represent > > the whole audio routing, since McBSP3 is also connected to > > Bluetooth and MDM6600 modem (and probably also 4G modem). > > These extra DAI links are not yet supported and have not been > > tested. >=20 > I applied the series on top v4.16-rc5, but I can't seem to get it > to work: >=20 > root@devuan:/sys/devices/platform/usb-phy@1# cat /proc/asound/cards > 0 [H58006000encode]: HDMI_58006000_e - HDMI 58006000.encoder > HDMI 58006000.encoder > root@devuan:/sys/devices/platform/usb-phy@1# > [ 10.819122] ALSA device list: > [ 10.832641] #0: HDMI 58006000.encoder > [ 10.842407] Waiting 10 sec before mounting root device... >=20 > I think I should have the required options enabled...=20 >=20 > CONFIG_SND_OMAP_SOC=3Dy > CONFIG_SND_OMAP_SOC_DMIC=3Dy > CONFIG_SND_OMAP_SOC_MCBSP=3Dy > CONFIG_SND_OMAP_SOC_MCPDM=3Dy > CONFIG_SND_OMAP_SOC_HDMI_AUDIO=3Dy That's the SoC (OMAP) side. > # 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 That's not needed (but does not hurt). The Droid 4 has no TWL companion chip and uses CPCAP instead. > # CONFIG_SND_SOC_IMG is not set >=20 > # > # STMicroelectronics STM32 SOC audio support > # > # CONFIG_SND_SOC_XTFPGA_I2S is not set > # CONFIG_ZX_TDM is not set > CONFIG_SND_SOC_I2C_AND_SPI=3Dy > CONFIG_SND_SOC_CPCAP=3Dy That's the codec side. > 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 -- Sebastian --y5ecaf34wtg5q27y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAlq0QMUACgkQ2O7X88g7 +ppWzQ/+N0e86wVGZ+cWdPiKhD18HNNtj9xaw2MrU9lgDBKHWqOqQr4Tx7ghG0os EKZe4dvtOaaeb2ecNh907LOWlOdmJHI/naBWbiv5ZJIVX/8TNRUDizGrCXcv+qQv 2Z3Fdlf/74gV6yJVTyKWJ6hsMnxUrv8WGKzF3t3hCv4uBft5k3GuZZdYrYfiPebw v5VY5iJwY2Ai9x43ulw8OsuJBZCm+4Q01gkc76nRGQmfSB7dkqicNRa5fsq6xjuf WGta9XsdutJwPDg3UNON2Fgelh9x3zl8n2yL8Ooj+O/7Lz80y5ihQ+gjLygppyWy HDe3pNi9OzBHGBHWzJdLGVsLhhfY/2cX6yjn1d52Qcdil7iI5KRj6TeEIOckXtfC VX9umFJgVlso5pBrxpBFp29XN0SMe3bAjc++FnFx2kv34A97sdKyReWunVvfWaPw iq3lxPKxskZtir02Sfl94+EfGSgT54U1GgyL62lpu+2bj627Rp/wTmK2GDfrq1BO MZFDWNYyVNSmq8s0IWiTHycyOU/z0F9xfwC/LVXurV0X0dMGQ3ywSbU/einkRkuo ydJGb0ftTHXx8sYf1s0P1SMULdo7heV00iYLRlgtvwCZyEI0i9nXf3QrpKiKNYAg 6FCeJdTkeDhgniiqNccv+skLvJhuusfWUJQUz/Vh+B3Zb9gHKDU= =gDeS -----END PGP SIGNATURE----- --y5ecaf34wtg5q27y--