arm64: dts: qcom: sdm845-polaris: add missing touchscreen child node reg
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 19 Apr 2023 21:18:56 +0000 (23:18 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 04:50:45 +0000 (21:50 -0700)
Add missing reg property to touchscreen child node to fix dtbs W=1 warnings:

  Warning (unit_address_vs_reg): /soc@0/geniqup@ac0000/i2c@a98000/touchscreen@20/rmi4-f12@12: node has a unit name, but no reg or ranges property

Fixes: be497abe19bf ("arm64: dts: qcom: Add support for Xiaomi Mi Mix2s")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Molly Sophia <mollysophia379@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230419211856.79332-18-krzysztof.kozlowski@linaro.org
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts

index 8ae0ffc..576f042 100644 (file)
                };
 
                rmi4-f12@12 {
+                       reg = <0x12>;
                        syna,rezero-wait-ms = <0xc8>;
                        syna,clip-x-high = <0x438>;
                        syna,clip-y-high = <0x870>;