Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp508562imm; Thu, 5 Jul 2018 04:19:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdn2tLuK44QdWnOaEcTMAPkLl6/KZfgpLbZInRluriXgtiVR8LRzjcDgYdQoebKZWaTl2No X-Received: by 2002:a17:902:900b:: with SMTP id a11-v6mr5778826plp.143.1530789593837; Thu, 05 Jul 2018 04:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530789593; cv=none; d=google.com; s=arc-20160816; b=Vh8xSHop5+kh3tqF0Wi/SZ8sRgacssyXMjSYW26jYdrQDk/6oOIUHg0u73z5+lA7iY 8K5mgld0PFugFnk2Hv9AIiYEJSdXxtTiKwNc9CRQYIvEtgH7ALLJYtnNQYMj8wVA7G3u +rK/W5cuSYE7nvX60HnHkYMtchtT9oqIjljyciTkT+iNQGi7Qz5nYjaqAlVNJZVCt+9W t3++FIjFLC/8PGERgHXQVk1fq0Bc37X1umAaSzKzx8yNI4I/JPs+W4zN1MYSVPNm1qlX w/s8CmVcfBTVSoHDoQXm5ExKh/PCsYO0ItUU7bxNndzDnXohcrBL1sA2RuaueF38YCZY ZUww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=ubu12oZ+5kyYlaB0ZXZguvux9cSw8GQVi5nLOats6YQ=; b=txy5XdQgA4c4BeUwVevBbqG+/nvtWC8YZhQuy3/KEVwPvKi1gJoFKbHB82I76sHg9r pDQvjrRSCGRH+IWMKH2O38D5Nvdx3G3mz2p2A6V8QQmfka9WodX5jhQzQEl02ElzlNHm t0CYl2H57kSAP6olv5+piaWzjbiJkFWCscA7VCQ+iZSQlw5HKggAoRuDsSQeMJXlauzT Vo16//jBoKiYTSMP8pnp3thZ+ci0MzJwiWIxg/pbe3e1/QkcZR2/1hSTFn+Bma/rfCSu Z+XARajRGOGZMKLOVLAHtoT3uwz1STppIRtpFQzhrEO+Nu9Ao21F71U7IsSck+VTf2pl LQ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=KOPdqCMZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2-v6si5074718pgp.681.2018.07.05.04.19.39; Thu, 05 Jul 2018 04:19:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=KOPdqCMZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754094AbeGELSh (ORCPT + 99 others); Thu, 5 Jul 2018 07:18:37 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([81.169.146.181]:19599 "EHLO mo4-p05-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753533AbeGELSd (ORCPT ); Thu, 5 Jul 2018 07:18:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1530789511; s=strato-dkim-0002; d=as-electronics.de; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=ubu12oZ+5kyYlaB0ZXZguvux9cSw8GQVi5nLOats6YQ=; b=KOPdqCMZUANrW/aUxHUIn2b70noV6EGICxXyYjhKliMeEITGZG2A6mUZrThWkVP2QR cP+hIX/1VocH/GdsqY0LNm4hEQo3imJ+1pXwKT3Oph3PIMBKmHh2Ya5bBwYihvye31w4 wrFJzZtYr1jiTmowUEcAdvGhTGfQ+vWnPFj8AxP9Bcqddw29JTDLOJYkI6SVsAtbRoaW 52aWmEYmyd8t9jmQ6UG8XqFiHqjtzQ4UWETE7SI6fdDgJ9CUjEVjIoPSrkVmKQdLJtn2 gU6LM+oiwuGnGXJ842sU8vr8C3GrGZ1a8H5tVl5uetC9fjM2hyMbrvA0rEnHiKUKD6OF +NSw== X-RZG-AUTH: ":LX8JdEmkW/4tAFwMkcNJIloh1hrA5u3owhPk7bdT5Fx22AatU+eLaHfutoZdl+X9BETxn4/4+IVqx+daE87UU5bgm7XHzClQnm8VxHglxo5wj3H1fls=" X-RZG-CLASS-ID: mo05 Received: from fs-work.fritz.box by smtp.strato.de (RZmta 43.12 AUTH) with ESMTPSA id a0925bu65BI04iF (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 5 Jul 2018 13:18:00 +0200 (CEST) From: Frieder Schrempf To: linux-mtd@lists.infradead.org, boris.brezillon@bootlin.com, linux-spi@vger.kernel.org Cc: dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, richard@nod.at, miquel.raynal@bootlin.com, broonie@kernel.org, david.wolfe@nxp.com, fabio.estevam@nxp.com, prabhakar.kushwaha@nxp.com, yogeshnarayan.gaur@nxp.com, han.xu@nxp.com, shawnguo@kernel.org, Frieder Schrempf , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 07/12] arm64: dts: Reflect change of FSL QSPI driver and remove unused properties Date: Thu, 5 Jul 2018 13:15:03 +0200 Message-Id: <1530789310-16254-8-git-send-email-frieder.schrempf@exceet.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1530789310-16254-1-git-send-email-frieder.schrempf@exceet.de> References: <1530789310-16254-1-git-send-email-frieder.schrempf@exceet.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The FSL QSPI driver was moved to the SPI framework and it now acts as a SPI controller. Therefore the subnodes need to set spi-[rx/tx]-bus-width = <4>, so quad mode is used just as before. Also the properties 'num-cs' and 'bus-num' were never read by the driver and can be removed. The property 'fsl,qspi-has-second-chip' is not needed anymore and will be removed after the old driver was disabled to avoid breaking fsl-ls1046a-rdb.dts. Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 3 ++- arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 4 ++-- arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 6 ++++-- arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi | 4 ++++ 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts index 6341281..31e7b31 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts @@ -170,7 +170,6 @@ }; &qspi { - bus-num = <0>; status = "okay"; qflash0: s25fl128s@0 { @@ -178,6 +177,8 @@ #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <0>; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts index 434383b..dc10105 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts @@ -198,8 +198,6 @@ }; &qspi { - num-cs = <2>; - bus-num = <0>; status = "okay"; qflash0: s25fl128s@0 { @@ -207,6 +205,8 @@ #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <0>; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts index 5dc2782..1848c33 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts @@ -136,8 +136,6 @@ }; &qspi { - num-cs = <2>; - bus-num = <0>; status = "okay"; qflash0: s25fs512s@0 { @@ -145,6 +143,8 @@ #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <0>; }; @@ -153,6 +153,8 @@ #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <1>; }; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi index 1de6188..fc62ed9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi @@ -170,6 +170,8 @@ #size-cells = <1>; compatible = "st,m25p80"; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <0>; }; flash2: s25fl256s1@2 { @@ -177,6 +179,8 @@ #size-cells = <1>; compatible = "st,m25p80"; spi-max-frequency = <20000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; reg = <2>; }; }; -- 2.7.4