Skip to content

Commit

Permalink
clk: meson: g12a: add controller register init
Browse files Browse the repository at this point in the history
Add the MPLL common register initial setting

Signed-off-by: Jerome Brunet <[email protected]>
  • Loading branch information
jbrun3t committed May 20, 2019
1 parent 19a18d4 commit a9f7b19
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion drivers/clk/meson/g12a.c
Original file line number Diff line number Diff line change
Expand Up @@ -2992,10 +2992,16 @@ static struct clk_regmap *const g12a_clk_regmaps[] = {
&g12a_vdec_hevcf,
};

static const struct reg_sequence g12a_init_regs[] = {
{ .reg = HHI_MPLL_CNTL0, .def = 0x00000543 },
};

static const struct meson_eeclkc_data g12a_clkc_data = {
.regmap_clks = g12a_clk_regmaps,
.regmap_clk_num = ARRAY_SIZE(g12a_clk_regmaps),
.hw_onecell_data = &g12a_hw_onecell_data
.hw_onecell_data = &g12a_hw_onecell_data,
.init_regs = g12a_init_regs,
.init_count = ARRAY_SIZE(g12a_init_regs),
};

static const struct of_device_id clkc_match_table[] = {
Expand Down

0 comments on commit a9f7b19

Please sign in to comment.