diff options
| author | Brian Masney <bmasney@redhat.com> | 2026-05-05 20:48:58 -0400 |
|---|---|---|
| committer | Brian Masney <bmasney@redhat.com> | 2026-06-29 17:52:17 -0400 |
| commit | 862e0773f130d21a65c991f493b01f4ec040e821 (patch) | |
| tree | 274c62029b4663d124bdb60cb1106ebb29a4a394 /include/linux | |
| parent | 5f2db1ce201216e81333ecc2ab51494410b2fe0d (diff) | |
clk: add clk_determine_rate_noop()
Add a new helper clk_determine_rate_noop() that's for clocks where the
rate rounding is handled by the firmware/hardware, or the clock is
capable of any rate. The requested rate is passed through unchanged,
and the actual rate will be learned via recalc_rate() after the rate
is set.
This shared helper will be used to get rid of the driver-specific empty
determine rate implementations that are present in the tree.
Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/clk-provider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index a2348b961538..9d32e4a16eb8 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -1472,6 +1472,7 @@ int clk_mux_determine_rate_flags(struct clk_hw *hw, unsigned long flags); int clk_hw_determine_rate_no_reparent(struct clk_hw *hw, struct clk_rate_request *req); +int clk_determine_rate_noop(struct clk_hw *hw, struct clk_rate_request *req); void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent); void clk_hw_get_rate_range(struct clk_hw *hw, unsigned long *min_rate, unsigned long *max_rate); |
