Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp249447rdb; Thu, 22 Feb 2024 02:28:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVLaoVUVSnm4G+m7Ll4OA7csE0+RVnULU+t1XRqEK2Hh7amzLgqOH2KDFS0nWgcTmvviaNLia21GJQSWm49onXsYO/Q/S40yXEEsaqzVw== X-Google-Smtp-Source: AGHT+IH6JiOS+b0AVfWVUbRhXU9HrnjByleDniOazCrnc6og3X+sYLA0YBTabwc4BRjwfJJ3ZcEE X-Received: by 2002:a05:6a20:e188:b0:19e:3a94:6272 with SMTP id ks8-20020a056a20e18800b0019e3a946272mr20241598pzb.44.1708597739403; Thu, 22 Feb 2024 02:28:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708597739; cv=pass; d=google.com; s=arc-20160816; b=cuzlFvmnX3I1X6DmTs0j690O+vs0bgJwAAfniC2uFsNEFy1nh8sCWdw2WPGDSvrv8R MwrRoI3xHvoMqz/JimYxw4Y4ByfYZV8Gf9srgh/nuUFfHwyoauW4lrsoUPafv7Lxm161 B+f5VxKaU24iyINqWSdKSaNLDaHWNPiz0pwyYoTvINB3xGp8At+rp5em4ffVXj0Il4Ee UkcsMTlFaRlREa1uT+o9/VxS3L2udWisQC8+9sSWHj5UqaILOWii0F0j0e66QeA5/yBS 6uw0XPu9SFRolHMpKKix25J6QpdpZwPO77UrNOCcN/klWhJOKdLzksr2Aq8Zw7BptMq3 sTDg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=G6fjN3Ns6VgNjpRzKBens39F22ATmQ/obaPfp2cN/K0=; fh=qipoxMkYYbdfm8AowZIXyclrxzp/df4JKFiOQlOjfHg=; b=WtWXlhaHdA+0dpySfp/3W29U8ehnFM2yOd9ICSoEz+i68qGqutnamZ2gcUrlhQvNLb ruhxbPR/NSnOIDvQWk2pS4XlVH3eEy9PN3H/tOcCvCGxzzqryX4AoixBSU4TOvwge86V 3wD6SlmRYZZwNwD02Yl+kGiZPZu2+awNnc/tc2juor5aF8oZ8fDkx2DLYDEZDyHeQFFc KqaapD1+kL7vRWqtUrVamaWL4pLPRftAc9kvPu8fSNg2aDQ5x+uRWbpM3q/MN5OPwCZI y+hgSkhOHXsnLkTLQlhtPHNjI5hTc1IFVVwMkSqGUGcJ8c+58DFUmBXaegCrQfeB4mJi vPSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qWwbxASk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id b1-20020a170902d30100b001db6c2ff7d1si9674167plc.101.2024.02.22.02.28.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 02:28:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qWwbxASk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76331-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76331-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 08D9A286F69 for ; Thu, 22 Feb 2024 10:28:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A55B3C06B; Thu, 22 Feb 2024 10:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qWwbxASk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93F2B1B59E; Thu, 22 Feb 2024 10:28:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708597685; cv=none; b=MJZOAnFA+zYhTaxjFowqPqjvkrV/D0I4ZCi4VNWAl6/B11sk2BvtB2MMqvq6RXkZ3EtmYLCBSLmhgxpdthT8EiICsWwapZnNCf0EGWmpThZkY4kc5kKa21STBnLrb5p1hDyZJDNcpvMVDR36ckYmcEXaLYSd7foJWxktk0xG8Ds= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708597685; c=relaxed/simple; bh=b4FUqCJ0EFJCW1Eb2H2P7CKrb72vkMjtY68vabwTKH4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Eai2Xyqr4l/VEO1wmWslUCUuZkWaU+/fBQ4llQyBQwnR9BRCMNCsi/Rj908Vvbsmicq99jTNPJlw0XS/cMT9E7O5tsJSxvFaWRZPiowpXzzlFsfr3xzLnKMqzz9uzLRBUxIJ3SA/uVQ+zGHTyA9VmRYwvZPpdSepPP+2V6VJmXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qWwbxASk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80B22C433F1; Thu, 22 Feb 2024 10:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708597685; bh=b4FUqCJ0EFJCW1Eb2H2P7CKrb72vkMjtY68vabwTKH4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qWwbxASk1MbAVTuyZfGCOFBhHJn0KpL0yeXX4HC+Fz2c/rwa0T+PGhF4Vk2pE4SHP QHEy3WJOaieXRi4kEplUJuaoAPVrmU6E4KBZO8i+8KreL1vrFDmA1Uh3yO/8Ie0Gdq Nurfasgeew1ljzYRCNxFqcf/WAFG11U67kfbrXeIRpkzcYuDcpbMl0fmm7jqnvOlYU SNrLZbjUC8hz4FSfzG8C97126If854WAjMA86c/UC6RI/Ij2A8AohL6BiD1TtGLf58 JTJJ/bKq+xoo7ZtM78azfGmPVRuabtrnSlGjCRD3UBaIh6UztK6Hz8mwNY02e7Mfax f9Ws2/duLb0KA== Date: Thu, 22 Feb 2024 11:28:02 +0100 From: Maxime Ripard To: Frank Oltmanns Cc: Jernej Skrabec , Diego Roversi , Michael Turquette , Stephen Boyd , Chen-Yu Tsai , Samuel Holland , Guido =?utf-8?Q?G=C3=BCnther?= , Purism Kernel Team , Ondrej Jirman , Neil Armstrong , Jessica Zhang , Sam Ravnborg , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 3/6] clk: sunxi-ng: nkm: Support minimum and maximum rate Message-ID: References: <20240205-pinephone-pll-fixes-v2-0-96a46a2d8c9b@oltmanns.dev> <20240205-pinephone-pll-fixes-v2-3-96a46a2d8c9b@oltmanns.dev> <8734tmhzkg.fsf@oltmanns.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q4pk3zqf4xnyu77u" Content-Disposition: inline In-Reply-To: <8734tmhzkg.fsf@oltmanns.dev> --q4pk3zqf4xnyu77u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 21, 2024 at 11:38:39AM +0100, Frank Oltmanns wrote: > Hi Jernej, > hi Maxime, >=20 > On 2024-02-05 at 16:22:26 +0100, Frank Oltmanns wrot= e: > > According to the Allwinner User Manual, the Allwinner A64 requires > > PLL-MIPI to run at 500MHz-1.4GHz. Add support for that to ccu_nkm. >=20 > I should point out that limiting PLL-MIPI also fixes a regression > that was introduced in 6.5, specifically > ca1170b69968233b34d26432245eddf7d265186b "clk: sunxi-ng: a64: force > select PLL_MIPI in TCON0 mux". This has been bisected and reported by > Diego [1]. >=20 > I don't know the procedure (yet), but probably the fix (if and when > accepted) should be backported at least to 6.6 (first broken LTS), 6.7 > (stable), and 6.8 (next stable). https://www.kernel.org/doc/html/next/process/stable-kernel-rules.html#proce= dure-for-submitting-patches-to-the-stable-tree > My suggestion: > - In V3 of this series, I will reorder the patches, so that what is now > PATCH 3 and 4 becomes 1 and 2 respectively, so that they can be > applied to 6.6 more easily. > - Maxime, IIUC you requested some refactoring for handling the rate > limits [2]. I propose, we use my current proposal as-is, and I will > do a follow-up series for the refactoring. I'd really like to not introduce a new ad-hoc implementation of range handling. It's fine for older users to not be converted yet, but we shouldn't introduce more users. Maxime --q4pk3zqf4xnyu77u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZdchsQAKCRDj7w1vZxhR xazKAQCsOgi9EGPB1NvcUX+zJHujzzu0Eni6yLd7IVdDRMkbQwD9FgYrQZze53po fwfG9jJrp7PSo+5yd2QAWoj53xExtQw= =1YY2 -----END PGP SIGNATURE----- --q4pk3zqf4xnyu77u--