Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4069283imm; Mon, 30 Jul 2018 08:09:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftzRpYiPGPf13Ohs2bORNgKDdRaAn4GJfWYlIFpYLBvmGs4seQzC3UXLcXdmUrFxNmuxCD X-Received: by 2002:a65:53cb:: with SMTP id z11-v6mr16609298pgr.218.1532963373528; Mon, 30 Jul 2018 08:09:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532963373; cv=none; d=google.com; s=arc-20160816; b=eBTkWPL/ZBJPp1Iu1iJMQDn1t3hB9zE76s8nSqP8ClS8quvIfve1p4dYwP+VZEnaEF S3bcV1Z+XpI3ySgNSemOmXaQsO2iak0rZqgyZQ82yVtsOx4XE54bxu/K93eExUEOpfyP zIzMaLjSEerSF/gZlm5ZDGdXxVCE18NUkw7Rxves3/aydScjPSfe9Vgyi461dJsBta6V YW+Ncv/emZvLGPvV1C5+PCYvL3/ti7gtNf5UdeEvnJ3SqG/uQ0zjtwD6K1hjnkyhR0is PzK93vyEqZty3yASj5/AklcPMsjA7ZBOHmbne81aE0xsoQ0ZG9EqOTXNZwQtKDRdkbQy r9/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:dkim-signature:arc-authentication-results; bh=xhFb0rLdfmWvEdFhaCBSBot3Hi8iz8zujSR2SlQzco4=; b=nCRUcFJN7UdePhnOHJHz0Oj5GZPZBImGCGbw8MBDcXGkJaSCNAHMdE9/+OJu7bI7lQ HHjZZHlQuDo4/0R0kmzgeVEYFPbkCZjlZFy5E40xde69nTMV0pHPuAvK+UzrKhaL25Ky wF/CTEMbIsoyApZoAJtd7TCvqQiEJborxApbviG8kIWsOiHAp8UInkHq66jaCUqP6zUg pMnRx+FOHaePQqNTJHo8WE7A5NDoHHmeGvI5xYFRVVnkmM5ScA2qstM3d7B6m9vaP+dz zFrds8ZHaks77prJ0TV0t+tQ8ziI4KpXS5Cs0fkTM7f0yUGS25QQ/NJDzXpm65TtBidQ MWWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=gP2ntFxa; 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 3-v6si1379130plz.351.2018.07.30.08.09.19; Mon, 30 Jul 2018 08:09:33 -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=gP2ntFxa; 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 S1726787AbeG3QnU (ORCPT + 99 others); Mon, 30 Jul 2018 12:43:20 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37532 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726663AbeG3QnU (ORCPT ); Mon, 30 Jul 2018 12:43:20 -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=xhFb0rLdfmWvEdFhaCBSBot3Hi8iz8zujSR2SlQzco4=; b=gP2ntFxawMXF6SUvSipqif9tz VkXSa6Mrrs2Qk4AVNaSW67soLK1iIEE21pw4VuiEDvndpDqtMt92ItzMqAyK/vq1+OFMN+UF48iWh 8HLKQs07wbR/UN7wvskhUy2e61zf6+4bkxCOSBzMoz6egSK3QejKjElrPfj59cRtnbXFg=; 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 1fk9m1-0005W5-SY; Mon, 30 Jul 2018 15:07:49 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id 7CFFC1124216; Mon, 30 Jul 2018 16:07:49 +0100 (BST) Date: Mon, 30 Jul 2018 16:07:49 +0100 From: Mark Brown To: Jon Hunter Cc: Jorge Sanjuan , lgirdwood@gmail.com, thierry.reding@gmail.com, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel@lists.codethink.co.uk Subject: Re: [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback Message-ID: <20180730150749.GK5789@sirena.org.uk> References: <20180727125931.9794-1-jorge.sanjuan@codethink.co.uk> <20180727125931.9794-3-jorge.sanjuan@codethink.co.uk> <2392df6f-12bc-74fe-ec0f-50dbb7b9a33a@nvidia.com> <20180730101800.GF5789@sirena.org.uk> <2a91268d-351b-d342-42bd-8ffbf33a316e@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="T4Djgzn3z2HSNnx0" Content-Disposition: inline In-Reply-To: <2a91268d-351b-d342-42bd-8ffbf33a316e@nvidia.com> X-Cookie: But they went to MARS around 1953!! 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 --T4Djgzn3z2HSNnx0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 30, 2018 at 03:04:46PM +0100, Jon Hunter wrote: > On 30/07/18 11:18, Mark Brown wrote: > > DSP modes only care about the rising edge of the LRCLK, the pulse can be > > any width without causing interoperability problems. > OK, thanks I was not able to find a spec that defines this, but I saw a > lot of codecs use a single bit clock width. So then equally making the > default '1' should also be fine. There's not really a spec for this, it's just what tends to be implemented. > I still do not like configuring the fsync width in this function. The > fsync width needs to be configured for both DSP modes and normal I2S > modes and so it seems it would be more appropriate to do this in the > hw_params function for this driver. You *could* just always use the I2S width, it's going to look odd when people use a scope but it will work most of the time. --T4Djgzn3z2HSNnx0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAltfKcQACgkQJNaLcl1U h9BB0Af+IyXKfsxp1Wb1UfKoIPDIVgYtmwl+1Y8/bfWN3+FAgD2w+KKS2NA5mRBg WpXyuoJ1JxIj4016p+YX1JBtzQKAULHGaEK/GjWGHbh0e6hlG6uKgnAXTD2bGBjT vz0SanSzblF0DTUHzH4gZHc+/K8TK/LUWjLdDmrOFePZ+Uk83fCDbtPuJWPQ4t/B b57efuww3wXP0tAKIKFAtW+trIWXhByODi/tjqsR2VFE9gcUIsgpPtiq+dkbhPDb 3GJMrdExpTTIh5oG3oBu+8MyhJxw/Km6djZrC5cXPUXCV4B/dg0Y7TXcIRn5/lDI 8gaHajCblyhEYmfxnF+8ybq0yjffag== =Bfke -----END PGP SIGNATURE----- --T4Djgzn3z2HSNnx0--