Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp742140ybh; Wed, 15 Jul 2020 14:04:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOzi3Jx4g3DB+ZvXtVXOD7C+GWN2i9JxhbtaNGOe39ztlDecCf+cmbNVnXj7nhiwOwRQkm X-Received: by 2002:aa7:d8c2:: with SMTP id k2mr1462403eds.346.1594847066872; Wed, 15 Jul 2020 14:04:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594847066; cv=none; d=google.com; s=arc-20160816; b=hgDYLy3nQI4OQt20ES81v0pxrvew4uLfhhkd0yqI9Gf6oJp9YAY0NPhkv+Z9uLNZcv Y7A/XIhIldX1kB3gFWwgdYDyXThLoiqZc2JpSagWwNE5noqfMRTl5RCEXtX5nSQGj9Nc ojVC4Olui9pHrUVbe2ESliFySW3vTodNYr6hlloDYEmPkYKlmISw3Jsu29IdGH6t4qxn XyJqS1UuJKH1TseZslewsv4x99tS508ssr1Z5qp99ea2OcuFIa0SJI9nUfUCB1iOYi2/ qzTDTKeOotN6nONhZN+JSU3JKv0LfeAtGYwt1AaYcfQtDGnMMUlqifqPAQhNhousTISQ sGMA== 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=hRzNY1JDvrNXSdO8U7l97e0qNXhN4R2q/raGpfh2xSg=; b=t2qKdje17AT4Qpzd7qUL3QGwPh+xrHp+jCHnu0zN1lXacuRfNCuiVyyxaGScozQIZV cR1wwN+O9mw88Q007YWX5pH9k+CU8LZLlVtw0fCOdnTFynJNm5dfuF5PRrWxlaNUwJZB 0k3UTNPE81XsBIN01LQzpJps9xqAPF5NicvJ8S3bFyNwS/Z+mn56zjOpRn+jI0EILkEa +U8AFaP0J6UR7P8v2AeVyLkWgYmQluMAWA1inSP5RDLf0IYpMD6zAwy0HTNMxqoAK98L 3eoq5vQ6ENXN5dYbpyaUTLKtth7ZziBhbCxOvu7M8+c3KRHPRbX0BXtXa4yyncAasKxa fkCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M0a6hIft; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rp11si1900093ejb.280.2020.07.15.14.04.03; Wed, 15 Jul 2020 14:04:26 -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=@gmail.com header.s=20161025 header.b=M0a6hIft; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbgGOVDe (ORCPT + 99 others); Wed, 15 Jul 2020 17:03:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726803AbgGOVDd (ORCPT ); Wed, 15 Jul 2020 17:03:33 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7721C061755 for ; Wed, 15 Jul 2020 14:03:33 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id a23so1038724pfk.13 for ; Wed, 15 Jul 2020 14:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hRzNY1JDvrNXSdO8U7l97e0qNXhN4R2q/raGpfh2xSg=; b=M0a6hIftqMPigj4qmdMeWnqpRS3Mhy/U/7tUxAJxo7OSSYbXSs1F2eHV2Got5uVniB fnnxdnC9ZZJqASAvHEjKtn37vsFNBdsR0Y+c7kAeDJx9/bg+oiwPjtcgbgWSxF45qxW/ +YUIUkpaCLuGaqFeYoJ7IQUIUHnjtTDVdO2eOUlLAEZc+mqjD5ce/+F+m7DsX6qxzgsf zt3i0YoDpSePFWCBoqV0JgX2k1GtNZd9x0PsQ6mObkRRhuqa8i13bcNSo0ft2Yhdpy+8 FlYet5jyBRKAe9z/e6RkiL/kXCrQdGGuqn8MWdizP19m3CiL1UddjV1tqOIDudAmNzml 3zlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hRzNY1JDvrNXSdO8U7l97e0qNXhN4R2q/raGpfh2xSg=; b=szYciO7S96I35LaePNsF6Ceo1iAAgsApLwPGnoXx1DVX6DwNLDuPLtELD2ep+rcmNN j3puD9PwxsJtvHC1Gg2rvQgUtQ1EkHBYgQJYSHhS/J3yqfg3OFtP5DMIvKuellQzq5e4 Ib6lMwxu+xU/yBPbpazOjd6ZAf/OHYApAxapPEen3ytfOAOM9uOIxsc/7SnYoOL28vZ4 qTSdXALp3S2FBQsghHmYcQtL/URhQgU4iUIZnmIWDz/qFY++OT7K2aChisp4RjFYgVo9 CN+CCA3PcbZSI86Vzy9rN0KUzCIDmM/6prt08HrQeCUwEHSkF9h9b6Eco2DwvqbyxdyA VZwQ== X-Gm-Message-State: AOAM531Ij6HOzWltZ0Z3a0CN24alKPsJ5qHUCRu87LDKw3g5qnEIc3Xl XquQllhQeSElf+cLALQfHRQKwra4Zug= X-Received: by 2002:a62:e919:: with SMTP id j25mr957900pfh.123.1594847013262; Wed, 15 Jul 2020 14:03:33 -0700 (PDT) Received: from Asurada-Nvidia (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id y7sm2949173pjy.54.2020.07.15.14.03.32 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jul 2020 14:03:33 -0700 (PDT) Date: Wed, 15 Jul 2020 14:03:08 -0700 From: Nicolin Chen To: Mark Brown 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: <20200715210308.GA14589@Asurada-Nvidia> 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> <20200715140519.GH5431@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200715140519.GH5431@sirena.org.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 15, 2020 at 03:05:19PM +0100, Mark Brown wrote: > 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. I'm simply curious what could be a problem. Do you mind educating me a bit? And ASRC here isn't a radio but a sample rate converter working as a BE in DPCM setup, using radio-capture for example...