Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5510946rwb; Mon, 14 Nov 2022 05:51:41 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zvGJVqUVa+br5kNqdu2pAJj5GdBQ3IixwIrkI/05p89O4yo5wmgiIr7CbSBzk1UbeH/Ly X-Received: by 2002:aa7:c694:0:b0:461:8efb:3f84 with SMTP id n20-20020aa7c694000000b004618efb3f84mr11032982edq.210.1668433901043; Mon, 14 Nov 2022 05:51:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668433901; cv=none; d=google.com; s=arc-20160816; b=OLHUrGaf5//bABwei596RlmJCT/DlCMtHV8GAJ52vXqDycLYXT8ABfKCJmbhxfsQNl nyQWkV4XgZ7o8iJQjAvnbGf9z1y1J4ppgAzAgrlIBvmrp8bfCKh+DDMrpvqvltO2NOv/ mi/PY682b+L9V3asajth9q/tjpCzwYswtJkyHKf8/nxlM5w9sEglBPhWkLIxoFm9Vrfy +vzdGC+MSPT4DKQJEC+wXpsMOIYsxd8Y7xXT+nUV+wQMWnjSr61uIjODy9Ru2YzXXQSW aBYwAJau9dK8VVV2kfdNI4JwgOjSznRfFuStwSjJvahQF6xq0QGXmsWYN9HV1PYxKCrJ enXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=sb9mbfISfXOuTwXYbmCh3eWTQjNhtd1x8mN2o6zpoTY=; b=pHsnBLQqmA8ojfLm6phoQlGgqXbgPfZSrJrgQX23b6gCnXaBeOGTaCGbIcVVfvh9Di HPOYl9HVZhQ2Txl4mJTymsw+sMgTI02KWvbsyqAFYfMAGlcQUlkokjV/8aHf+oj4gBCT QICu5Z6z+014ox+TIyZYrN6hQw3e+Ta/BbVmaDMVV1mDjEphPNnGRJ44eUBMQ2eTeSrq RivQKmZRNUOxD8cOLokKj+6W1AbT3khSf1oXdWIK2TRoVmlHpRLanjwq4X/VNMBOM7J5 pt/SGiXV9eSKuF8W+4KotICflfoHwla5xbXMnkb40HZscxCfaN4yKlxH34RjkEQVkLmR 9Hcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1PUskdk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp17-20020a170906c15100b007a9d456583bsi8119114ejc.62.2022.11.14.05.51.19; Mon, 14 Nov 2022 05:51:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d1PUskdk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237104AbiKNMRG (ORCPT + 88 others); Mon, 14 Nov 2022 07:17:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237097AbiKNMRF (ORCPT ); Mon, 14 Nov 2022 07:17:05 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EE8F1EAE3; Mon, 14 Nov 2022 04:17:04 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 38FF0B80DBF; Mon, 14 Nov 2022 12:17:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E76D4C433C1; Mon, 14 Nov 2022 12:16:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668428221; bh=UH+GWkwtfms2AOzvG2j6b82aSdcxdwm3nMRBgLF6O14=; h=From:To:Cc:Subject:Date:From; b=d1PUskdkK8fQfRAqaWSguZqyt5ak+ENLkFQEh5ZoLq7cmDRLS8xmGFF6ytUPwgdBy LqE6iqeC5bPYUOKMAQV0IgesFXwVaPpvYNW9tMsAdEX+nRYuDAs3u9Fx4H+rH+SJxz EOp5Dj2tGDHj4cPaj3BJGf5zWMyQJ+HjfIH2VFbuXqRPaO8QogsWSz0fyZKjc1c4Bu 7/pj4AuddXeSz01oiG4Ggl2a16RVHUxGOT/Lnt3ul55K7a6WXncOxL4vzwE/VDlVuO 5ArUt/AdxOYHP4MWksraFb4Uo+rnRgAcW11N3XFvlIicZeFnFVnFqqrSz97kYjN7Y6 SmdKUT4fydJPA== From: matthias.bgg@kernel.org To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, frank-w@public-files.de Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Brugger Subject: [PATCH v2] arm64: dts: mediatek: mt7986: Add SoC compatible Date: Mon, 14 Nov 2022 13:16:53 +0100 Message-Id: <20221114121653.14739-1-matthias.bgg@kernel.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Matthias Brugger Missing SoC compatible in the board file causes dt bindings check. Signed-off-by: Matthias Brugger --- Changes since v1: - Move SoC compatible to first line of the block - Add SoC compatible to mt7986b arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 1 + arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt7986b.dtsi | 3 +++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts index afe37b702eef9..0e3b603159477 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts @@ -9,7 +9,7 @@ / { model = "MediaTek MT7986a RFB"; - compatible = "mediatek,mt7986a-rfb"; + compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; aliases { serial0 = &uart0; diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi index 72e0d9722e07a..3c52ec3f99a31 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi @@ -10,6 +10,7 @@ #include / { + compatible = "mediatek,mt7986a"; interrupt-parent = <&gic>; #address-cells = <2>; #size-cells = <2>; diff --git a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts index 3443013b5971e..d03e66a84c5d4 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts +++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts @@ -9,7 +9,7 @@ / { model = "MediaTek MT7986b RFB"; - compatible = "mediatek,mt7986b-rfb"; + compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b"; aliases { serial0 = &uart0; diff --git a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi index 23923b9f8944b..db5189664c29b 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi @@ -5,6 +5,9 @@ */ #include "mt7986a.dtsi" +/ { + compatible = "mediatek,mt7986b"; +}; &pio { compatible = "mediatek,mt7986b-pinctrl"; -- 2.38.1