Skip to content

Commit d81901a

Browse files
krzkandersson
authored andcommitted
clk: qcom: dispcc-sm8750: Allow dumping regmap
Reading few registers at the end of the block (e.g. 0x10000, 0x10004) results in synchronous external abort, so limit the regmap to the last readable register which allows dumping the regs for debugging. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250212163243.237658-1-krzysztof.kozlowski@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 1e9f7d9 commit d81901a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/qcom/dispcc-sm8750.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1883,7 +1883,7 @@ static const struct regmap_config disp_cc_sm8750_regmap_config = {
18831883
.reg_bits = 32,
18841884
.reg_stride = 4,
18851885
.val_bits = 32,
1886-
.max_register = 0x11014,
1886+
.max_register = 0xf004, /* 0x10000, 0x10004 and maybe others are for TZ */
18871887
.fast_io = true,
18881888
};
18891889

0 commit comments

Comments
 (0)