Skip to content

Commit 5995a2f

Browse files
rockosovjbrun3t
authored andcommitted
clk: meson: s4: pll: determine maximum register in regmap config
When the max_register value is not set, the regmap debugfs 'registers' file does not display the entire range of the regmap. Signed-off-by: Dmitry Rokosov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jerome Brunet <[email protected]>
1 parent 32fba1c commit 5995a2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/meson/s4-pll.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,7 @@ static struct regmap_config clkc_regmap_config = {
798798
.reg_bits = 32,
799799
.val_bits = 32,
800800
.reg_stride = 4,
801+
.max_register = ANACTRL_HDMIPLL_CTRL0,
801802
};
802803

803804
static struct meson_clk_hw_data s4_pll_clks = {

0 commit comments

Comments
 (0)