Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3540305iob; Sun, 1 May 2022 22:01:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz5VJS3K31CPYPdp6vs31pEu7WMlTpTugx0osuXLlC+qz72wfskVdGrtC+/HIP2gucijTD X-Received: by 2002:a63:d801:0:b0:3c1:7976:8a73 with SMTP id b1-20020a63d801000000b003c179768a73mr8333704pgh.266.1651467673472; Sun, 01 May 2022 22:01:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651467673; cv=none; d=google.com; s=arc-20160816; b=GYOci/bXeANMaPuta8gyl80IFJ9jIFmVmyM6lWL4xglWWBcDIIwazwbibgK+izerc/ llGHIomlkzZ+RntQt9SQ2Eh6tFoz2JKpRKzNNR6/fseZsU4f/cJDjIHo+XKVQFg59cDs 9T4DJX78QA+Kl/ZXcBmJ9Bakps2zGQD1ifkczG1PGZdQzEzgoytAO4BmZfJUkG53hyTf wm8HQOOf5AXSft4eAkzGXgxFiYpVmjN3ffkD/VMQKFCotWfeqHzcNxb1DijYdKPSQ9q6 pYhbLwAALjxAfeDOJK7C902vYPjBIp0wccrzEkRiqVBRjqtzymyPeYtUzJ9JC50KfmKX Aj6A== 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=raj0E565qu05UPRoXNx0dhwFNnyUxeBGupA1L89x8Fc=; b=NRsC1zy8jKbBt4F3QHhIGLrvrkPvwBQVY6BZ6GfW5LOlu44Tbl39TPT3nK/7jskiwy Gmoq3iZCYpc020AivEtPcMWH3kp5inE73HErGHlizgWLdCEYB+XJ69ZuWpJtZ9mpOkKS ExtY9tHr1CKv/GRMr4mAw2MOR498Z7UN94TCTY81eYWM04ZdTWLf7GSk8LnDa/I88tm5 ZuQHhVkbas+o2tLkwQzr/v8zc+Wga3IyaUSzuFggk6my9xqoSg3Shy5ws0y2ZMfre2Rn 9zFZhiipTfSY1YDCWdhJLFLujGWMi0tSyEqoUzrpPaGadztzVOVn79c6yiNP6yqiTHKd h/9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="AQbAGPd/"; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oo17-20020a17090b1c9100b001d95e1f2beesi14486262pjb.64.2022.05.01.22.00.55; Sun, 01 May 2022 22:01:13 -0700 (PDT) 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=@collabora.com header.s=mail header.b="AQbAGPd/"; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1380451AbiD2UBP (ORCPT + 99 others); Fri, 29 Apr 2022 16:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356279AbiD2UBN (ORCPT ); Fri, 29 Apr 2022 16:01:13 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9EC5BA7766; Fri, 29 Apr 2022 12:57:53 -0700 (PDT) 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?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY 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 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 --- 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>, -- 2.36.0