From patchwork Fri Apr 29 19:57:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= X-Patchwork-Id: 12832672 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 728E1C433F5 for ; Fri, 29 Apr 2022 19:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fNcJ0CNtkXJz/9hrgyf/oZfMq3OcXlxx74DXFmlmYaU=; b=2bqxDyR7QSWi7N 1xJkG1bgdR+GdVI17NzTBq03CYn8nsi2nd2yHvSlnZEZRjWtH9c5HMIzFepfz4wXPcn23ecgxmc1q ASuDvJPXUnBXA6qSRdDgfPLXF7leawSV7Lve5JotcKlKn+UaqnMawmPooOFOm283R/2v5Ai+4RjVs WVmjzSEmdS6KOlTUR1DeM9fJjvJCwRNSRzYAts9rMuueWCMPn+BY4spzLRhIy//fDYIFj7MJByN1t qki0/yfcbV4nSDWyPVadFeiLy9CyHcw5lCFAb7BjrGNoIW8oDRr2VH1Bl+DXS0sbw6v1iQniFnJM7 /MWrKVfJLfyxKZPzUYww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkWkb-00CNvB-Gh; Fri, 29 Apr 2022 19:58:01 +0000 Received: from bhuna.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e3e3]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkWkX-00CNtz-KJ; Fri, 29 Apr 2022 19:57:59 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nfraprado) with ESMTPSA id C30DE1F4696F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1651262272; bh=aoTbCcZZ92qztLcOxHun78cIUtr7XMDInx4IzvkcyKk=; h=From:To:Cc:Subject:Date:From; b=AQbAGPd/98luGnCQpTydxXUBRqg2ogAU9Idgb+W7cXtWtSkMeVLrb2lqcl7pP8oJ2 B/I6qLiFNyA1UrFCLlEVtv3K+tEC/kdR/BzOyYBdD0TyoUN3/8+/bYvzZeDW1cmbvE rmaMtHrrIQlOES6uwiKDIW1SJ8HLqd9TshZAeXpHYzbifrQNC8WOBZEQZ/ynjyUB7I /ZyxjqUYTLJzVnR+EW3uL5dxTWXDpgRrdZOZzesFeA+VVc9cilfqfErZjWXELjFLId pw/S45N6Vmxo2uYXNCOeLECVLq9Np0FRBsIkKuL77aYOwaQWxDulP26vWVkjonkpLo kN4p3BaHSMuqw== From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= To: Matthias Brugger Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mediatek: Add fallback compatible for mt8192's flash Date: Fri, 29 Apr 2022 15:57:45 -0400 Message-Id: <20220429195745.2203461-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220429_125757_819249_18434935 X-CRM114-Status: GOOD ( 11.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The dt-binding for Mediatek's SPI NOR flash controller expects a mt8173 fallback compatible for mt8192, so add it in mt8192.dtsi. The driver already sets custom data based on the mt8192 compatible, so this fallback compatible won't be used and is added purely to suppress the dt-binding warning. Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 26dbe9ecc528..32a836105ea7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi @@ -896,7 +896,7 @@ pcie_intc0: interrupt-controller { }; nor_flash: spi@11234000 { - compatible = "mediatek,mt8192-nor"; + compatible = "mediatek,mt8192-nor", "mediatek,mt8173-nor"; reg = <0 0x11234000 0 0xe0>; interrupts = ; clocks = <&topckgen CLK_TOP_SFLASH_SEL>,