diff options
| author | 2026-09-06 07:18:09 -0700 | |
|---|---|---|
| committer | 2026-10-13 09:49:39 -0500 | |
| commit | 914df7f2438909cae1b7a13dbaa655d46edf5819 (patch) | |
| tree | fbb79b393c64b660c145a96fa0779dae8952f560 /scripts/Makefile.thinlto | |
| parent | clk: qcom: ipq-cmn-pll: Use devm_clk_hw_register_fixed_rate_parent_data (diff) | |
clk: qcom: clk-regmap-divider: Support CLK_DIVIDER_* flags
Add a flags field to struct clk_regmap_div and OR it into the
CLK_DIVIDER_ROUND_CLOSEST flag passed to divider_determine_rate(),
divider_ro_determine_rate(), divider_get_val(), and
divider_recalc_rate(), so that qcom drivers can opt into
CLK_DIVIDER_* behavior variants such as CLK_DIVIDER_ONE_BASED.
This is additive and backward compatible: existing clk_regmap_div
users don't initialize .flags, so it defaults to 0, and
CLK_DIVIDER_ROUND_CLOSEST | 0 is identical to current behavior.
Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Signed-off-by: Luo Jie <jie.luo@oss.qualcomm.com>
Link: https://patch.msgid.link/20260906-qcom_ipq5210_cmnpll-v4-3-aec5ed642f4f@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
