From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 AA71A3126D6 for ; Mon, 8 Sep 2025 17:12:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757351530; cv=none; b=Lrn1b8Mb6Ey2V/sTNHzhKg3vyT6v/if4x8N+4tJjYV5JXPpMNxr7KDuBiWtxrbPHt8FP6zlTJSZ7smuv45msBjeTyuSItM7x3MtFWNVdLiDNb9DG5Gv9U9p+QFjslSRMuDPpP8PXJUKYHf4e/iRo1FpfCaJaNgwr1QnKYsTwjok= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757351530; c=relaxed/simple; bh=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: In-Reply-To:Content-Type:Content-Disposition; b=CWiCbN4vKrqc6ZMWQee+adNZpGdilyOX1l4nIgv7rTUanFbLU4Nh3AGi+87sYtJsFc0aAKiv+tlga30WUlYGnzxy3zlHrtOhWOciXpmghQ521pNmzG/KJlrXRhFX1b04pJ/hT+tgSJ1jA7BVwzVc0f6hBKjJIclvhIrLSTzk70Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=ZuHq0bgQ; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZuHq0bgQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757351527; 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=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=ZuHq0bgQveon6kp40mnKKhpBoBWJdfWnY67qlHPz9++SQVij9nh/gwl/t2W/HG+saDFKCf nvUu2YmR1+yWvLYAD9GVp8F/2TrLvwdYw19ooinDxC9ot27Edcn566GZjiykKj8LSVundK qnXN8C67pACLu9F+Y4Rld4u7G6QuGtc= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-317--X4M7WNbOtOJIFX7KNno5g-1; Mon, 08 Sep 2025 13:12:06 -0400 X-MC-Unique: -X4M7WNbOtOJIFX7KNno5g-1 X-Mimecast-MFC-AGG-ID: -X4M7WNbOtOJIFX7KNno5g_1757351525 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4b345aff439so132402031cf.0 for ; Mon, 08 Sep 2025 10:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757351525; x=1757956325; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=R0eONtlLGJ18fOIpA/L2WV6W6OK0Ad7PRo91wYIY4YnJmgAMeNNi+7IrSvFv0A9kR1 HGyQ66FbwcANlW7vJOTSpGDaygjLB8jEyeEfboYaRly786qwa7Zb/stKQP0WbH1GFEI8 jc0a+rigxAPzEzFGPYsXKm+ncCIrK3eHhI+Tuf36sjGsgrItMrbmzz6tzTx+xmr8siWp etgciwOr7xz0x4omuWmE1SDLw2kPfGKCr7YDi21wkzddDJIQNYCVzjKe6ZDG/Y7h6vCf 1JDeNkY3BkMu/uhlzkmgaKWBJLDc1eSxrM5shgqSIjpNNcHKPcJo4XeuZzWHYuYs0mqj //CA== X-Forwarded-Encrypted: i=1; AJvYcCV7ZiPbU+HTw6ubWGFHAD8lLzncBbKQqfw+fyw4d84Nr3gNCesFHyDaezN4F3lS3wFAr7KS3onJkg==@vger.kernel.org X-Gm-Message-State: AOJu0YwNtY7lAs7j1PyIbsHa6+YKWVsS8m4JJsjikpHI5H2cm5RtzUCk O8ScdAe8ZuC5cY7dl6nZBg24LB5TpII28n9N0avhaEMNp1L46qILSAShi51qzY3q66pMM4o5IA1 QMHGGKWVtKibK/twzuY8gRAKJug8x23/O1evUD/gHFc44VejaWcx9s8grbYPq X-Gm-Gg: ASbGncuQ+IW4sWptNiV+pKDqkPqOLlWMLu1V0ECpI3y8PbN5St3yuXyvgv6MIKeDmP3 uswsZr928KTTkz1cKblXxNC4O49QIrii7GaZr+Jshtf+4ZXC5etIUi50kIy00lMUSy1w6TSPKCT 5jQvoY82LjkFgeCZY863ChYCZdE7BqMZhiSnIYWeBt0P5QKBoy/VyOomMjFdFYiZSNy11CqwG3s 84FK3M3tfFDVxF7+5adw1iRuRjZZQRXP8Sf9vaP0VyH+mcKK6Shg7OuBsScNBGgCz9OCTiixjVh 7rLBqLATpSpJm/oYPg2boMrVtv1j/5ei8j9l9XuKEVwypXKeozxWa/jrvvk= X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93489471cf.75.1757351525437; Mon, 08 Sep 2025 10:12:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVez0JttMWAhr/EpA5S3LWdvkJoIrJRGLs+fJ0AEeH7TgyS1UoHb0txwN7TUYVZQswHIwQlA== X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93488361cf.75.1757351524739; Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Received: from x1 ([2600:382:8507:870e:b6f8:ee72:4f09:a16a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-80aab5a062fsm1122872785a.48.2025.09.08.10.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Date: Mon, 8 Sep 2025 13:11:57 -0400 From: Brian Masney To: Michael Turquette , Stephen Boyd , Sudeep Holla , Cristian Marussi , Chen Wang , Inochi Amaoto , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Paul Cercueil , Keguang Zhang , Taichi Sugaya , Takao Orito , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jacky Huang , Shan-Chun Hung , Vladimir Zapolskiy , Piotr Wojtaszczyk , Paul Walmsley , Samuel Holland , Yixun Lan , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Michal Simek , Maxime Ripard , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Sven Peter , Janne Grunau , Alyssa Rosenzweig , Neal Gompa , Eugeniy Paltsev , Ray Jui , Scott Branden , Broadcom internal kernel review list , Max Filippov , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Palmer , Romain Perier , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Andrea della Porta , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Qin Jian , Viresh Kumar , Ulf Hansson , Luca Ceresoli , Alex Helms , Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Nobuhiro Iwamatsu Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sophgo@lists.linux.dev, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-actions@lists.infradead.org, asahi@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, soc@lists.linux.dev Subject: Re: [PATCH 000/114] clk: convert drivers from deprecated round_rate() to determine_rate() Message-ID: References: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> Precedence: bulk X-Mailing-List: arm-scmi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 In-Reply-To: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: rlSwcN-r8BtXHSLH6eX5e5HpOYQ7Zr6mUYLlY0JG5VE_1757351525 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Aug 11, 2025 at 11:17:52AM -0400, Brian Masney wrote: > The round_rate() clk ops is deprecated in the clk framework in favor > of the determine_rate() clk ops, so let's go ahead and convert the > various clk drivers using the Coccinelle semantic patch posted below. > I did a few minor cosmetic cleanups of the code in a few cases. I included a subset of these patches in this pull request to Stephen: https://lore.kernel.org/linux-clk/aL8MXYrR5uoBa4cB@x1/T/#u Brian 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 A72F4CCD1A5 for ; Mon, 20 Oct 2025 12:04:02 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=c0Dkl7oGhXO4FdaMh4nxRVTlRcwvG7n5MeBnpCxWrkg=; b=2lHBXNSDCxs9Nx pACqqrtcmhATCuu0wJhDdfKBLud2UVuzfWDgRTmQlDbLqC5X2N02APWb5KjPh3Jply3eRvn+EwIJ1 QJ1hStZzhWrs2GlaY1XJ4rJOZswzMcfHcpXWm04Q4jvbW2afyl6gkvSIngtQff3XtgUI7GwhV85xI H5PnYqCo+UwE0n2xbYFFTWvqWoOBYSvRyK80tLShy11oMXHvwKevWBadWfDZnIaugi6W/Vd0+/jER Pppi/wzlwHAQCvflWu92nflSdpGRbe5ds3sqLexpkTZyDkZcCLpEuFfnFuf/3cLjR1O8BM3/G4noB /qRtHUM5AXtXLivHJeZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vAocE-0000000DHQX-0zrt; Mon, 20 Oct 2025 12:03:54 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvfPd-000000016QO-0TZg for linux-rockchip@bombadil.infradead.org; Mon, 08 Sep 2025 17:12:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:In-Reply-To:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=fyHLwl5qMAs25ogvYepfxXA13G 7pxeW4VtF9yXBTiEcQ1rVukUemgGjVqwvM4gOXBuUU0gt7V/xktF3wTQwt6zkUF85vvVlt1aXeN8B OLxUhKLSvtenxc0yKHplcJtl3jRkP1h5K/O/CQidzDHIrqRBOpeZdPW9yPbWcZ2jmHfWAl8fPOJek 8MEw33iWnrT7ECf1yis/t0JX3zBY/FuXjbaLCWragJadnRQ7VrFH4BDla0hgxF74Ndw/BSnUM1QhH mH2H+iXRGJZEtM9xCOszft/4A+YBVvwvXSFASRZz+klnmmBV/lTvU8ujk+5ZIwvNsUb6PlO0oDqrD NtavobPg==; Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvfPX-000000056Dt-2Nup for linux-rockchip@lists.infradead.org; Mon, 08 Sep 2025 17:12:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757351527; 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=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=ZuHq0bgQveon6kp40mnKKhpBoBWJdfWnY67qlHPz9++SQVij9nh/gwl/t2W/HG+saDFKCf nvUu2YmR1+yWvLYAD9GVp8F/2TrLvwdYw19ooinDxC9ot27Edcn566GZjiykKj8LSVundK qnXN8C67pACLu9F+Y4Rld4u7G6QuGtc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757351528; 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=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=bDpRldxmzn4Roa5H8oW+ds6yyanYfIwABi+juurkehOzsOAOzhdQURu+jgSadQYY8hCiXN Tgynz4drBQRafTlrXHvlZ9xbuUmB8f9QOkj+imyw7adQrsh3sReQmNfPRzDh0uhuGzOobw 0wIu3aRqOH7oOrBR6GidlFVFd7OWF1Q= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-608-rZVKzZsoNByWxzue6RWRaA-1; Mon, 08 Sep 2025 13:12:06 -0400 X-MC-Unique: rZVKzZsoNByWxzue6RWRaA-1 X-Mimecast-MFC-AGG-ID: rZVKzZsoNByWxzue6RWRaA_1757351526 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4b345aff439so132402301cf.0 for ; Mon, 08 Sep 2025 10:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757351526; x=1757956326; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=g1jq9lZ0GY/lJmbNfHgIxAE2nCJY8wiMtSFJkKIHTLJxY8qonQPtrYZk7B91BMQuOt +wOAi8qLvRUpIjOCzZUIypPzipRAHAHLmTSwIaPkwakKhizuaWjJKyoNYspI2eTFqV5n d+hAzwcU6poj1OzRo2+LD1fjhC3x9WD6RMQvWJFSlsPlEvsf5jrbk4KtmPeBoP5iiHl9 hcf08AWXcB9Pz0Yfmij/75sJUotJwP7EcMZncSfZxWepspyVVqHVhp+t+TGNjosVReSn 51+a5QicTpiJC/mlDMNdGN1CQN9XBZ0K7iii8U5EnWChsyyCqRrvg8AmT6XUC0oKZ83u NShw== X-Forwarded-Encrypted: i=1; AJvYcCUeu3WbYkrLxIHobA5jiKy8j/ICRch3O6lGBhqtPNQZ0ZIzhLiTQfy6/CCYH0DCCXkkI/ZanlAva4psvajJzg==@lists.infradead.org X-Gm-Message-State: AOJu0YxmiONz/Rc0gtvNZ50fi7iGSOHhCZmFMlC9nF1G2/1fEsb7lDBG jF6Cflu4VPcQm2mwUnvnbqQUtBb4+iATiiRUOEcV+4jbjdClterX9UaO7zxhLBplMTsdmIoE2N1 RNhuXKrOjppjrmTC9ZpYXU8/SvMfWaORdb3BqkD0TvOEiab1t/3qrzGBimJjCDtMyJHkTyqAchg == X-Gm-Gg: ASbGncuLQn34lJpsUUS7nXvcYF1jJ+dxHHho1VonO0/w4pjOYbB/yBJhrAGboUka279 2L8EEDslUsi9wV+1OqUdSyRzA5AjGpS7p7fbY5Bcqdj8HWFX7jjIRZqElc3N3eRf9knjxdkVGbi jSEWFbwZlEi9Q5gVlf0vvOjp4oPxnz8btSvy6HXAUD0r0fVaHSnHgld4DrL6dRlDjj1F05CHsgb OSBu0tfWhAwXy309GlvMYvbG5344+svqloGp0OBZ8mF0rOboy/3lW6Ad4OF/dgq9iE6zoC2S/zO Di+JjgV/oqL/Taeu8CR8/8Lb4aQLsfhtvjwUTmK3kLusF0vcnNpXsQqe3W4= X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93489301cf.75.1757351525423; Mon, 08 Sep 2025 10:12:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVez0JttMWAhr/EpA5S3LWdvkJoIrJRGLs+fJ0AEeH7TgyS1UoHb0txwN7TUYVZQswHIwQlA== X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93488361cf.75.1757351524739; Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Received: from x1 ([2600:382:8507:870e:b6f8:ee72:4f09:a16a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-80aab5a062fsm1122872785a.48.2025.09.08.10.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Date: Mon, 8 Sep 2025 13:11:57 -0400 From: Brian Masney To: Michael Turquette , Stephen Boyd , Sudeep Holla , Cristian Marussi , Chen Wang , Inochi Amaoto , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Paul Cercueil , Keguang Zhang , Taichi Sugaya , Takao Orito , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jacky Huang , Shan-Chun Hung , Vladimir Zapolskiy , Piotr Wojtaszczyk , Paul Walmsley , Samuel Holland , Yixun Lan , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Michal Simek , Maxime Ripard , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Sven Peter , Janne Grunau , Alyssa Rosenzweig , Neal Gompa , Eugeniy Paltsev , Ray Jui , Scott Branden , Broadcom internal kernel review list , Max Filippov , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Palmer , Romain Perier , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Andrea della Porta , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Qin Jian , Viresh Kumar , Ulf Hansson , Luca Ceresoli , Alex Helms , Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Nobuhiro Iwamatsu Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sophgo@lists.linux.dev, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-actions@lists.infradead.org, asahi@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, soc@lists.linux.dev Subject: Re: [PATCH 000/114] clk: convert drivers from deprecated round_rate() to determine_rate() Message-ID: References: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> MIME-Version: 1.0 In-Reply-To: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: yrzVnfXHk1bCuRVfSdBnSm8Swxesxr3hzFVLAAV8WEc_1757351526 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250908_181211_831435_5776A376 X-CRM114-Status: GOOD ( 13.78 ) X-Mailman-Approved-At: Mon, 20 Oct 2025 04:56:36 -0700 X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Mon, Aug 11, 2025 at 11:17:52AM -0400, Brian Masney wrote: > The round_rate() clk ops is deprecated in the clk framework in favor > of the determine_rate() clk ops, so let's go ahead and convert the > various clk drivers using the Coccinelle semantic patch posted below. > I did a few minor cosmetic cleanups of the code in a few cases. I included a subset of these patches in this pull request to Stephen: https://lore.kernel.org/linux-clk/aL8MXYrR5uoBa4cB@x1/T/#u Brian _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip 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 04FDECAC582 for ; Mon, 8 Sep 2025 20:42:40 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=H4Sa44dYdMcPh/wIghJg86C1+u9lf5MMr0xVn19Rnlg=; b=yO2icgSlWjnhOl QbYQbVdFaK+v5WbuGHTzdWwZ/dXu0uvCqESZFrmunGHXC2SpRDgGaYmD/t7mEY5Hws1flrEnTyYcg Qo8Cj/VZTnY1Js4C06ReOvD6SLHRGYosqkk2kFCvCoDDpzPsepxLQmephkYwUnEnjRnXU4rQza1bk CjSBXe4oPlgwSO/JUGdGkBSb3MmyUv6jnbgoaTvIO6y8GQHH5xWVBB0CV+6AMXL5jRhlEGpcdmsc/ Hnq5u1CYthyS28FegBPwJJgQ50oaNs2OfX6ujD+1ShsOGF7KpQP+LaJDw1NSajjTefPE1I2RFqhWe hTU3EUzi8Ne3vCD9z4BA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvih3-00000002Fsp-2RB1; Mon, 08 Sep 2025 20:42:29 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvfPV-000000016Dl-2P4L for linux-riscv@lists.infradead.org; Mon, 08 Sep 2025 17:12:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1757351527; 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=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=ZuHq0bgQveon6kp40mnKKhpBoBWJdfWnY67qlHPz9++SQVij9nh/gwl/t2W/HG+saDFKCf nvUu2YmR1+yWvLYAD9GVp8F/2TrLvwdYw19ooinDxC9ot27Edcn566GZjiykKj8LSVundK qnXN8C67pACLu9F+Y4Rld4u7G6QuGtc= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-257-HiGM8rCPMyGNEWAWCeTaUg-1; Mon, 08 Sep 2025 13:12:06 -0400 X-MC-Unique: HiGM8rCPMyGNEWAWCeTaUg-1 X-Mimecast-MFC-AGG-ID: HiGM8rCPMyGNEWAWCeTaUg_1757351526 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4b60dd9634dso34031171cf.2 for ; Mon, 08 Sep 2025 10:12:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757351526; x=1757956326; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=N0Ew5uLxMWlX2hxvzxeMznJDWzQfwf1IVExLfD9g+8c=; b=YWpvzx/VUHlj5upMyLUR7hdLy2LwjkHMjG2GGt5/jcxs8dPQToR+NNe66LJ70UTG/v Czo/+UqmXQF2mkM8XWr0nQwAuBXmO8fN/f3YRiLmfefANTiAFYqqTYcSr/y9vAYE9hT0 W/mht8evwYtzWb0qY+TaDZUWGu4APsE9s0JqHzKWEk+W6wv+k9WkwDsLlwtKiKbjfSA5 hUFJwPvo+7MI41ZLcnbFcPlAKUksnAnebLpU/Trs/z7hO3l3jp4BA48mOMVWjLB6cRWQ 1PXDB6Bf7sZwwRDm9vUxDKbo3qDYY8SsUK6IjkaNhcqTfAdg62yuWLdUjyKd9EvyVaVx A70g== X-Forwarded-Encrypted: i=1; AJvYcCWiUrszWOcHusDHEomt1Z5UqEJKaDy1QKFkWIPFhQXrIn+OskNJBaBt1nh6bhv6OUljriWFwm6c9noYkg==@lists.infradead.org X-Gm-Message-State: AOJu0YyRTsg9+x1Kv5NUZBE/s4dwOZDkWoHfvrHX0KzqrOiG030od9NX Pb1YsJfoN4H7R39VxKxlCHsqHLy/yy6Ez/HVzNulCXG/IJ2IX9tEspgsIXJfcOscNV0/sLuqg4C LmbARER+66eeJ6x70IF61hExAieGWXp5guQz5uw7AFBPgtUUj0m/thuFDi7sYi24w7wKXqA== X-Gm-Gg: ASbGncuyyeDG2ShxoopH9YYndzSL7S57HdZMw3W/l6ZcNhsCf1Y2KKeJbw46NF78EL0 2L7nkAtKctSgQg21zGvq/NSag4n+CymwNhvcb+GLzeGygS0XLzTMboUX+2SPicB0TrUN++1wimA 3gPBEmVRqJwKPAU7qln9ja0x6VwcN8ZW7Mv8NZqJR4a1jz1zReB+mVMp+bUwujqwkkF5WyB3RDB joYcYFI7YSeLtsnPSJYGsQrs/Y6I66MHTc2qfEtbIiUwooSAi+NT8FR1GC1pfc0NgpLfqG4MpWT POYRQK2vvfvFD+3t46yy1GMDWUuCB7AYXmqIZoMW7IIbBrrVYuOrNGnbLr0= X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93489281cf.75.1757351525421; Mon, 08 Sep 2025 10:12:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFVez0JttMWAhr/EpA5S3LWdvkJoIrJRGLs+fJ0AEeH7TgyS1UoHb0txwN7TUYVZQswHIwQlA== X-Received: by 2002:ac8:5a12:0:b0:4b5:d739:6273 with SMTP id d75a77b69052e-4b5f8490345mr93488361cf.75.1757351524739; Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Received: from x1 ([2600:382:8507:870e:b6f8:ee72:4f09:a16a]) by smtp.gmail.com with ESMTPSA id af79cd13be357-80aab5a062fsm1122872785a.48.2025.09.08.10.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 10:12:04 -0700 (PDT) Date: Mon, 8 Sep 2025 13:11:57 -0400 From: Brian Masney To: Michael Turquette , Stephen Boyd , Sudeep Holla , Cristian Marussi , Chen Wang , Inochi Amaoto , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Paul Cercueil , Keguang Zhang , Taichi Sugaya , Takao Orito , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jacky Huang , Shan-Chun Hung , Vladimir Zapolskiy , Piotr Wojtaszczyk , Paul Walmsley , Samuel Holland , Yixun Lan , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, Orson Zhai , Baolin Wang , Chunyan Zhang , Maxime Coquelin , Alexandre Torgue , Michal Simek , Maxime Ripard , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Sven Peter , Janne Grunau , Alyssa Rosenzweig , Neal Gompa , Eugeniy Paltsev , Ray Jui , Scott Branden , Broadcom internal kernel review list , Max Filippov , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Palmer , Romain Perier , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Andrea della Porta , Krzysztof Kozlowski , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Qin Jian , Viresh Kumar , Ulf Hansson , Luca Ceresoli , Alex Helms , Linus Walleij , Liviu Dudau , Lorenzo Pieralisi , Nobuhiro Iwamatsu Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, sophgo@lists.linux.dev, linux-mips@vger.kernel.org, imx@lists.linux.dev, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-stm32@st-md-mailman.stormreply.com, patches@opensource.cirrus.com, linux-actions@lists.infradead.org, asahi@lists.linux.dev, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, soc@lists.linux.dev Subject: Re: [PATCH 000/114] clk: convert drivers from deprecated round_rate() to determine_rate() Message-ID: References: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> MIME-Version: 1.0 In-Reply-To: <20250811-clk-for-stephen-round-rate-v1-0-b3bf97b038dc@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: V_6p635kFNnHHmMD5j_cEdjoooEoYmnzwHwKGvLUYow_1757351526 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250908_101209_744023_397DC669 X-CRM114-Status: GOOD ( 13.62 ) X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Aug 11, 2025 at 11:17:52AM -0400, Brian Masney wrote: > The round_rate() clk ops is deprecated in the clk framework in favor > of the determine_rate() clk ops, so let's go ahead and convert the > various clk drivers using the Coccinelle semantic patch posted below. > I did a few minor cosmetic cleanups of the code in a few cases. I included a subset of these patches in this pull request to Stephen: https://lore.kernel.org/linux-clk/aL8MXYrR5uoBa4cB@x1/T/#u Brian _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv