Skip to content

Commit 32fba1c

Browse files
rockosovjbrun3t
authored andcommitted
clk: meson: s4: peripherals: 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 acc628a commit 32fba1c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/meson/s4-peripherals.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3751,6 +3751,7 @@ static struct regmap_config clkc_regmap_config = {
37513751
.reg_bits = 32,
37523752
.val_bits = 32,
37533753
.reg_stride = 4,
3754+
.max_register = CLKCTRL_DEMOD_CLK_CTRL,
37543755
};
37553756

37563757
static struct meson_clk_hw_data s4_periphs_clks = {

0 commit comments

Comments
 (0)