Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp522018ybh; Wed, 15 Jul 2020 08:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrowFDsTZWwWQZ3m7LMgIEctrPSqwUvd0pWdjilizUdwJ2IgwVc1weS1GzbVqwThmYW1gp X-Received: by 2002:a17:906:95d9:: with SMTP id n25mr9856589ejy.437.1594825866708; Wed, 15 Jul 2020 08:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594825866; cv=none; d=google.com; s=arc-20160816; b=IZA3NIcA2UiIFmHzi25iIfooP7jVjlkOEPtVolQKuh1oD81WPdKpRLTy23Ew9kkRLQ G0VcvkGEl6kIZmZYvogNxt9g0vAlX9l0vOAptkX9O9wPzkSyZeWxybfbdQ2KB74l692L 49FCao/TiRcf7LVSt6KGv5uQGiHzWkFFvfNceXaL9cJ07vuUeNJsd+rb/S5KLEdLwiw0 a0TxoZWJv8KUw4WpMTrQhjqg5Opwdw6+THwLumfeM+4P87JUqNpjAaIZLVCkFESBRcul sW/87yUfqZwEtqvfgULc+41S5nF8woL7+eYM136qX16Zh9ToEipzKl3wPRnmrqm466Vx 0X/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; bh=Wtv3COoEdtXGXdj6u5PSxtMl4lUvflm9NRHoOGu9U/U=; b=tSXddk9idrrSFs0JbUAYgXMz02QgSUNRrh14+KfT3TZTeWWlSDxSQ5RX+F9GvX9xip PEIQ7c4C4PL5bDDspg1pzRd3IfdsZ8XN7D0XXoypM4shBgIIMZsyvbNWsm5pUtGB0+e/ Kmvi+W5T9FsOKCxzFsR6ionh/IrFECWT56TZ416ByOxWz+mKhFP84iNsbBfAqSGrl2pP ieeBsZ6mScGg/PAj3ribF0KZhtdBl8DGm4t6dzWNcrrb3h6BRPAigteD0ONRaYWSFuo2 hhporRCWzUJnwgqDxSk9odHWH3zyWLbs22JdPcXjYOsnRqohkOqn3UbfryCiVNS46Pez YCRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kUxdDYMr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l22si1330777eji.104.2020.07.15.08.10.43; Wed, 15 Jul 2020 08:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=kUxdDYMr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731999AbgGOOFa (ORCPT + 99 others); Wed, 15 Jul 2020 10:05:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:51134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727822AbgGOOF3 (ORCPT ); Wed, 15 Jul 2020 10:05:29 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E0B6C205CB; Wed, 15 Jul 2020 14:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594821929; bh=OsRhntqAyN9mOY8U9CdqOwYBY4i2l3Qux14A9WHRYhY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kUxdDYMrISxD5G0l2FMnWPMBLh3uWpKF5s/SbJgKqgjvDzTGAPs3JxlKjcV16/wh6 Zg+RfOOP3sXzrq2Es0XaPWd+8TyDG0a9msLnNCGT3Cac6iOBFrkHAgza/TUMjSIA6H CW4oT2uw0ZQV/X3UI0Vqiv7USca/rfpN+XvUOP6g= Date: Wed, 15 Jul 2020 15:05:19 +0100 From: Mark Brown To: Nicolin Chen Cc: Arnaud Ferraris , alsa-devel@alsa-project.org, Timur Tabi , Xiubo Li , linux-kernel@vger.kernel.org, Takashi Iwai , Liam Girdwood , Rob Herring , kernel@collabora.com, Fabio Estevam Subject: Re: [PATCH 0/4] ASoC: fsl_asrc: allow selecting arbitrary clocks Message-ID: <20200715140519.GH5431@sirena.org.uk> References: <20200702142235.235869-1-arnaud.ferraris@collabora.com> <20200702184226.GA23935@Asurada-Nvidia> <3f39a0bb-a766-f646-28b3-a51cf9983c6b@collabora.com> <3fea8912-63df-ff27-0c29-6284a85107ab@collabora.com> <20200714201544.GA10501@Asurada-Nvidia> <20200714202753.GM4900@sirena.org.uk> <20200714205050.GB10501@Asurada-Nvidia> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5vjQsMS/9MbKYGLq" Content-Disposition: inline In-Reply-To: <20200714205050.GB10501@Asurada-Nvidia> X-Cookie: 40 isn't old. If you're a tree. 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 --5vjQsMS/9MbKYGLq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 14, 2020 at 01:50:50PM -0700, Nicolin Chen wrote: > On Tue, Jul 14, 2020 at 09:27:53PM +0100, Mark Brown wrote: > > The nominal rate might be the same but if they're in different clock > > domains then the actual rates might be different (hence the desire for > > an ASRC I guess). I can see the system wanting to choose one clock or > > the other on the basis of some system specific property (quality of the > > clock sources, tolerances of the devices involved or something) though > > it's a rather fun edge case configuration :/ . > Thanks for the input. Fox i.MX6, I don't feel it would be that > drastically different though. And both SSI1 and SSI2 can simply > select the same root clock source to avoid that happen. If you've got two radios that both need to sync to some radio derived frequency it gets a bit more entertaining. > Yet, in case that we need to support such an edge case, what's > a relatively common practice to allow system select the clock > source now? Honestly for anything that fun it tends to be a custom machine driver. A property would seem reasonable though. --5vjQsMS/9MbKYGLq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl8PDR8ACgkQJNaLcl1U h9B3vQf/f9mEX7hrtyk9FWvaZgsqLq+mUUNALFg5rWK6DoRHzdL5zBIlHuZUkcxD dwIy0B20CLI43Xtu8/yIkVbPb9X5f2FfoJ0Jo9+R5I6yP6QIMR7ZVVbFwpsCoMGe nuf4HosTeun7cv9MbTQe/wMbF2kWdX/xPZyEN/DGDvXLs1e/vQHjg0g92LZYLK/A 5tLPFNHJQULz/QKxzHxCdgwNKeA5jKvSZK8I6jNBa+7HKFXbZl07pUGHpSEQ6aFI iuvyUH8NtvVj+P9f41yHAj3er2TEmpEg98M0JEmE61dahy+oGSivEyqcmJlfKxxd 4nn2FfBH1xDjNZn2ShW+vYcooN+k0A== =X4/g -----END PGP SIGNATURE----- --5vjQsMS/9MbKYGLq--