Skip to content

Commit b251e4c

Browse files
xdarklightjbrun3t
authored andcommitted
clk: meson: meson8b: fix meson8b_fclk_div3_div clock name
The names of all fclk divider gate clocks follow the naming schema "fclk_divN" and the name of all fclk fixed dividers follow the naming schema "fclk_divN_div". There's one exception to this rule: meson8b_fclk_div3_div's name is "fclk_div_div3". It's child clock meson8b_fclk_div3 however references it as "fclk_div3_div" (following the naming schema explained above). Fix the naming of the meson8b_fclk_div3_div clock to follow the naming schema. This also fixes serial console on my Meson8m2 board because "clk81" uses fclk_div3 as parent. However, since the hierarchy stops at meson8b_fclk_div3 there's no known parent clock and the rate of "clk81" and all of it's children (UART clock, SDIO MMC controller clock, ...) are all 0. Fixes: 05f8144 ("clk: meson: add fdiv clock gates") Signed-off-by: Martin Blumenstingl <[email protected]> Signed-off-by: Jerome Brunet <[email protected]>
1 parent 197143f commit b251e4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/meson/meson8b.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static struct clk_fixed_factor meson8b_fclk_div3_div = {
253253
.mult = 1,
254254
.div = 3,
255255
.hw.init = &(struct clk_init_data){
256-
.name = "fclk_div_div3",
256+
.name = "fclk_div3_div",
257257
.ops = &clk_fixed_factor_ops,
258258
.parent_names = (const char *[]){ "fixed_pll" },
259259
.num_parents = 1,

0 commit comments

Comments
 (0)