Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1384497 > unrolled thread

[PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA

Started byAndy Shevchenko <andriy.shevchenko@linux.intel.com>
First post2016-04-21 20:30 +0200
Last post2016-04-21 22:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-04-21 20:30 +0200
    Re: [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex  DWC SATA Rob Herring <robh+dt@kernel.org> - 2016-04-21 22:00 +0200

#1384497 — [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA

FromAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Date2016-04-21 20:30 +0200
Subject[PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA
Message-ID<rqrwu-587-7@gated-at.bofh.it>
Device tree update for the Applied micro processor 460ex on-chip SATA to use
"dmas" property.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 arch/powerpc/boot/dts/canyonlands.dts | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/powerpc/boot/dts/canyonlands.dts b/arch/powerpc/boot/dts/canyonlands.dts
index 3dc75de..549c24c 100644
--- a/arch/powerpc/boot/dts/canyonlands.dts
+++ b/arch/powerpc/boot/dts/canyonlands.dts
@@ -190,12 +190,21 @@
 					 /* DMA */ 0x2 &UIC0 0xc 0x4>;
 		};
 
+		AHBDMA: dma@bffd0800 {
+			compatible = "snps,dma-spear1340";
+			reg = <4 0xbffd0800 0x400>;
+			interrupt-parent = <&UIC3>;
+			interrupts = <0x5 0x4>;
+			#dma-cells = <3>;
+		};
+
 		SATA0: sata@bffd1000 {
 			compatible = "amcc,sata-460ex";
-			reg = <4 0xbffd1000 0x800 4 0xbffd0800 0x400>;
+			reg = <4 0xbffd1000 0x800>;
 			interrupt-parent = <&UIC3>;
-			interrupts = <0x0 0x4       /* SATA */
-				      0x5 0x4>;     /* AHBDMA */
+			interrupts = <0x0 0x4>;
+			dmas = <&AHBDMA 0 1 0>;
+			dma-names = "sata-dma";
 		};
 
 		POB0: opb {
-- 
2.8.0.rc3

[toc] | [next] | [standalone]


#1384544 — Re: [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA

FromRob Herring <robh+dt@kernel.org>
Date2016-04-21 22:00 +0200
SubjectRe: [PATCH v1 23/23] powerpc/4xx: Device tree update for the 460ex DWC SATA
Message-ID<rqsVB-6gR-27@gated-at.bofh.it>
In reply to#1384497
On Thu, Apr 21, 2016 at 1:15 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
> Device tree update for the Applied micro processor 460ex on-chip SATA to use
> "dmas" property.
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  arch/powerpc/boot/dts/canyonlands.dts | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

I see you have maintained compatibility in the driver for old DTs, so:

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web