Re: [PATCH 12/18] arm64: dts: qcom: sm6115: correct thermal-sensor unit address

From: Konrad Dybcio
Date: Thu Apr 20 2023 - 06:57:54 EST




On 19.04.2023 23:18, Krzysztof Kozlowski wrote:
> Match unit-address to reg entry to fix dtbs W=1 warnings:
>
> Warning (simple_bus_reg): /soc@0/thermal-sensor@4410000: simple-bus unit address format error, expected "4411000"
>
> Fixes: 7b74cba6b13f ("arm64: dts: qcom: sm6115: Add TSENS node")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
> arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi
> index 43f31c1b9d5a..ea71249bbdf3 100644
> --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi
> @@ -700,7 +700,7 @@ spmi_bus: spmi@1c40000 {
> #interrupt-cells = <4>;
> };
>
> - tsens0: thermal-sensor@4410000 {
> + tsens0: thermal-sensor@4411000 {
> compatible = "qcom,sm6115-tsens", "qcom,tsens-v2";
> reg = <0x0 0x04411000 0x0 0x1ff>, /* TM */
> <0x0 0x04410000 0x0 0x8>; /* SROT */