From patchwork Thu Apr 13 12:14:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Jiada" X-Patchwork-Id: 9679339 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 C3C1E60381 for ; Thu, 13 Apr 2017 12:26:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B2ECE28464 for ; Thu, 13 Apr 2017 12:26:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A6FB528647; Thu, 13 Apr 2017 12:26:54 +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 2959B28464 for ; Thu, 13 Apr 2017 12:26:54 +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=NPa/3gKQ5UJkE58QFUcYeMdEkiTtYX8NfwSiTHAHEKA=; b=WICI0ybQPuigFv 6zhmFqYWXQSF3d7kwG3Ey3xMoFuLNUur7mGBumudelXHgdGMfVXz2QYQvd74rRF2A47xVERwbVIXY 3fFhdypqOvhkp/Hv1SSaFd6EKQtFjNJjNfwnM5CjlFWzfvnqfs19ET2UvkXnylXh21yc1IDEYK0lj w5xIdXBspo7vdAVPadEfIxhzPsXD+ZUk6dx0bJj0TVfd+a8hcJp1qTJHFHU+ZN3UdXr160k2KpiH+ hYYB+EVvoQXelABgDTJCTEOMsjdfgwhURj9tfaxmM6ez7FSqHL2oX9I1vPDQmLe8CRMy/1DI15dbF nNWZ7D0Kpey2fx+6HC7w==; 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 1cydpt-0007qF-E7; Thu, 13 Apr 2017 12:26:53 +0000 Received: from relay1.mentorg.com ([192.94.38.131]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cydeU-0001rQ-EU for linux-arm-kernel@lists.infradead.org; Thu, 13 Apr 2017 12:15:12 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1cydeC-0001wd-9G from Jiada_Wang@mentor.com ; Thu, 13 Apr 2017 05:14:48 -0700 Received: from ubuntu.localdomain (137.202.0.76) by SVR-IES-FEM-02.mgc.mentorg.com (137.202.0.106) with Microsoft SMTP Server id 14.3.224.2; Thu, 13 Apr 2017 13:14:46 +0100 From: To: , , , , , Subject: [PATCH RFC 4/5] ARM: dts: imx: change compatiblity for SPI controllers on imx53 later soc Date: Thu, 13 Apr 2017 05:14:03 -0700 Message-ID: <1492085644-4195-5-git-send-email-jiada_wang@mentor.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1492085644-4195-1-git-send-email-jiada_wang@mentor.com> References: <1492085644-4195-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-20170413_051506_718189_2DEF370B X-CRM114-Status: UNSURE ( 9.85 ) 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 e9a5d0b..7373671 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 6d7bf64..4a4b509 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -265,7 +265,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>, @@ -279,7 +279,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>, @@ -293,7 +293,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>, @@ -307,7 +307,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 cc9572e..1d1200c 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 dd4ec85..c115ed3 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 b9d7d2d..d35ad5b 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>,