Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp734230ybh; Wed, 15 Jul 2020 13:49:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFxwh2S+W4pMfjfCtIBBpEF4INlvIS7XsGn70eNIeDHrFPao4htcYaFbYLvHrrWUEtKDEN X-Received: by 2002:a17:906:e089:: with SMTP id gh9mr737046ejb.482.1594846162476; Wed, 15 Jul 2020 13:49:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594846162; cv=none; d=google.com; s=arc-20160816; b=ik4L2lTorSO2SaHi3grYGjaJ1wqhpCCIJ6wc4NuwKsbkuXharwwJm0WuUwoAEZ2Af3 13hiDpPA3RYeextb9IH9xWQw/w/48hZwsZp+4eQ4USSS0jUWXMAcMjnvcmhSrksjhTxy HHgaGl+M8YryC9iKH1/W9mXK/DnaAOmCubxcbmnWBkWs2hKPq0WeVXlPF9vH9DeJuYI9 KvapBwFK/Q9c9eQ11fG0YtnVD4UcM3+1MHOLA2MXzZsv2IiiQU4zxVkKC8zI2lfilDvh d7mXpPdNjRMeq52K1eSQoo6UyIi1F6LHipogdWuMXO8XcQsmVfE06/WYKSspQH8vds5S 7JUA== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FXz7OnFn9ZprLznWsMLDc1PTFviPFIrchOGsQ58Z+yI=; b=oIz/fJLodBChSlC9LHv+P+0aR3NHEO/jNs6KS1qsbeCLc7tJQxwIiFIf/X1TDDuG9v V3KnxKUhC/QDJGBc1xP9Tl58DA2yIcfmWoBwYYqmDoi+RaKn9cEA+JVURSMLC4tLFLSc CHilIF8JGgN18ZTopJHAQ1P+NV9Dg4Iz8PX1nwMCh0Rx/lMDBlqcizJV+zRa+2D++6rY Wfrvi9Mb1GmauVBqTQiloeM2YEJZP/TkL7TYYn07robMfIvMGPohtpa0J106grct7kqt puU11xYn4I+6rL+g8NFq/QfSyWvM2uZL82eq2VHlToURO/A0V6X8mIzvKh7gqgRQRgmb YqsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hf3pdpYH; 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 g12si1915511edu.151.2020.07.15.13.49.00; Wed, 15 Jul 2020 13:49:22 -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=Hf3pdpYH; 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 S1726798AbgGOUrE (ORCPT + 99 others); Wed, 15 Jul 2020 16:47:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgGOUrD (ORCPT ); Wed, 15 Jul 2020 16:47:03 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5A25C061755 for ; Wed, 15 Jul 2020 13:47:03 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id x8so2874907plm.10 for ; Wed, 15 Jul 2020 13:47:03 -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:content-transfer-encoding:in-reply-to :user-agent; bh=FXz7OnFn9ZprLznWsMLDc1PTFviPFIrchOGsQ58Z+yI=; b=Hf3pdpYHLXpQj0ceAPhAiJWguzWIx1DkVx7VzOu8/NuBvdM0uzSDDQoXF8+61PDq/G 5Gzh0SQ1ifzWaK3+VdLkWAet53Z4WTCzPNYk1wmPq9dVabyxntyXt7Mx3X8fPAiOfSy9 iaTb0FZ9jSe3Wkkw4YloqRpQpVgw13bN9c3YBE2V+JxikNgZK4ZGNTdUzj+XP55eJ0jb rlospzo9NEnSdP9H0quq0WHGeo41hjgffgLpGc7iSDxLToaO5SNhQTDVYhHPuB+zPXGq ruW75+BJgJf3+ZIFuTWqoKMbzJ4IcuE6MaclsR2e8NSHoIpoYMRuxHc9RvpBbo4aKDBp plTw== 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:content-transfer-encoding :in-reply-to:user-agent; bh=FXz7OnFn9ZprLznWsMLDc1PTFviPFIrchOGsQ58Z+yI=; b=lIkW9a6YusFRrbgNOlp43utVy3djeLHu5dnE31GJk+J3BwTxkKeWxuGsJTeA0d3y2o m2EdN8Fp//527KgSwjz3bZnuzBn2jaFkniYaKwOMZW1Ru0a/hNPjVRlwpFxR9JKWZ+Ae ErrhfKQqDr3cGpt7Uy3l7UxZjBRWmi5RyP8I8EyJlJsiOFKzP2kdhoyS2WaXtY32tcRz HtqwZpfRMCRgIwfexqqMbZi1JAraLgNy0u8I0CbvqnQKtqVB9/ovNTI7bQ+xwjX5NtLl O5nzNJ9+Y0SgAy7U77m0n5S3TM1NwVBTVsa2Z357HSiSSsBtuuxm6NCBMIK7Xh6/EewC kuyg== X-Gm-Message-State: AOAM533m056GC5hLf/Zy7QfeWcVu8q5TKAK01mS+gPEQBiB/SS8Xit6v seZnibb+thYXe2KGrTg1rN8= X-Received: by 2002:a17:90a:e2c7:: with SMTP id fr7mr1460963pjb.103.1594846023187; Wed, 15 Jul 2020 13:47:03 -0700 (PDT) Received: from Asurada-Nvidia (searspoint.nvidia.com. [216.228.112.21]) by smtp.gmail.com with ESMTPSA id c14sm2839648pfj.82.2020.07.15.13.47.02 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 15 Jul 2020 13:47:02 -0700 (PDT) Date: Wed, 15 Jul 2020 13:46:38 -0700 From: Nicolin Chen To: Arnaud Ferraris Cc: Mark Brown , 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: <20200715204636.GA14539@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> <0a56326b-27a9-d9f4-3923-8773963d7548@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0a56326b-27a9-d9f4-3923-8773963d7548@collabora.com> 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 06:18:38PM +0200, Arnaud Ferraris wrote: > Hi, > > Le 15/07/2020 ? 16:05, Mark Brown a ?crit?: > > On Tue, Jul 14, 2020 at 01:50:50PM -0700, Nicolin Chen wrote: > > Anything wrong with ASRC selecting SSI1 clock for both cases? The > > driver calculates the divisors based on the given clock rate, so > > the final internal rate should be the same. If there's a problem, > > I feel that's a separate bug. > > Calculations are indeed good, but then the clock selection setting in > the ASRCSR register would also use SSI1 as the input clock, which > doesn't work in our case. Could you please elaborate why it doesn't work?