arm64: dts: qcom: sm8650: Fix SPMI channels size
authorAbel Vesa <abel.vesa@linaro.org>
Wed, 21 Feb 2024 13:04:26 +0000 (15:04 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 4 Mar 2024 03:53:44 +0000 (19:53 -0800)
commita4f82b8045e3c7913266aa6ea1ee15752a062abd
treec7d553a2dab520d23feea06997e4ad6a6c558654
parent77dd1e50ffcba33c3195ae4fc78f354368ddacb2
arm64: dts: qcom: sm8650: Fix SPMI channels size

The actual size of the channels registers region is 4MB, according to the
documentation. This issue was not caught until now because the driver was
supposed to allow same regions being mapped multiple times for supporting
multiple buses. Thie driver is using platform_get_resource_byname() and
devm_ioremap() towards that purpose, which intentionally avoids
devm_request_mem_region() altogether.

Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Link: https://lore.kernel.org/r/20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-2-72b5efd9dc4f@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi