From patchwork Tue Oct 27 13:54:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 312190 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7AA72C8300B for ; Tue, 27 Oct 2020 16:56:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F6E3221F8 for ; Tue, 27 Oct 2020 16:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603817804; bh=kFM+WIo7lDsxmB2iJDyzMHfljOEKa+lhPZ2S+U6ZxQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=ivnr5Vx4DDxNtqpG/cL/wjeZuma8eDl05e06CchdR5zaC41QVYy2AjG6G5EZW6CX8 HpuIA0FGBaeU94y8B+Wl23g0K3xkEA086lL/kzW/9SQ3yzdywzHbGg7NHl7VF+qcQ1 J4E2rON4aPjw6yGv+bbuJ8fa8bynGIuUXX9G5cx8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1814502AbgJ0Q4k (ORCPT ); Tue, 27 Oct 2020 12:56:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:46848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1794303AbgJ0PLF (ORCPT ); Tue, 27 Oct 2020 11:11:05 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 808C821D24; Tue, 27 Oct 2020 15:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811465; bh=kFM+WIo7lDsxmB2iJDyzMHfljOEKa+lhPZ2S+U6ZxQo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A36VeEStMBzuMSVUr03PHjN6gK2JCzaGz4WiWScLjNg4EoqHU70ouxp0Q0/V2h7Gd y5TB1PxBNeFlWqU1nbTsiqqLHWhNmsIQKCZWPrdLcYKkIcTtPdDGrRxbQigSREHeUr zmwomb1NcpyLo2ObQ5UwUoNggXIoYsv9em+85uDM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicolas Boichat , Hsin-Yi Wang , Enric Balletbo i Serra , Matthias Brugger , Sasha Levin Subject: [PATCH 5.8 502/633] arm64: dts: mt8173: elm: Fix nor_flash node property Date: Tue, 27 Oct 2020 14:54:05 +0100 Message-Id: <20201027135546.276251149@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Hsin-Yi Wang [ Upstream commit 1276be23fd53e1c4e752966d0eab42aa54a343da ] 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 Link: https://lore.kernel.org/r/20200727074124.3779237-1-hsinyi@chromium.org Signed-off-by: Matthias Brugger Signed-off-by: Sasha Levin --- 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 a5a12b2599a4a..01522dd10603e 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>; }; };