From: Andrea della Porta <andrea.porta@suse.com>
To: Brian Masney <bmasney@redhat.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Andrea della Porta <andrea.porta@suse.com>
Subject: Re: [PATCH v3 09/15] clk: rp1: use clk_determine_rate_noop()
Date: Wed, 6 May 2026 12:05:53 +0200 [thread overview]
Message-ID: <afsSgTOrvHfsOfvO@apocalypse> (raw)
In-Reply-To: <20260505-clk-determine-rate-noop-v3-9-f3f829fbacdf@redhat.com>
Hi Brian,
On 20:49 Tue 05 May , Brian Masney wrote:
> Drop the driver-specific empty determine_rate() function and use the new
> shared clk_determine_rate_noop() helper.
>
> Signed-off-by: Brian Masney <bmasney@redhat.com>
> ---
> To: Andrea della Porta <andrea.porta@suse.com>
> To: Michael Turquette <mturquette@baylibre.com>
> To: Stephen Boyd <sboyd@kernel.org>
> Cc: Brian Masney <bmasney@redhat.com>
> Cc: linux-clk@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/clk/clk-rp1.c | 8 +-------
> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> diff --git a/drivers/clk/clk-rp1.c b/drivers/clk/clk-rp1.c
> index fd144755b879..0f7d9fd77481 100644
> --- a/drivers/clk/clk-rp1.c
> +++ b/drivers/clk/clk-rp1.c
> @@ -1174,12 +1174,6 @@ static unsigned long rp1_varsrc_recalc_rate(struct clk_hw *hw,
> return clock->cached_rate;
> }
>
> -static int rp1_varsrc_determine_rate(struct clk_hw *hw,
> - struct clk_rate_request *req)
> -{
> - return 0;
> -}
> -
> static const struct clk_ops rp1_pll_core_ops = {
> .is_prepared = rp1_pll_core_is_on,
> .prepare = rp1_pll_core_on,
> @@ -1227,7 +1221,7 @@ static const struct clk_ops rp1_clk_ops = {
> static const struct clk_ops rp1_varsrc_ops = {
> .set_rate = rp1_varsrc_set_rate,
> .recalc_rate = rp1_varsrc_recalc_rate,
> - .determine_rate = rp1_varsrc_determine_rate,
> + .determine_rate = clk_determine_rate_noop,
> };
>
> static struct clk_hw *rp1_register_pll(struct rp1_clockman *clockman,
>
> --
> 2.54.0
>
Reviewed-by: Andrea della Porta <andrea.porta@suse.com>
Thanks!
next prev parent reply other threads:[~2026-05-06 10:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 0:48 [PATCH v3 00/15] clk: introduce clk_determine_rate_noop() and update drivers to use it Brian Masney
2026-05-06 0:48 ` [PATCH v3 01/15] clk: imx: scu: drop redundant init.ops variable assignment Brian Masney
2026-05-06 0:48 ` [PATCH v3 02/15] clk: add clk_determine_rate_noop() Brian Masney
2026-05-06 0:48 ` [PATCH v3 03/15] clk: hisilicon: hi3660-stub: use clk_determine_rate_noop() Brian Masney
2026-05-06 0:49 ` [PATCH v3 04/15] clk: imx: scu: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 05/15] clk: qcom: rpm: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 06/15] clk: qcom: rpmh: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 07/15] clk: qcom: smd-rpm: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 08/15] clk: renesas: rzg2l-cpg: " Brian Masney
2026-05-06 7:19 ` Geert Uytterhoeven
2026-05-06 0:49 ` [PATCH v3 09/15] clk: rp1: " Brian Masney
2026-05-06 10:05 ` Andrea della Porta [this message]
2026-05-06 0:49 ` [PATCH v3 10/15] clk: samsung: acpm: " Brian Masney
2026-05-06 11:55 ` Tudor Ambarus
2026-05-06 13:47 ` Krzysztof Kozlowski
2026-05-06 14:34 ` Brian Masney
2026-05-06 0:49 ` [PATCH v3 11/15] clk: scpi: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 12/15] clk: sprd: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 13/15] phy: mediatek: phy-mtk-hdmi-mt2701: " Brian Masney
2026-05-10 10:17 ` Vinod Koul
2026-05-06 0:49 ` [PATCH v3 14/15] pmdomain: mediatek: airoha: " Brian Masney
2026-05-06 0:49 ` [PATCH v3 15/15] pmdomain: mediatek: mtk-mfg: " Brian Masney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=afsSgTOrvHfsOfvO@apocalypse \
--to=andrea.porta@suse.com \
--cc=bmasney@redhat.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox