Skip to contentSkip to conversation

clk: remove deprecated round_rate functions from the clk core for v7.1

GIT PULL Brian Masney 2 participants 3 messages Feb 22 – Apr 11 Common clk

lore
Share & tools
lore
#0 lore raw

Hi Stephen,

Here's a small pull for patches that I previously posted that removes several deprecated APIs from the clk core. Details are in the signed tag. I assembled this pull with the following b4 commands:

    b4 am [email protected]
    b4 am --cherry-pick 26-27 [email protected]

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

https://github.com/masneyb/linux tags/clk-remove-deprecated-apis-v7.1

for you to fetch changes up to d4851759742c1322f498021dab882d322fc34a1d:

clk: divider: remove divider_round_rate() and divider_round_rate_parent() (2026-02-22 17:38:37 -0500)

----------------------------------------------------------------
clk: remove deprecated round_rate functions from the clk core

Now that all of the dependencies across the tree have been merged into Linus's tree, here's a small series with the following changes:

- Converts clk-composite from round_rate() to determine_rate().
- Removes the round_rate() clk op.
- Removes the deprecated functions divider_round_rate(), divider_round_rate_parent(), and divider_ro_round_rate_parent() since these are just wrappers for the corresponding determine_rate variant.

----------------------------------------------------------------
Brian Masney (5):
clk: test: remove references to clk_ops.round_rate
clk: composite: convert from round_rate() to determine_rate()
clk: remove round_rate() clk ops
clk: divider: remove divider_ro_round_rate_parent()
clk: divider: remove divider_round_rate() and divider_round_rate_parent()

 Documentation/driver-api/clk.rst |  9 +-------
 drivers/clk/clk-composite.c      | 38 +++++----------------------------
 drivers/clk/clk-divider.c        | 44 --------------------------------------
 drivers/clk/clk.c                | 39 ++++++++++++----------------------
 drivers/clk/clk_test.c           | 16 +++++++-------
 include/linux/clk-provider.h     | 46 ++++++----------------------------------
 6 files changed, 34 insertions(+), 158 deletions(-)
#1 lore raw

Hi Stephen,

Quoted 26 lines · Brian Masney

Here's a small pull for patches that I previously posted that removes several deprecated APIs from the clk core. Details are in the signed tag. I assembled this pull with the following b4 commands:

    b4 am [email protected]
    b4 am --cherry-pick 26-27 [email protected]

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

https://github.com/masneyb/linux tags/clk-remove-deprecated-apis-v7.1

for you to fetch changes up to d4851759742c1322f498021dab882d322fc34a1d:

clk: divider: remove divider_round_rate() and divider_round_rate_parent() (2026-02-22 17:38:37 -0500)

----------------------------------------------------------------
clk: remove deprecated round_rate functions from the clk core

Now that all of the dependencies across the tree have been merged into Linus's tree, here's a small series with the following changes:

Quoted 7 lines

- Converts clk-composite from round_rate() to determine_rate().
- Removes the round_rate() clk op.
- Removes the deprecated functions divider_round_rate(), divider_round_rate_parent(), and divider_ro_round_rate_parent() since these are just wrappers for the corresponding determine_rate variant.

I included this in my larger pull at
https://lore.kernel.org/linux-clk/[email protected]/T/#u
for completeness. If you pull that one, then you can skip this one.

Brian

maintainer
#2 lore raw
In reply to Brian Masney

Quoting Brian Masney (2026-02-22 15:01:55)

Quoted 16 lines

Hi Stephen,

Here's a small pull for patches that I previously posted that removes several deprecated APIs from the clk core. Details are in the signed tag. I assembled this pull with the following b4 commands:

    b4 am [email protected]
    b4 am --cherry-pick 26-27 [email protected]

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

Quoted 7 lines

https://github.com/masneyb/linux tags/clk-remove-deprecated-apis-v7.1

for you to fetch changes up to d4851759742c1322f498021dab882d322fc34a1d:

clk: divider: remove divider_round_rate() and divider_round_rate_parent() (2026-02-22 17:38:37 -0500)

----------------------------------------------------------------

Thanks. Pulled into clk-next