Re: [PATCH 4/6] arm64: dts: qcom: sm6115: align mem timer size cells with bindings

From: Konrad Dybcio
Date: Wed Nov 22 2023 - 12:18:54 EST




On 11/11/23 17:42, Krzysztof Kozlowski wrote:
Commit 70d1e09ebf19 ("arm64: dts: qcom: sm6115: Use 64 bit addressing")
converted all addresses to 64-bit addressing, but the ARMv7 memory
mapped architected timer bindings expect sizes up to 32-bit. Keep
64-bit addressing but change size of memory mapping to 32-bit
(size-cells=1) and adjust the ranges to match this.

This fixes dtbs_check warnings like:

sm6115p-lenovo-j606f.dtb: timer@f120000: #size-cells:0:0: 1 was expected

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

---

I hope I got the ranges right. Not tested on hardware.
---
Tested-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad