Skip to content

Commit acc628a

Browse files
rockosovjbrun3t
authored andcommitted
clk: meson: a1: 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 b6e2c65 commit acc628a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/meson/a1-pll.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ static struct regmap_config a1_pll_regmap_cfg = {
299299
.reg_bits = 32,
300300
.val_bits = 32,
301301
.reg_stride = 4,
302+
.max_register = ANACTRL_HIFIPLL_STS,
302303
};
303304

304305
static struct meson_clk_hw_data a1_pll_clks = {

0 commit comments

Comments
 (0)