Skip to content

Commit b6e2c65

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/meson/a1-peripherals.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,6 +2187,7 @@ static struct regmap_config a1_periphs_regmap_cfg = {
21872187
.reg_bits = 32,
21882188
.val_bits = 32,
21892189
.reg_stride = 4,
2190+
.max_register = DMC_CLK_CTRL,
21902191
};
21912192

21922193
static struct meson_clk_hw_data a1_periphs_clks = {

0 commit comments

Comments
 (0)