Skip to content

Commit

Permalink
clk: meson: a1: pll: determine maximum register in regmap config
Browse files Browse the repository at this point in the history
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 <ddrokosov@salutedevices.com>
Link: https://lore.kernel.org/r/20240320155512.3544-3-ddrokosov@salutedevices.com
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
  • Loading branch information
rockosov authored and jbrun3t committed Mar 29, 2024
1 parent b6e2c65 commit acc628a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/meson/a1-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ static struct regmap_config a1_pll_regmap_cfg = {
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,
.max_register = ANACTRL_HIFIPLL_STS,
};

static struct meson_clk_hw_data a1_pll_clks = {
Expand Down

0 comments on commit acc628a

Please sign in to comment.