Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2348640ybv; Mon, 24 Feb 2020 03:44:26 -0800 (PST) X-Google-Smtp-Source: APXvYqz33Glv6A06uva7NFUnspgBkAZuy49H1K6NMpRqGvQu1FBT1YvRRIvjilknNIjaj0VyOnGt X-Received: by 2002:a9d:53cb:: with SMTP id i11mr40819130oth.158.1582544666356; Mon, 24 Feb 2020 03:44:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582544666; cv=none; d=google.com; s=arc-20160816; b=jHyQrCne9035x4hfcIhtQa95/mJKW0mzIs/ZvCe9dkFNiV4p64cWP0zjlRLA0fG/sV 6GTo3xjiNTHoBf9dOJjBdB6QB7k61hQkqgdQ2VbDaJzUt380E5J7oW96exrzLKYevrr0 V4HlZp8KFTF66fg901sbOgaRIg9Ff2kWEXc4kbHK4eyTXDPiWqfPtHNEdTbIglzY7SMs V9KS07j9NHN1BCo9J67ToXRqw5NXHxQSrM0AhIpVs3RrC8iV9Ju21bRVpz002vcKfHNT oZLsCJGYzwNl55UUP4H4xsUqCH7DbD6CrPpuEwqeheReGDFUcLKC653TfwMltsrogHP0 MDiQ== 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; bh=Ujjrxmk3Y1+yxleJ5vUykP0cmchhZXzNvBEUayO30gA=; b=caTOAGrPDaxdfvdtTEHCi+2lSr8xo2P7d5iMZ2NLzT0BnQk9iAYlzWn2f0C0+kEJMl iTDFXHRgyGX1Jh2v0w/6HvdnghN33M6cZr8NkUi9ho3qe5k1/z8DIN8uk3G6j2T+PkOo GKCLWBPAA0eVp6+xMRBjJl0fgYd3fSl7fvdIO32lY/Zao8lbskwSX8wIhFHsABFK/ROI IZR9HIuSfLEzoGmovo9gpb0J8oKebjrs3XggJvg/YeebIzPxO8QD+zuZzLqSN9T9x73A LrQ8Y02Y4OgmGaesJm+FXAL7t1NwgdDaxspQYbQt0nHTWgOhLpw6YJVKpPGjXZ/ymHuk CPYw== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r21si5913576ota.204.2020.02.24.03.44.12; Mon, 24 Feb 2020 03:44:26 -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; 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 S1727497AbgBXLoJ (ORCPT + 99 others); Mon, 24 Feb 2020 06:44:09 -0500 Received: from foss.arm.com ([217.140.110.172]:35786 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727275AbgBXLoJ (ORCPT ); Mon, 24 Feb 2020 06:44:09 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9580A30E; Mon, 24 Feb 2020 03:44:08 -0800 (PST) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E92EF3F703; Mon, 24 Feb 2020 03:44:07 -0800 (PST) Date: Mon, 24 Feb 2020 11:44:06 +0000 From: Mark Brown To: Jon Hunter Cc: Sameer Pujar , perex@perex.cz, tiwai@suse.com, robh+dt@kernel.org, lgirdwood@gmail.com, thierry.reding@gmail.com, digetx@gmail.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, sharadg@nvidia.com, mkumard@nvidia.com, viswanathl@nvidia.com, rlokhande@nvidia.com, dramesh@nvidia.com, atalambedu@nvidia.com Subject: Re: [PATCH v3 03/10] ASoC: tegra: add Tegra210 based DMIC driver Message-ID: <20200224114406.GB6215@sirena.org.uk> References: <1582180492-25297-1-git-send-email-spujar@nvidia.com> <1582180492-25297-4-git-send-email-spujar@nvidia.com> <20200221130005.GD5546@sirena.org.uk> <316ce0d5-318d-0533-ef06-bd7e8672f893@nvidia.com> <20200221165535.GG5546@sirena.org.uk> <47f94534-e997-d56c-5793-ae832fb2add4@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <47f94534-e997-d56c-5793-ae832fb2add4@nvidia.com> X-Cookie: How you look depends on where you go. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Feb 24, 2020 at 11:28:57AM +0000, Jon Hunter wrote: > On 21/02/2020 16:55, Mark Brown wrote: > > The ideal thing in a component model would be to represent those sample > > rate convertors directly to usrspace so the routing and rewriting is > > explicit. > I assume that it would be OK for the sample rate converter itself to > expose mixer controls to configure its input and output rates so the > user could configure as needed? I don't think so, I'd not expect the individual drivers to be doing anything user visible here - if we know what a digital transformation looks like the framework should be offering anything that's needed to users (and hiding controls that don't have any practical control in a given system). > > Is there any *need* for these to be user configurable? What's normally > > happening at the minute is that either the external DAIs are fixed > > configuration and the DSP just converts everything or there's no format > > conversion done and things get passed through. > I can see that in most cases there are a finite set of configurations > that the end user may use. However, we would like to make the > configuration flexible as possible and this also allow us to test lots > of different configurations for verification purposes as well. Internal testing often requires things that can't be exposed to users, the extreme examples are things like battery chargers with health and safety issues if the full range of control is available. --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl5TtwUACgkQJNaLcl1U h9Crqgf/ZrHdav/H3sg+ks8XPns3tfhmaN7zdKxLkEl7rclyGrxXkz0hGGNflA0b ZmCq+byMf1McM1Ay4GqHsIP6kYxwqqZzKPpoV1tOZRHrH85RoI3qrofsZAuEYGMP KZ36BR55I1oIZXa6NxuOM/Fdrg4hcNanuK43zaXWS9mM3UweiIlXCmvBiWZR4koK dArroM9BXo7ZXuWWVbhmAfnu6Mi/ZUk3uGauKjlP1Odo7N9B4aRvhV686h3Baaq1 zeLawuT/y9N6G623+AkUKTuuEUfLfk/fhE16y2SsrCxgxrRvBqKDNZLjO9YkiiD9 vcfUOJKsjpBy/LOF4JV2iwHc5xC+wA== =rFOB -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--