History

Merge branches 'clk-renesas', 'clk-socfpga', 'clk-amlogic' and 'clk-canaan' into clk-next

* clk-renesas: (36 commits) clk: renesas: r9a08g045: Drop unused pm_domain header file clk: renesas: r8a779g0: Add DSC clock clk: renesas: rzg2l: Rename iterator in for_each_mod_clock() to avoid shadowing clk: renesas: r9a08g045: Drop unused DEF_G3S_MUX macro clk: renesas: rzg2l: Rename RZG3L-prefixed PLL macros to CPG-prefixed ones clk: renesas: rzg3s/rzg3l: Simplify PLL configuration macro clk: renesas: rzg2l: Simplify SAM PLL configuration macro clk: renesas: r8a73a4: Add ZT/ZTR trace clocks dt-bindings: clock: renesas,cpg-clocks: Document ZT/ZTR trace clock on R-Mobile APE6 clk: renesas: r9a08g046: Add RSPI clocks and resets clk: renesas: r9a08g046: Add SSIF-2 clocks and resets clk: renesas: r9a08g046: Add RSCI clocks and resets clk: renesas: cpg-mssr: Add number of clock cells check clk: renesas: rzg2l: Refactor rzg3l_cpg_pll_clk_endisable() clk: renesas: rzg2l: Consolidate DEF_MUX() and DEF_MUX_FLAGS() clk: renesas: r9a08g046: Add IA55_PCLK to critical module clocks clk: renesas: r9a09g047: Add support for LCDC{0,1} clocks and resets clk: renesas: r9a09g047: Add support for DSI clocks and resets clk: renesas: r9a09g047: Add support for SMUX2_DSI{0,1}_CLK clk: renesas: r9a09g047: Add CLK_PLLDSI{0,1}_CSDIV clocks ... * clk-socfpga: clk: socfpga: agilex: implement l3_main_free_clk * clk-amlogic: dt-bindings: clock: amlogic: t7: Add missing mpll3 parent clock dt-bindings: clock: amlogic: Fix redundant hyphen in "amlogic,t7-gp1--pll" string. * clk-canaan: clk: canaan: Add clock driver for Canaan K230 dt-bindings: clock: Add Canaan K230 clock controller

Stephen Boyd committed 4 months ago

Commit e08f2085 parents 124e5c5 5c2fd8b c0c0752 3926276 df2e28927 files · +3510 −47Browse files

Showing the changes to include/linux (1 of 27 files). Show all

Unified · Split

include/linux/clk/renesas.h+20−0
@@ -164,6 +164,26 @@ struct rzv2h_pll_div_pars { · 163 unmodified lines
164 .k = { .min = -32768, .max = 32767 }, \164 .k = { .min = -32768, .max = 32767 }, \
165 } \165 } \
166 166
167#define RZG3E_CPG_PLL_DSI0_LIMITS(name) \
168 static const struct rzv2h_pll_limits (name) = { \
169 .fout = { .min = 25 * MEGA, .max = 1218 * MEGA }, \
170 .fvco = { .min = 1600 * MEGA, .max = 3200 * MEGA }, \
171 .m = { .min = 64, .max = 533 }, \
172 .p = { .min = 1, .max = 4 }, \
173 .s = { .min = 0, .max = 6 }, \
174 .k = { .min = -32768, .max = 32767 }, \
175 } \
176
177#define RZG3E_CPG_PLL_DSI1_LIMITS(name) \
178 static const struct rzv2h_pll_limits (name) = { \
179 .fout = { .min = 25 * MEGA, .max = 609 * MEGA }, \
180 .fvco = { .min = 1600 * MEGA, .max = 3200 * MEGA }, \
181 .m = { .min = 64, .max = 533 }, \
182 .p = { .min = 1, .max = 4 }, \
183 .s = { .min = 0, .max = 6 }, \
184 .k = { .min = -32768, .max = 32767 }, \
185 } \
186
167#ifdef CONFIG_CLK_RZV2H187#ifdef CONFIG_CLK_RZV2H
168bool rzv2h_get_pll_pars(const struct rzv2h_pll_limits *limits,188bool rzv2h_get_pll_pars(const struct rzv2h_pll_limits *limits,
169 struct rzv2h_pll_pars *pars, u64 freq_millihz);189 struct rzv2h_pll_pars *pars, u64 freq_millihz);