Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7126761pxb; Thu, 18 Feb 2021 02:02:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzB/71Ebuq0dNAme24ELuXYZ7Mn89XQwBvTgxwD3Eh+K1Yupc/8eVbD/ZnAyjGUn+Cy1e+L X-Received: by 2002:a05:6402:151:: with SMTP id s17mr3216162edu.107.1613642564721; Thu, 18 Feb 2021 02:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613642564; cv=none; d=google.com; s=arc-20160816; b=qZ3WUP9PDQ5620Hd6vFyOz5h+Gln74YscJOVtogPtPAPlQGvpaZVR6Ut8/KF0dvUPJ vaxrh9QNwsPfhejBuRYTtAq5JurXLGfLAl7nM+Q8byErdd8Y+rHuF39hiUrTzi+gxv89 d6qbP5AnooVYg/UxX3Pg9M3Akfr3Nas/RWSTXUWUAXoOcGqRorSdbYWUGs+5xmMCj5Wy bZfQieisGJ+HrSNolo+PL0Xqwqx62BSm2SIgJ6nTgHEC+sQyCbf7oscpgvIgSjPEdITf dQBn63XWtkk+xgpI0YuiVRjVaV2gvrPkBMLWINY9V30z7Sp2xEmnYwXS93Hq61lKFDjX laBg== 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=i/WJpSX4uzDA5aJuFoZB5UWllePFnCgV7+z+EK2g9wQ=; b=u5z4cv4BYPKRgCkfoQWlASS6e7rQh7tb71BYiuro/vw+pyXUqaoORDDEFDasJJCGSX XKuadvAwFl3anIm7aZCwIqsl1U1Q/91px120/AV7kJdCLRKpiKHIya1LJYvjeKXqBbrC M+caYRtA1aGB0UbGSuzul/fDkD2yG8CymyXkT9KcuR6iyi81PC5M9EFL6jDsme50GrQC iJN+8ZZ9w6YfRJsWE2QxTL7sR8UJ3VeWx/PkebXWjDfFFGYEGH/9b9kFdAksYJBW8P05 D/wZvOZcRdmEgI45Cw6wVCX7PkztFgpHUseGEQsDMkseaTLyCct3pskadSDSDcC4nF5U 4L7Q== 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 t5si3228588edw.123.2021.02.18.02.02.20; Thu, 18 Feb 2021 02:02:44 -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 S230354AbhBRJ4o (ORCPT + 99 others); Thu, 18 Feb 2021 04:56:44 -0500 Received: from mail.manjaro.org ([176.9.38.148]:41358 "EHLO mail.manjaro.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231277AbhBRIxB (ORCPT ); Thu, 18 Feb 2021 03:53:01 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.manjaro.org (Postfix) with ESMTP id AD8283E60018; Thu, 18 Feb 2021 09:52:00 +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 HKvwoosvfVV0; Thu, 18 Feb 2021 09:51:58 +0100 (CET) Subject: Re: [PATCH] clk: sunxi-ng: v3s: add support for variable rate audio pll output To: Maxime Ripard , Tobias Schramm 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> From: Tobias Schramm Message-ID: <7379a9c3-3578-5cf1-53ed-ace8ff68434b@manjaro.org> Date: Thu, 18 Feb 2021 09:51:54 +0100 MIME-Version: 1.0 In-Reply-To: <20210218075835.o43tyarpimrcwbvk@gilmour> 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 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