arm64: dts: qcom: sm8250: correct compatible for sm8250-mtp
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 30 Sep 2020 11:21:33 +0000 (14:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:53:19 +0000 (11:53 +0100)
[ Upstream commit d371a931540bc36fd1199de3ec365a1187b7b282 ]

Qualcomm boards should define two compatible strings: one for board,
anoter one for SoC family. sm8250-mtp.dts lists just the board
compatible, which makes it incompatible with qcom.yaml schema.

Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fixes: 60378f1a171e ("arm64: dts: qcom: sm8250: Add sm8250 dts file")
Link: https://lore.kernel.org/r/20200930112133.2091505-1-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sm8250-mtp.dts

index fd194ed..98675e1 100644 (file)
@@ -14,7 +14,7 @@
 
 / {
        model = "Qualcomm Technologies, Inc. SM8250 MTP";
-       compatible = "qcom,sm8250-mtp";
+       compatible = "qcom,sm8250-mtp", "qcom,sm8250";
 
        aliases {
                serial0 = &uart12;