diff options
| author | 2026-09-06 07:18:15 -0700 | |
|---|---|---|
| committer | 2026-10-13 09:49:40 -0500 | |
| commit | c75659ecb6607746f7c1ec7f8c867e2c7b8e8bbe (patch) | |
| tree | fb3a20f05b9223bfe276f2992f6aa894cd750039 /scripts/Makefile.thinlto | |
| parent | clk: qcom: ipq-cmn-pll: Add EPHY-RAW clock support (diff) | |
clk: qcom: ipq-cmn-pll: Add clock gate support for fixed clocks
Some CMN PLL output clocks require a hardware gate in addition to a
fixed rate. The gate control bits reside in the register
CMN_PLL_OUTPUT_RELATED_1 (0x79c). Each such clock is registered via a
new struct clk_fixed_gate and clk_fixed_gate_ops, combining a fixed
rate with enable/disable/is_enabled gate control through the shared
regmap for CMN_PLL_OUTPUT_RELATED_1.
The enable_bit field is added to struct cmn_pll_fixed_output_clk (set to
-1 for non-gated clocks). The CLK_PLL_OUTPUT_RAW() and CLK_PLL_GATE()
helper macros are introduced alongside the existing CLK_PLL_OUTPUT().
Parent the gated fixed-rate output clocks on `cmn_pll_div2` to reflect
the CMN PLL clock hierarchy. Their rates remain fixed constants returned
by `clk_fixed_gate_recalc_rate()`.
Signed-off-by: Luo Jie <jie.luo@oss.qualcomm.com>
Link: https://patch.msgid.link/20260906-qcom_ipq5210_cmnpll-v4-9-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
