summaryrefslogtreecommitdiff
path: root/drivers/clk/meson
diff options
context:
space:
mode:
authorDmitry Rokosov <ddrokosov@salutedevices.com>2024-03-20 18:54:48 +0300
committerJerome Brunet <jbrunet@baylibre.com>2024-03-29 14:07:33 +0300
commit5995a2f26f83f09d128a56a51df6d5631a274040 (patch)
tree0e88e0c99fc86ae3a3e7c541e8a270ecabc0fd01 /drivers/clk/meson
parent32fba1c16576324f7783d7c27b03689fa7bd9998 (diff)
downloadlinux-5995a2f26f83f09d128a56a51df6d5631a274040.tar.xz
clk: meson: s4: 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 <ddrokosov@salutedevices.com> Link: https://lore.kernel.org/r/20240320155512.3544-5-ddrokosov@salutedevices.com Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Diffstat (limited to 'drivers/clk/meson')
-rw-r--r--drivers/clk/meson/s4-pll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/meson/s4-pll.c b/drivers/clk/meson/s4-pll.c
index 8dfaeccaadc2..c8a95842b14c 100644
--- a/drivers/clk/meson/s4-pll.c
+++ b/drivers/clk/meson/s4-pll.c
@@ -798,6 +798,7 @@ static struct regmap_config clkc_regmap_config = {
.reg_bits = 32,
.val_bits = 32,
.reg_stride = 4,
+ .max_register = ANACTRL_HDMIPLL_CTRL0,
};
static struct meson_clk_hw_data s4_pll_clks = {