Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7133945pxb; Thu, 18 Feb 2021 02:15:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxLUmRB4lEmd5SO/W1EHTsDdHziJ5B2EPxlsr3niLyVPG9meZ2aqTbXDDXyOjmWc/uDNTs0 X-Received: by 2002:a17:906:28d6:: with SMTP id p22mr3322635ejd.365.1613643353765; Thu, 18 Feb 2021 02:15:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613643353; cv=none; d=google.com; s=arc-20160816; b=hwa0c8sUuQpYOQoU0fEDignEPhyvz7CzG6IpX+bvGb4BjYsOMO/aLLdc8x9YLOcWWc qRV0VXB8vmFcMCVezFeo1mDm3exggmEo9Ir5fnkXimdY+NOqE7K/vMwo16JHPyDWQhCV hu7dWJMqVvBaPa4GSiOgz+jjkFPy61RsOluYzYbCoWfmNtFDnnuZW9LVAPVhdT73bNzS 7VTbGRet0aJvGf4PdKI2CDQ4qiBPgnjGXBrCbZ5wpA5+jw3odiUcBQyKWuOei1MRG9sV JdjS+yNab8OExMNqScdILBFnkTLowzysCbDtarM4lVoLZ5tVvpwBCGoX9dI1S4msJOtX Rehw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:from:references:cc:to :subject; bh=LeGW32v60tDUafyL8PyuIc+XfLgocq6fzobfq0qsMjg=; b=OMx/GKmpSoqAKSH6eY6yHSxlqN9To9ch8ZWuXJXDSd2/RF5ksv4tXieeOjJ4Bo/tEu BexRBCod3+LSCTeFjDPH4Q1COPfYYlJ9pWCuvPI9gqfO9sl/ToCK2D2KE+/Hiive5kZu 4KgaST8RhMCYknPtbttFn9h60RaK2zPpMfSfB+DsrArtC4T+mSwvpCOwjV6FBeu7lIFA bVe4Ci/DChBbsCdTfasaqUJK3rBpUn6nJO51zFTT3XMlZd57vjTD35FoA3EBMViX3T0k 6vPKLIsxtXCBj5YMxvDLHm1GpcSqtAnMrzY155tcTCv/EAQS3L+yECP481JH3IFt5y6Z zqwA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b13si49348edr.24.2021.02.18.02.15.29; Thu, 18 Feb 2021 02:15:53 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232280AbhBRJ6G (ORCPT + 99 others); Thu, 18 Feb 2021 04:58:06 -0500 Received: from mail.manjaro.org ([176.9.38.148]:41888 "EHLO mail.manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbhBRIzE (ORCPT ); Thu, 18 Feb 2021 03:55:04 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id AE9C33E60012; Thu, 18 Feb 2021 09:53:45 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at manjaro.org Received: from mail.manjaro.org ([127.0.0.1]) by localhost (manjaro.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SW9Vy6rv8ZvD; Thu, 18 Feb 2021 09:53:42 +0100 (CET) Subject: Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output To: Tobias Schramm , Maxime Ripard Cc: Michael Turquette , Stephen Boyd , Icenowy Zheng , Chen-Yu Tsai , Jernej Skrabec , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210212135725.283877-1-t.schramm@manjaro.org> <20210218075835.o43tyarpimrcwbvk@gilmour> <7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org> From: Tobias Schramm Message-ID: <2e4c479d-0132-2bb8-2bf1-7eec1a8daa08@manjaro.org> Date: Thu, 18 Feb 2021 09:53:39 +0100 MIME-Version: 1.0 In-Reply-To: <7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US-large Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Hi Maxime, >> >> It's not really clear to me how that would help. >> >> The closest frequency we can provide for 24.576MHz would be 24580645 Hz, >> with N = 127, M = 31 and P = 4, so it would work with what we have >> already? >> > > As far as I'm aware the multiplier N ranges from 0 to 128 (offset of 1 That should have of course been "from 1 to 128". > from 0 to 127). Thus 24MHz * 128 / 25 / 5 = 24.576MHz. Since this > requires the postdiv to be set to 5 it is not supported yet. > > Cheers, > Tobias