Received: by 10.223.185.116 with SMTP id b49csp3727374wrg; Mon, 19 Feb 2018 05:06:23 -0800 (PST) X-Google-Smtp-Source: AH8x227JFSp9+/Ee54Fs5Kc49tfPzrtnzuBO3+XQOIGdpyOd5yeTnFIeGy5DmkH6zxWRGKp/n2eT X-Received: by 2002:a17:902:4523:: with SMTP id m32-v6mr14198462pld.449.1519045583383; Mon, 19 Feb 2018 05:06:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519045583; cv=none; d=google.com; s=arc-20160816; b=T6mpcYLOzLba6uK2Om5b3MkDeYIB7gsGUt36oaRA1BxYSMnkJ96mzaZUnNuFFlSAJY iCZXP9/i1CWeeb+1qH3r7JLnF6PR0PBtYBA17cX/rhmac4C71rMeEL0CNZrvS/SoQ8L6 qOahDe136PS0TOkpx0UwIe/icyWW4aBGyJl1jUNYd+fNrg8r8Z7lRaBtArDrmSRPzVAp CtT4siTaTbZZIPhj4ys3qGNYE7HY+sgdyi8r4zQMDq+1rWovTRemu0SvIw4t2txQU4wS 02ewQpRh2Z4QQYlnYjeGVX9n4TlPYsLg78GKIW7k86iHeZ4YP8va6KwkOZRvfqrP9P0h N3yA== 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=e8IFAcmrbxn0XzizBFfU8nSJczuIMt6Rc7ErVrgEi0k=; b=0MOq08GSpEMR9cUUB8xaD7WV23sNOmX3QVi0qHFEF+qq8Vdh/Th6d7l8JfNjgtqS9U ZT3OGCJwc3nEeALH1xlbhKOvCjKur1+QNsd5XUlbVzI0OTsGjxWNd+OBP6Y8fR1LbQtO nDGoLkeqMgvRlhKlUKSUX0JLulU07fSlwbwV1bgtyH1tlbGF948PbHwFn+1QXgRNaHmB lg39Ef59f+CrNe7ui3RXopFoJpkMYn7NM/NBhnUWrKHOIb0+Nc5L8pXrAMnjIAeJxpvp /CUh+r5vpGwbNuPiqhRKHydbUldBPc7w0fdPzSpxNQtEIKlUbxoa/B4sGpz+pbhAW/RD qK/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=S/YprYs1; 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 33-v6si4367659plu.508.2018.02.19.05.06.09; Mon, 19 Feb 2018 05:06:23 -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=S/YprYs1; 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 S1752798AbeBSNF3 (ORCPT + 99 others); Mon, 19 Feb 2018 08:05:29 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:52590 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752687AbeBSNF1 (ORCPT ); Mon, 19 Feb 2018 08:05:27 -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=e8IFAcmrbxn0XzizBFfU8nSJczuIMt6Rc7ErVrgEi0k=; b=S/YprYs1DbD6tSYEgolf82Atf i3Me5QvTAUbxIVugwW7nk1mkf08Cdbm+E8NaH+0jnyIth6eP2rKfF6SRuoODzrnzshz/JqHjx9oQK 3kFkQiR8wuK+cvNteJDzgq70eyOJfUZSYP0gLvFP9yYsTsiN+PQHOjMa7rOJmQ8K13NQQ=; 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 1enl87-0003Yt-8b; Mon, 19 Feb 2018 13:05:15 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1enl86-0004s2-4Q; Mon, 19 Feb 2018 13:05:14 +0000 Date: Mon, 19 Feb 2018 13:05:14 +0000 From: Mark Brown To: Tony Lindgren Cc: Sebastian Reichel , Liam Girdwood , Rob Herring , 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: <20180219130514.GC32761@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> <20180216151609.GK5886@sirena.org.uk> <20180216155706.GS6364@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kfjH4zxOES6UT95V" Content-Disposition: inline In-Reply-To: <20180216155706.GS6364@atomide.com> X-Cookie: You enjoy the company of other people. 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 --kfjH4zxOES6UT95V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 16, 2018 at 07:57:07AM -0800, Tony Lindgren wrote: > * Mark Brown [180216 15:17]: > > 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. > Yeah let's stick to describing how the hardware is wired in the > dts files. In this case it's really only the routing to the SoC, > right? The SoC and anything else on the board like external amps and so on. > One advantage of using a compatible property for the pmic subdevices > though is that it leaves out a dependency between various device > drivers things happen automagically. The mfd core driver can be > minimal and just implement interrupt handling and regmap. So no need > to to parse the child nodes in the pmic mfd driver :) There's no need to do that anyway - with a MFD the child devices can assume that they're part of the MFD and reference their parent. > So personally I'd prefer the option that requires least amount > of custom code if compatible vs no compatible property is the > only issue here. It's a few lines of code to register the child devices from code rather than the DT, and keeps it out of the ABI. --kfjH4zxOES6UT95V Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlqKy4kACgkQJNaLcl1U h9B1lQf/a8TZDsqEBvQtJkGu5qETjBBmD3NKFPciTMSDiDjESniZiUpr9iqEp8i+ agilWO/k3bTnMokOJbA099mqFI9i0gMc/VrdcTwdURkDnxc6/UN+iUD2rLLjZ0XD I+twFE0vEt8JAJZABYcspfHqogrwz0E3wHKwRnwJugf931HzzQqb1lyi1VYa1u4Q f/voPWQT87XIYpt5l04X3RGlgpKEk7mnyOFkyQUfsuIPr7FZlORRDuhNrypGBvHq /7E6x/X2JFPV0Ri9uFTjq+WsIeHMPztFiE28CKbgJC1XJFdji0uR7zH/3ZtD9TAn P4KmKZS2g8RozgPdo7K0uN6/IW+oUw== =u1LI -----END PGP SIGNATURE----- --kfjH4zxOES6UT95V--