From patchwork Wed May 31 09:19:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Jiada" X-Patchwork-Id: 9756413 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 219BA602BF for ; Wed, 31 May 2017 09:36:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A12C27FAC for ; Wed, 31 May 2017 09:36:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EA7728474; Wed, 31 May 2017 09:36:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 65F6427FAC for ; Wed, 31 May 2017 09:36:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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: List-Owner; bh=YU7M2hMeISxP53776z0QTGlGQP4fZMK0zoiFkcPdAmg=; b=P/i8JgbAnkYE8K G3quEoSvBNfuNxKOmEYmCQJK5W7mMtzOvXVfsVfLQqmLFrBb3AY479fZ5YvJbQ92TUk/ZCeL4ormL 5dkSJ4B2TTcprv1JzN64xEi/KKTvAv5DdDOxK89VI4Bq5NnqcqHi4WkdF0mv8nrl6A9350jF57FUF ScT1Kd5xjsBufDRPZIMIle227FJABRaffKCD5mz2AOZBakFmYJTE0vFQ1lRfPDRDZ2dtrwdudWu50 Qte81HfldwtWXZYPqXiAdzm3LmJduI/QNOsiLfCdbkrFRs0ZYHtL0JsbpQrPvKZq8dXun2k8APzqc w9HH4EfuUdjBM8Ii/LMg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dG02t-0002eM-TU; Wed, 31 May 2017 09:36:03 +0000 Received: from relay1.mentorg.com ([192.94.38.131]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dFzo7-0003Ug-Un for linux-arm-kernel@lists.infradead.org; Wed, 31 May 2017 09:20:51 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-03.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1dFznn-0001qf-CS from Jiada_Wang@mentor.com ; Wed, 31 May 2017 02:20:27 -0700 Received: from ubuntu.localdomain (137.202.0.76) by SVR-IES-FEM-03.mgc.mentorg.com (137.202.0.108) with Microsoft SMTP Server id 14.3.224.2; Wed, 31 May 2017 10:20:26 +0100 From: To: , , , , , Subject: [PATCH v2 linux-next 2/3] ARM: dts: imx: change compatiblity for SPI controllers on imx53 later soc Date: Wed, 31 May 2017 02:19:57 -0700 Message-ID: <1496222398-3192-3-git-send-email-jiada_wang@mentor.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1496222398-3192-1-git-send-email-jiada_wang@mentor.com> References: <1496222398-3192-1-git-send-email-jiada_wang@mentor.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170531_022048_268228_26F56B3B X-CRM114-Status: UNSURE ( 9.46 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiada Wang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jiada Wang for SPI controllers on imx53 and later SoCs, there is HW issue when work in slave mode, as new device type 'IMX53_ECSPI' has been added for these SPI controllers which is compatible with 'fsl,imx53-ecspi'. This patch updates DTS to make imx53 later SPI controller only be compatibile with 'fsl,imx53-ecspi'. Signed-off-by: Jiada Wang --- arch/arm/boot/dts/imx53.dtsi | 4 ++-- arch/arm/boot/dts/imx6q.dtsi | 2 +- arch/arm/boot/dts/imx6qdl.dtsi | 8 ++++---- arch/arm/boot/dts/imx6sl.dtsi | 8 ++++---- arch/arm/boot/dts/imx6sx.dtsi | 8 ++++---- arch/arm/boot/dts/imx6ul.dtsi | 8 ++++---- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index 2e516f4..9eeafb9 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi @@ -243,7 +243,7 @@ ecspi1: ecspi@50010000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx53-ecspi"; reg = <0x50010000 0x4000>; interrupts = <36>; clocks = <&clks IMX5_CLK_ECSPI1_IPG_GATE>, @@ -662,7 +662,7 @@ ecspi2: ecspi@63fac000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx53-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx53-ecspi"; reg = <0x63fac000 0x4000>; interrupts = <37>; clocks = <&clks IMX5_CLK_ECSPI2_IPG_GATE>, diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index dd33849..b214442 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -90,7 +90,7 @@ ecspi5: ecspi@02018000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6q-ecspi", "fsl,imx53-ecspi"; reg = <0x02018000 0x4000>; interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6Q_CLK_ECSPI5>, diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index f325411..ac19c58 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -266,7 +266,7 @@ ecspi1: ecspi@02008000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6q-ecspi", "fsl,imx53-ecspi"; reg = <0x02008000 0x4000>; interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_ECSPI1>, @@ -280,7 +280,7 @@ ecspi2: ecspi@0200c000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6q-ecspi", "fsl,imx53-ecspi"; reg = <0x0200c000 0x4000>; interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_ECSPI2>, @@ -294,7 +294,7 @@ ecspi3: ecspi@02010000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6q-ecspi", "fsl,imx53-ecspi"; reg = <0x02010000 0x4000>; interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_ECSPI3>, @@ -308,7 +308,7 @@ ecspi4: ecspi@02014000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6q-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6q-ecspi", "fsl,imx53-ecspi"; reg = <0x02014000 0x4000>; interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6QDL_CLK_ECSPI4>, diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index 3243af4..d9b9053 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -168,7 +168,7 @@ ecspi1: ecspi@02008000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sl-ecspi", "fsl,imx53-ecspi"; reg = <0x02008000 0x4000>; interrupts = <0 31 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_ECSPI1>, @@ -180,7 +180,7 @@ ecspi2: ecspi@0200c000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sl-ecspi", "fsl,imx53-ecspi"; reg = <0x0200c000 0x4000>; interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_ECSPI2>, @@ -192,7 +192,7 @@ ecspi3: ecspi@02010000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sl-ecspi", "fsl,imx53-ecspi"; reg = <0x02010000 0x4000>; interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_ECSPI3>, @@ -204,7 +204,7 @@ ecspi4: ecspi@02014000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sl-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sl-ecspi", "fsl,imx53-ecspi"; reg = <0x02014000 0x4000>; interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_ECSPI4>, diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index f16b9df..149ef79 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -251,7 +251,7 @@ ecspi1: ecspi@02008000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sx-ecspi", "fsl,imx53-ecspi"; reg = <0x02008000 0x4000>; interrupts = ; clocks = <&clks IMX6SX_CLK_ECSPI1>, @@ -263,7 +263,7 @@ ecspi2: ecspi@0200c000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sx-ecspi", "fsl,imx53-ecspi"; reg = <0x0200c000 0x4000>; interrupts = ; clocks = <&clks IMX6SX_CLK_ECSPI2>, @@ -275,7 +275,7 @@ ecspi3: ecspi@02010000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sx-ecspi", "fsl,imx53-ecspi"; reg = <0x02010000 0x4000>; interrupts = ; clocks = <&clks IMX6SX_CLK_ECSPI3>, @@ -287,7 +287,7 @@ ecspi4: ecspi@02014000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6sx-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6sx-ecspi", "fsl,imx53-ecspi"; reg = <0x02014000 0x4000>; interrupts = ; clocks = <&clks IMX6SX_CLK_ECSPI4>, diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 6da2b77..7226061 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -204,7 +204,7 @@ ecspi1: ecspi@02008000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6ul-ecspi", "fsl,imx53-ecspi"; reg = <0x02008000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_ECSPI1>, @@ -216,7 +216,7 @@ ecspi2: ecspi@0200c000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6ul-ecspi", "fsl,imx53-ecspi"; reg = <0x0200c000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_ECSPI2>, @@ -228,7 +228,7 @@ ecspi3: ecspi@02010000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6ul-ecspi", "fsl,imx53-ecspi"; reg = <0x02010000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_ECSPI3>, @@ -240,7 +240,7 @@ ecspi4: ecspi@02014000 { #address-cells = <1>; #size-cells = <0>; - compatible = "fsl,imx6ul-ecspi", "fsl,imx51-ecspi"; + compatible = "fsl,imx6ul-ecspi", "fsl,imx53-ecspi"; reg = <0x02014000 0x4000>; interrupts = ; clocks = <&clks IMX6UL_CLK_ECSPI4>,