From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E67DEB64DD for ; Mon, 3 Jul 2023 09:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date: In-reply-to:Subject:Cc:To:From:References:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=osYKWc8jfUTAwjOGDZWSWm1SxO5hnlEU9XRIFdENG3w=; b=QWeAznv1W7HGP2j1oYqPzrgYrG i55117/hFrAhdkFS+GIhwhMHPLiPU+hjDpeoRjCHVkhufkzwPyEiIDM0h8b0eti9bAUshHqVMvmwS zeEUvXGh+PYwO/dONFJZLfDT1aPvspiAbzAom31ymeTKhqAPEkkae+j+6d/B7xKI6uDF5zxru+1oc STo4224QNH5q7pspRI1znNER0UOs0z+yO6vsZtyqkw05ksYkax+p7HV0WywspluL8eVzMNXUGVvn0 41xde3By8hPn52iD5jNQFzDMm4engxxLNFEQLWp1vt37x9p8dOhjA/4Uv+fqYEPV7mV4BK+XL78aS ebJFT2ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qGFyr-009xKG-2l; Mon, 03 Jul 2023 09:36:25 +0000 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qGFyo-009xJI-0v for linux-arm-kernel@lists.infradead.org; Mon, 03 Jul 2023 09:36:23 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Qvgm12Zkmz9sqG; Mon, 3 Jul 2023 11:36:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oltmanns.dev; s=MBO0001; t=1688376977; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=c1JsEa02ZZ9hIj8kyijs4IOojCm49i+SpDKQ3wmc3yc=; b=T2S1+Z5Uj9uWyp7TSiQRdyGVNHHsOm810YWrvKvShxenZFNvbiJhuzYubsNJ8OZzB9jKd5 yGZioIJ4Zv3pBGO412OBh2/jv75oH47Ou6HYddT6U3POWvqijE5Dw4I1i4R8DFR6BFS9mo /KaEkn/Z6xrg6K4bgKZSVBDBLgB9o1mCa0kmrzYiVgbGuhpzE9u6Cm0dhhMVRxkje3Do9Q BjZUBD2lxkgPDAFsDl/rGb1nYeCSoCLgYbjt8wBUiJVRKo2jDATdq5HrXBdzmmytB/XYDA IUODHDwaW7X8McsOzdwaUwJse4e55cFQeMbXDmqbZVZJ8+1C1vQJAEralUSN5Q== References: <20230702-pll-mipi_set_rate_parent-v3-0-46dcb8aa9cbc@oltmanns.dev> From: Frank Oltmanns To: Maxime Ripard Cc: Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Andre Przywara , Roman Beranek , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/8] clk: sunxi-ng: Consider alternative parent rates when determining NKM clock rate In-reply-to: Date: Mon, 03 Jul 2023 11:36:15 +0200 Message-ID: <874jmls5f4.fsf@oltmanns.dev> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Qvgm12Zkmz9sqG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230703_023622_469505_BB83D89A X-CRM114-Status: GOOD ( 15.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2023-07-03 at 09:51:22 +0200, Maxime Ripard wrote: > [[PGP Signed Part:Undecided]] > Hi, > > On Sun, Jul 02, 2023 at 07:55:19PM +0200, Frank Oltmanns wrote: >> Changes in v3: >> - Use dedicated function for finding the best rate in cases where an >> nkm clock supports setting its parent's rate, streamlining it with >> the structure that is used in other sunxi-ng ccus such as ccu_mp >> (PATCH 1). >> - Therefore, remove the now obsolete comments that were introduced in >> v2 (PATCH 1). >> - Remove the dedicated function for calculating the optimal parent rate >> for nkm clocks that was introduced in v2. Instead use a simple >> calculation and require the parent clock to select the closest rate to >> achieve optimal results (PATCH 1). >> - Therefore, add support to set the closest rate for nm clocks (because >> pll-mipi's parent pll-video0 is an nm clock) and all clock types that >> are descendants of a64's pll-video0, i.e., nkm, mux, and div (PATCH 3 >> et. seq.). >> - Link to v2: https://lore.kernel.org/all/20230611090143.132257-1-frank@oltmanns.dev/ > > Thanks so much for that new version. I know it's been a long discussion, > but it definitely moves in the right direction and we're fairly close to > a final version now. > I think it was a good discussion. So, thank you for that! I appreciate your feedback even though we don't always agree. :) Thanks, Frank > > Maxime > > [[End of PGP Signed Part]] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel