Skip to content

Commit 77dd1e5

Browse files
abelvesaandersson
authored andcommitted
arm64: dts: qcom: sm8550: 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: ffc50b2 ("arm64: dts: qcom: Add base SM8550 dtsi") 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 SM8550-QRD Link: https://lore.kernel.org/r/20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-1-72b5efd9dc4f@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent f176168 commit 77dd1e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/qcom/sm8550.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3318,7 +3318,7 @@
33183318
spmi_bus: spmi@c400000 {
33193319
compatible = "qcom,spmi-pmic-arb";
33203320
reg = <0 0x0c400000 0 0x3000>,
3321-
<0 0x0c500000 0 0x4000000>,
3321+
<0 0x0c500000 0 0x400000>,
33223322
<0 0x0c440000 0 0x80000>,
33233323
<0 0x0c4c0000 0 0x20000>,
33243324
<0 0x0c42d000 0 0x4000>;

0 commit comments

Comments
 (0)