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 316D1C83F1A for ; Thu, 17 Jul 2025 04:36:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=D803eWTVzVs6Uo0+bSMfFpICtFh8d7svxREoBEc+BWE=; b=y+uSVlfC9s8MRfZqsWdFEaIn4Y 2nIavjoKLimI4bz7ot36EaCGtpWal3TQWnMD/hDcyMCCEthlxUucq44LRVflmWWiqLjI+NhppdwYC qvEhGTWykAeANQFIC+F4bv7aIQSxiPxxKNk+hcD9UhwUGzEFZ5o3lS5eRnPMQWfrHSoM5Pmyg7QTa Zjz/iuq5X2etWLBdFAquBpvWMAnWrd8T/Oq5MlCGCsz1WMgBDZsEXfwqju7R3xqFrX0bBbs4c0nKW 07PUcrxnn99g3mRRvNKMJYu5RF7zE8q7juAemqph6AMhusim1W785taw/GswlkimwqeSS+Gk7aYA7 zdtZgJ9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ucGM0-00000009BVp-3syb; Thu, 17 Jul 2025 04:36:20 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ucGHB-00000009Af3-1ZpS; Thu, 17 Jul 2025 04:31:22 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 62F2F5C5DEF; Thu, 17 Jul 2025 04:31:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BB0DC4CEF8; Thu, 17 Jul 2025 04:31:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1752726680; bh=IM68S//NvUk9WOnAVFcOtxIP85pYqJsXzJfP01d3rmY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PDiskj3pbtFFwWBsuiRXKd7QTukP+bg9n/LtZzr4+kMf8kZLpvFnCR1B5ePhqXRC0 v/pPAjZ/En2daNHaSWiK22g8MBKKI/3IzaTtDKGTNiNNBp+Ixt2aluhMVezkqGqOWH ujyplu5d2UlgNap9+SBtTrTFtW00963rjBWlcplLNsAK+YqEeEAVQwRYl/Z5kvk1cy eoAO6lIbhJ0PAcTUU7WJr49iDDrjKp+BC7SwfXeLQgX5ba4AaXa0Tk/6l1dHK7kDF5 GnaHkbBuZ2UBCtE0WeOwcRNo2MkhoKYphbhefkdDZFSBpTkcExnO9siG13/eVe38AK oMimYhtWBMudQ== From: Bjorn Andersson To: Michael Turquette , Stephen Boyd , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard , Brian Masney Cc: linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-sunxi@lists.linux.dev Subject: Re: (subset) [PATCH 00/10] clk: convert drivers from deprecated round_rate() to determine_rate() Date: Wed, 16 Jul 2025 23:30:53 -0500 Message-ID: <175272667152.130869.11156864283181133253.b4-ty@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250703-clk-cocci-drop-round-rate-v1-0-3a8da898367e@redhat.com> References: <20250703-clk-cocci-drop-round-rate-v1-0-3a8da898367e@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250716_213121_453672_7D5DDB7D X-CRM114-Status: GOOD ( 11.52 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 03 Jul 2025 19:22:24 -0400, Brian Masney wrote: > The round_rate() clk ops is deprecated in the clk framework in favor > of the determine_rate() ops, so let's go ahead and convert some of the > outstanding bcm, qcom, and sunxi drivers that have a round_rate() > implementation over to determine_rate() using the Coccinelle semantic > patch posted below. > > This Coccinelle semantic patch is able to automatically convert ~95% of > the clk drivers, and I can clean up the remaining ones by hand. I'll > initially post some small changes to get feedback about the approach, > and I can post some larger series by submaintainer once we get > agreement that the approach looks good. > > [...] Applied, thanks! [02/10] clk: qcom: gcc-ipq4019: convert from round_rate() to determine_rate() commit: 3ebefed3d3afbda632b5647a06598e1bad1baeb6 [03/10] clk: qcom: rpm: convert from round_rate() to determine_rate() commit: 120c4b7a35a2e2414fc3e35b34526b60ac54515d [04/10] clk: qcom: rpmh: convert from round_rate() to determine_rate() commit: 2c0dce7392fdc0fcca1f133114c7c4295ac69233 [05/10] clk: qcom: smd-rpm: convert from round_rate() to determine_rate() commit: 11add2107c04bdcfb499cdb96ab156a4646ec9e1 [06/10] clk: qcom: spmi-pmic-div: convert from round_rate() to determine_rate() commit: ebec04773bf313280fe1cd9c0877c73660e69a10 Best regards, -- Bjorn Andersson