Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp637973imm; Wed, 29 Aug 2018 08:29:12 -0700 (PDT) X-Google-Smtp-Source: ANB0Vda5Fo1CdUwbNglqd1T8mCQhf38r3u7IgKpK/FCHEFSi3BzYAwCWuVJ5hHPcWk1aScp7PRpK X-Received: by 2002:a63:f60:: with SMTP id 32-v6mr6220955pgp.399.1535556552261; Wed, 29 Aug 2018 08:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535556552; cv=none; d=google.com; s=arc-20160816; b=PkURXjQIvItuLEzUaZf0J6R10IGVUKusT5XnmUiLzush1j54NXhJJc/Gy0XpzXYdS3 K30XThUo22ZyHrBayOaA8olBd3rqFUDF3jm23eGCRcyatzp3lc6ZLXRcNLLuXVEkweub 9VuhOtKk3l9RjVp9otE0jTL6dF1K7uxnLLHKqXr/ZLaA4E9gEPgqZrloRXoL1upvk9uf kqcrYIPpPIigPPxbx2u8c+rDjkrZa53bujL72xnxlSsYzO2voJcupLMpgBRFuhjvKtio +ixAL3eSBcRSlmY4KJa1e9jP/jG2SAdjBv8FW0f3NvFLQG+6wo2rFAD8tSzyHM1JObTQ K7Kw== 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=GVB1UU6bi4gEOSNGnceU3Cjrd5hIgKgYxmVcR0XxOU4=; b=RbCo71y7VYnaB1Apd5BG4msHEPYeshK5qhBBWtxh4skYXl2Rihz4y1lw7UM47vRbhS M/qj2g9xAl+HtjECOlXlJA98Z0Ipe8s4VC+ehT2d2pYwkfhDMsprTHHkB+f//mZuG8w/ GAPerCXWVU72bHPVpMShCvPmUo61c2ZZxMBT+x4OXZCBaa2sFUS7c33bFwWaOMX6KV6J XJiUhtM/+50sjoaVXhzeBC0AWKVHpe7ttDmOsuj2DOewSV+Jl2ScRe1ALO5224kPZzVA SKx1/wzgZ3ySKI1bf+obf4zShku/BNRaXTABXXDaCrdGTSoIUXTo+c4tBHs77R2+Twr7 g8PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=YjWiROD0; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a61-v6si4242112plc.239.2018.08.29.08.28.54; Wed, 29 Aug 2018 08:29:12 -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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=YjWiROD0; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729087AbeH2TYb (ORCPT + 99 others); Wed, 29 Aug 2018 15:24:31 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:56612 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727204AbeH2TYa (ORCPT ); Wed, 29 Aug 2018 15:24:30 -0400 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=GVB1UU6bi4gEOSNGnceU3Cjrd5hIgKgYxmVcR0XxOU4=; b=YjWiROD0mzwAQoSxvdOWb5AXs oea82Dg9IT6eSDn0SLErHd8ImZHGmd1AbbmDuZLsjHOfn/pEwSG7+yk403sOprjePJv3TxpTgUEdT E5oGUaxCOxvE41rB5hZ4hWvTXSx2iTvOQeGfdO1MpZ7AEhYvfxFYVuSHKpSgg9kKL3pOc=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1fv2Mz-0000T7-9W; Wed, 29 Aug 2018 15:26:57 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id BDDE6112486B; Wed, 29 Aug 2018 16:26:56 +0100 (BST) Date: Wed, 29 Aug 2018 16:26:56 +0100 From: Mark Brown To: Codrin Ciubotariu Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, robh+dt@kernel.org, alexandre.belloni@bootlin.com, nicolas.ferre@microchip.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, florian.meier@koalo.de, cristian.birsan@microchip.com Subject: Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731) Message-ID: <20180829152656.GF27808@sirena.org.uk> References: <20180829144727.13757-1-codrin.ciubotariu@microchip.com> <20180829144727.13757-2-codrin.ciubotariu@microchip.com> <20180829145355.GD27808@sirena.org.uk> <8f1ecff2-aab7-2a1d-a8d3-8d0062a8a9e0@microchip.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9ADF8FXzFeE7X4jE" Content-Disposition: inline In-Reply-To: <8f1ecff2-aab7-2a1d-a8d3-8d0062a8a9e0@microchip.com> X-Cookie: Not every question deserves an answer. User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9ADF8FXzFeE7X4jE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 29, 2018 at 06:20:59PM +0300, Codrin Ciubotariu wrote: > On 29.08.2018 17:53, Mark Brown wrote: > > That also has the nice bonus that with that I think you'd be able to use > > the graph card rather than a custom driver? > The main reason for adding a custom driver and not using graph/simple card > is the snd_soc_dai_set_sysclk(codec_dai, WM8731_SYSCLK_XTAL, > XTAL_RATE, SND_SOC_CLOCK_IN) call. This enables the oscillator found in the > wm8731 codec. Since WM8731_SYSCLK_XTAL is not 0, we can't use > system-clock-frequency DT property to set it. Right, that'd be more substantial surgery on the driver to change the DT binding so that it's got a clock provider in it; it'd be nice to do but it's a bit much to make it a blocker so the machine driver is OK. --9ADF8FXzFeE7X4jE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAluGuz8ACgkQJNaLcl1U h9ABhgf+P2btioRY9N06d9KjSWUiRSkEYQPemnjN526ijueP5FG94UR8X5u2zmxE 6IyhiNVhkYYm3lythZpKBabkm0nU3ZR1wUhMa+RUCs2ZAaUKSRs+TK+LhqIDpAPw eV+I7/kJ/1OD83+Z0NJNeAxxECW/QwkH90tBSwYC5mUmMiofOMAJWLAQHWaPBsBA nR3oYqiEySwVj3EYJ/dqWhy9v9Ld/fYykqy/+RbrRiradU3UuS7MapUnPUySi9nE jjV6n+rAXnZXwNX6zcawFISVzXeBrhbpdTLVmelIIxZa71ESj7sL30GXIZCXhHLt D7Ux1EEd4mGBJwfIjzcKhIy1PVHriw== =MfUu -----END PGP SIGNATURE----- --9ADF8FXzFeE7X4jE--