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 97C9ACA0EC4 for ; Tue, 12 Aug 2025 17:34:12 +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=Qb3GM11K0ZrJSLkcoqRvssef0U2hBo//PwrPWjvZsJc=; b=s6yp3Zx9wHWJOT iyB1dxgovfB1Yb0S37dq0cmCIFq5yyh173C87Z+nX+K0r1FfqGymwMLktp17V4GOiMrTOHaSHxCQg H+Zcw4WVSYvxwmGItWPRpqi/uvD3KLSYR9czRd2Tzg9EB4/sY0DlPA/hiI5hRq7Z9WiqC6KH1lYzn qDYDOkDTITWFb+3X+uMy3OAE34c+5OsOdUSusmB9h+2Zo3ThbcqvsrFxZCjyOjAU1hrItxwRsDeKE lsgSmzfHQPwjuJ82/quIGBHaojSFLIjgAtZ6lw3/OIvncLMJhmw3OqihRTXj7lq/2IrdJfUyRjP0I 66Jh4QWafYHTqSqr65Qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ulssw-0000000BbWH-3j6q; Tue, 12 Aug 2025 17:34:06 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ulpS1-0000000Az0B-0N7X for linux-riscv@lists.infradead.org; Tue, 12 Aug 2025 13:54:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1755006843; 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=Q//s+/zCNBEzjNslOllCQGV4nFuLBeOueQxvALXBZS0=; b=FsOBs53MFI0jFR+2T3HZfYzHe/dHKoSUNhMoSBaobcr77iFZmWKEnd7i6AAHdtzlJkdBEl kp7lVaUVT/jutIpiaJi7eRiEJ/BYN98gGLoS98vppqx/GdDiuudGJ/ktsycbezuDgVmln4 U0xYXm5hHSNNh9lA4cylY+S9O8F7nT4= 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-664-2uTtWO_FN4WMB00Chsm8lw-1; Tue, 12 Aug 2025 09:54:02 -0400 X-MC-Unique: 2uTtWO_FN4WMB00Chsm8lw-1 X-Mimecast-MFC-AGG-ID: 2uTtWO_FN4WMB00Chsm8lw_1755006842 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-4b07bf0783bso146574421cf.3 for ; Tue, 12 Aug 2025 06:54:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755006842; x=1755611642; 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=Q//s+/zCNBEzjNslOllCQGV4nFuLBeOueQxvALXBZS0=; b=fkKbVjRX+K0FXxcvcId9K+DS7HJoYQ57H+rEIJzL7OjkS9CF5f+jNJAilU/bnkDGNn fOfGCWLld/INvhBRhTxn7oPXXtnmpnK56UVLMp6xaz+0DFEIk1N/oV0VJm+rokiQ7ca6 mCcxFYF4gYis8ajFHnGczS5Ye9vOpWTnrQyOc8SF/XCZrZMeMqC8INzoLPSH/dq0zXah 0fDAxigXKBQzc2rG/cVtnnB5ttPRNLTWi+TBeBgcLJqoJTw8PP79nrQ1Wkt1/nutlYMG LSanL2mrqEVPsWszYPeIZQYLS6aqGQt3/XgVKDwebgZ8yECU8mmekZTciJGQ9hetUqPj jjcA== X-Forwarded-Encrypted: i=1; AJvYcCV1i8VwiWkITUVduCZ8jpcDLZ39kLR4as3UeTlVAjDVJvlvOm9qRFkZcoEI/YE+pjpiYBtE7Bxyg7K9Yg==@lists.infradead.org X-Gm-Message-State: AOJu0YyYP4Z49VXZJ4P2W6NsYhiji320Pnz5zyR7zttG0pI5ESz+BbQd Uu/dr4rmmF/4Odnp/CmpvdGi89EgIAZFpkJgDhpZHBvVE9zhTQn8lWeOnfmeX8YKD9V0JwwHlIY pC6xiiSzqEMOwytGkXqSVtxgonsvItvWON81i6dL1PXhCOlMrkijCh5EHpg6lU59EOpIlWA== X-Gm-Gg: ASbGncvDd08VE/J2VgTYV3+g9oK7gwZwIob2F8y7dan4bAle69CAOOpPVFiZP8XU6Ay JW9PGJr1cnE8ZdLF88NHI/9WWq3DkWQWCbkxoD/FfVXgVrNXLhYhbWWVYn6FHjQy87dcYQ0SbMk iDmW/18643YS5rTU4S5NM54PIhHHnpSy2H3+bn+a3MH0y+GGBhfzOIvjz3GFvyt7qgQOj2kPMTo WGGhl5Mh0uaoDjuNPF2c/Xztj5mY/21+b7g4o+cOQLcsec0E04VC/+E+H04/BTlY9ZvwB3joKDt Qqimy8pe0fnPemEiYZYmsEFUpItqKUBvZ3sGZalNwbS5oRY79btzqITdlWdUQFs= X-Received: by 2002:a05:622a:30c:b0:4a4:2c4c:ccb3 with SMTP id d75a77b69052e-4b0aed36723mr265510091cf.38.1755006841655; Tue, 12 Aug 2025 06:54:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHL0wdDdlaxY3Jk0TgFfLYMOMEPwCaVnL7cxWLBN3HaRHoOlakRNGI4PvbhwBJNSUpcz9s5eQ== X-Received: by 2002:a05:622a:30c:b0:4a4:2c4c:ccb3 with SMTP id d75a77b69052e-4b0aed36723mr265508911cf.38.1755006840909; Tue, 12 Aug 2025 06:54:00 -0700 (PDT) Received: from x1 (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4b0aa1efe78sm75493211cf.8.2025.08.12.06.53.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Aug 2025 06:54:00 -0700 (PDT) Date: Tue, 12 Aug 2025 09:53:54 -0400 From: Brian Masney To: Icenowy Zheng Cc: 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 , 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: User-Agent: Mutt/2.2.14 (2025-02-20) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: p_40BmuN5yu9ZclYtbOFyS8e_PkGtzr56t4k0xb45j4_1755006842 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250812_065405_203793_BCEA665A X-CRM114-Status: GOOD ( 16.45 ) 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 Tue, Aug 12, 2025 at 09:39:45PM +0800, Icenowy Zheng wrote: > I was doing a patch to add divider setting support to clk-th1520-ap > driver and sent patch now, should I remove round_rate from the next > revision and just keep determine_rate? Is it safe to do this even if > this patchset is not merged? Yes, you only need to implement the determine_rate() clk op. Please remove any references to the round_rate() clk op from your driver. If you implement both, then only the determine_rate() clk op is actually used by the clk core. > In addition, will the clk_round_rate() API exported to other subsystems > be affected? No, that will stay as is, and with the same name. The underlying implementation in the clk core uses the determine_rate() clk op. Brian _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv