From patchwork Mon Jul 27 07:41:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 11686493 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 13796138C for ; Mon, 27 Jul 2020 07:43:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DEF2D2072E for ; Mon, 27 Jul 2020 07:43:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kWJpGczY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="V47joEy7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DEF2D2072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=ZglMZQpdhRyLvQUXZJGFkDrNs98if4HWp8UGLId7+2s=; b=kWJpGczYnd7rTmkoBGu6M2+2Rj QJGTK/Qo4nkQcQW+0NLbpVtIyKJv+G2QDByDpGWmQ3qf8YQ9EymDCHSfR07JwYEPBN0GlQPZMTuz/ jGLBKOhtE0p3OhzpnpnaStyHrXpb5E2gKEvnPswOeZrEsPv89lCXQEuUz1vFapCH1eHA6t8Ja8pLg F6dstBeWkzj9/AZwMPCwJLkIn9koUB+8rYb1sQ1ZawznYhQKim9PtoG84qXd/lCr5AAVxAx/JxfRk IlAgjPhM7KfR5xt2/PafextFLtj619krclgwGINN7EBa70+0qnj2Wfud1MA34mywha901awuRh10n ted08jIw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzxlV-0003ak-Er; Mon, 27 Jul 2020 07:41:41 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jzxlT-0003ZI-1S for linux-arm-kernel@lists.infradead.org; Mon, 27 Jul 2020 07:41:39 +0000 Received: by mail-pj1-x1041.google.com with SMTP id i92so1175115pje.0 for ; Mon, 27 Jul 2020 00:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=02L+nV06/zwmICNroTjg7mYMa/wTXN2VrRKBLAVM2dw=; b=V47joEy77meF+oSYORGjxuLpKGaeEr7xnIXCBWjrzNaPfWMvv2QRB45d0IROIpCTOO 80nbmPjwyX5jPTo6BZfOxXcEMWPaVYTXVfJo+azQjZsMxvxNXq3LCe12uRk/2m8Ifli5 2PJ9EDDRyYjJ9BIe+vMXLuW3oWZVdsOwml30I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=02L+nV06/zwmICNroTjg7mYMa/wTXN2VrRKBLAVM2dw=; b=MQAsE+eRP6kkWlSU1HJPcTpbIvvTHh4EhPWRdZdtbewX5DrWexH1F7M8pSI+QckGFe qwnGZQlDHf1jtSGq2HJ7dL+ndbTtIMRm1zQ0KnlhVGlogx41HhZFZXlE/bFa2LSzpnsP 59SFQO1UsIqRysbWPdNMWT6+5yMZxuxVDtN4jdtrvQ/oj14ms6SFjBoGWmZHdxROpS0H K5/zhYkGx6HdKZ17ySg09uwucSvKa9StgF4DEBI5dr6bO8PkhwIjtl9OGnlIYR1MpMjC KFtU+O7tKKYVV/JIVQMpcVURks7kCXJZA8G9JNt5pVyIkV6DEtb+UPxZ9wu/bmqBT964 Nkbw== X-Gm-Message-State: AOAM531WmI16+EfAQLSFnlT9aJZRLQORKe2kVH5QZUdvmzUu6cj4i/Xv Ip58o04F8iY9rxaPDSsfBIGfpex9yS0= X-Google-Smtp-Source: ABdhPJzuZ7ICmuF4ozEQuv167siP20VYHysSz7yu/BjNoHfuX0QIrN7rkJ7u6etQwGM3gpJ79LyGpA== X-Received: by 2002:a17:90a:204:: with SMTP id c4mr16807174pjc.165.1595835695486; Mon, 27 Jul 2020 00:41:35 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:1a60:24ff:fe89:3e93]) by smtp.gmail.com with ESMTPSA id f2sm13966544pfb.184.2020.07.27.00.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jul 2020 00:41:34 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger Subject: [PATCH] arm64: dts: mt8173: elm: Fix nor_flash node property Date: Mon, 27 Jul 2020 15:41:24 +0800 Message-Id: <20200727074124.3779237-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.28.0.rc0.142.g3c755180ce-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200727_034139_107176_3196980E X-CRM114-Status: GOOD ( 10.44 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1041 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , linux-mediatek@lists.infradead.org, Hsin-Yi Wang , Enric Balletbo i Serra , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org bus-width and non-removable is not used by the driver. max-frequency should be spi-max-frequency for flash node. Fixes: 689b937bedde ("arm64: dts: mediatek: add mt8173 elm and hana board") Reported-by: Nicolas Boichat Signed-off-by: Hsin-Yi Wang Reviewed-by: Enric Balletbo i Serra --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index a5a12b2599a4..01522dd10603 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -431,12 +431,11 @@ &nor_flash { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&nor_gpio1_pins>; - bus-width = <8>; - max-frequency = <50000000>; - non-removable; + flash@0 { compatible = "jedec,spi-nor"; reg = <0>; + spi-max-frequency = <50000000>; }; };