Received: by 10.223.185.116 with SMTP id b49csp1037442wrg; Fri, 16 Feb 2018 11:14:51 -0800 (PST) X-Google-Smtp-Source: AH8x225IvLJgL1gZIaVrBrRQZgtzw0hum3SesWHHc4mU6B7WV64FzPG8QGVSmD0tEfBCfaLLZv20 X-Received: by 2002:a17:902:5482:: with SMTP id e2-v6mr6683205pli.65.1518808491807; Fri, 16 Feb 2018 11:14:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808491; cv=none; d=google.com; s=arc-20160816; b=pQpioayZnWTCyxteDZsdTyaqI8vVPPyP21IhLha7sAbhOWGFH1jufV9uEpgrGaTJcn WUk+eB8o3t+YymGCDJ7aZSlDrqGF5LU7wu2S6TGEtJFrfZtGq7SehNlM2Z9RyJEd6jIv vqLyyOlxMIQaxFNtOWbitv7K0qy5KwIaRVFhZu/E5jaNThcQzMTNvEcwDWPhWsZiwd7x QdWsIi+dxVaplOD2gb9bekJMuOqmObMR9fpQGV1oyJsktooUmyvMDgr2w4+QHyqBz1A2 NFyfyI5HwduyKjoJJbXvY+b736TjwhYM+kmobrSxT5VgpjMAkyi8mpVrdhjTU9XWRq5F 6EWQ== 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:dkim-signature:arc-authentication-results; bh=ctk6qQgsrs4rd/c5ti+DGogMNXAKfRi9Dy0aY4pe0yA=; b=sRosNbAm1m6V2f8j75Uil/nsJUIN/DSvKHenvRAIEhqv5mSIoEjELP4x9DrlKMDalo //UQsW9/gVnMXelyOsRZ0tk6n9bZaXJOhylRIQXextW1oVwE4N1LvT1u/Jr5F0vh4ih0 xo/MZJnNkDzdvdnBI0uAb/XexDU1JXv0WciD6JGdeOjYVUztJmscfS8mJTLS85+yQqNc rY68GVpt1rel+PMA9gL/aMbYPzVzVANMsgLOB6jq1OqMk2VDCoMuvcZEcAek4dtofjVS zzXXH3xNuVfPkizIut8t9JX/xP5Jj/3mRR3SSwaXpdaEmzlL4O4ubxVZ3NYWzHI9mY/i IecA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=PoZMOYIJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3-v6si1642239plj.207.2018.02.16.11.14.34; Fri, 16 Feb 2018 11:14:51 -0800 (PST) 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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=PoZMOYIJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967147AbeBPPQZ (ORCPT + 99 others); Fri, 16 Feb 2018 10:16:25 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:51360 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967234AbeBPPQW (ORCPT ); Fri, 16 Feb 2018 10:16:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ctk6qQgsrs4rd/c5ti+DGogMNXAKfRi9Dy0aY4pe0yA=; b=PoZMOYIJUIA7WAjajd6fJ0zXn DRVHYeU6k11nWVKYVmZm2wppaxmjnCTBV+AGd3EJgDqCgruc0MnBv2jyTrpyLu9Jo7YHRYlq2NhDm x41LxdxxE9lihQ3FvQ6/9IPKtBE9AmVlHi5OD1M1ZY/drMQs3/c7hMHisPcfs1e442pcE=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1emhk9-0004PR-TP; Fri, 16 Feb 2018 15:16:09 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1emhk9-0002sA-BX; Fri, 16 Feb 2018 15:16:09 +0000 Date: Fri, 16 Feb 2018 15:16:09 +0000 From: Mark Brown To: Sebastian Reichel Cc: Liam Girdwood , Rob Herring , Tony Lindgren , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv4 1/4] dt-bindings: sound: add motorola,cpcap-audio-codec Message-ID: <20180216151609.GK5886@sirena.org.uk> References: <20180214220741.28306-1-sebastian.reichel@collabora.co.uk> <20180214220741.28306-2-sebastian.reichel@collabora.co.uk> <20180216113008.GB5886@sirena.org.uk> <20180216132537.lkd4wzfg7uuoyx7k@earth.universe> <20180216134448.GI5886@sirena.org.uk> <20180216141237.rd75sbix7bopi7zu@earth.universe> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rnP2AJ7yb1j09OW/" Content-Disposition: inline In-Reply-To: <20180216141237.rd75sbix7bopi7zu@earth.universe> X-Cookie: To order, call toll-free. User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --rnP2AJ7yb1j09OW/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2018 at 03:12:37PM +0100, Sebastian Reichel wrote: > On Fri, Feb 16, 2018 at 01:44:48PM +0000, Mark Brown wrote: > > On Fri, Feb 16, 2018 at 02:25:38PM +0100, Sebastian Reichel wrote: > > > While it looks empty in the DT binding file, it's actually not empty > > > once some standard properties are added to support audio-graph-card. > > This tells me you're missing something in the binding defining the > > DAIs and... > Well it is described by the following document: > Documentation/devicetree/bindings/sound/audio-graph-card.txt You still need to say which DAIs exist on the device and how they are identified - if there's only one DAI it's obviously easy but if a device has multiple DAIs then there's some naming to do. > > ...that still doesn't require a compatible here. > I agree, that it's not required. Also the node is not required. > Everything could be dumped into the main node. Many things are > not required, but they make implementations easier and help in > regards to DT readability and consistency. Having the compatible > means, that all sub-functions _can_ be handled equally by the > operating system. Not having the compatible means you _always_ > need special handling for the audio codec. This basically makes > the codec node different for the simple purpose of "because it is > not strictly required". If we have a compatible node, other > operating systems can still decide to ignore it, right? It's not just other operating systems, it's also other versions of Linux we have to think about here. The most obvious issue with audio is the clocking where the division between ASoC and clock APIs is not super obvious and could easily change in the future. --rnP2AJ7yb1j09OW/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlqG9bgACgkQJNaLcl1U h9DNMAf9H7GcnGs/G4OlpnokwAudl2Uu5fmmOrtocEShD2M27kg7Xy+yFHxw/hP5 NFntlCoM7ctaz3qW49nmcD7mgvXOVNiTRXvJGnH5j1n3iSHiBk2PRLt6OG4UdYod 5iGTyz65gpUXEbeQ7iJEGhQJd9gYsiMQMGiWGe0eiVGiqiCvfclFlBkP7mILBvTu pdn2FGvD/BpYQ5LH538ocQLVJCSpXK/tyqJAC/fTTw1WPCBpLGuEJ0RqbUUny6F/ +jfYvCq6RhtiOnxrAQKyByblZ7vmbVx0cgirvEDIC5qDDQ328VQJkWm5qzvwtlFe 6CfbmZaqLpkt0At0H9yQ+ZQdn4iKFA== =xZoD -----END PGP SIGNATURE----- --rnP2AJ7yb1j09OW/--