mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-25 16:33:36 +00:00
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 <ddrokosov@salutedevices.com> Link: https://lore.kernel.org/r/20240320155512.3544-4-ddrokosov@salutedevices.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
This commit is contained in:
parent
acc628adc3
commit
32fba1c165
@ -3751,6 +3751,7 @@ static struct regmap_config clkc_regmap_config = {
|
|||||||
.reg_bits = 32,
|
.reg_bits = 32,
|
||||||
.val_bits = 32,
|
.val_bits = 32,
|
||||||
.reg_stride = 4,
|
.reg_stride = 4,
|
||||||
|
.max_register = CLKCTRL_DEMOD_CLK_CTRL,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct meson_clk_hw_data s4_periphs_clks = {
|
static struct meson_clk_hw_data s4_periphs_clks = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user