diff options
author | Vinod Koul <vkoul@kernel.org> | 2018-10-24 04:16:22 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-10-24 04:16:22 -0400 |
commit | 8e75ab9bd835bd29bc9f3a587d8e2799009d301a (patch) | |
tree | 81feae1e2ac199cffc572bc2594f4a50e0c23c4d | |
parent | bfda9020870824c497c674901142f836c199dde9 (diff) | |
parent | 97d49c59e219acac576e16293a6b8cb99302f62f (diff) |
Merge branch 'topic/renesas' into for-linus
-rw-r--r-- | Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt | 1 | ||||
-rw-r--r-- | drivers/dma/nbpfaxi.c | 5 | ||||
-rw-r--r-- | drivers/dma/sh/rcar-dmac.c | 3 | ||||
-rw-r--r-- | drivers/dma/sh/shdma-arm.h | 5 | ||||
-rw-r--r-- | drivers/dma/sh/shdma-base.c | 5 | ||||
-rw-r--r-- | drivers/dma/sh/shdma-of.c | 5 | ||||
-rw-r--r-- | drivers/dma/sh/shdma-r8a73a4.c | 5 | ||||
-rw-r--r-- | drivers/dma/sh/shdma.h | 6 | ||||
-rw-r--r-- | drivers/dma/sh/shdmac.c | 6 | ||||
-rw-r--r-- | drivers/dma/sh/sudmac.c | 5 | ||||
-rw-r--r-- | drivers/dma/sh/usb-dmac.c | 5 |
12 files changed, 14 insertions, 38 deletions
diff --git a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt index 946229c48657..a5a7c3f5a1e3 100644 --- a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt +++ b/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt | |||
@@ -17,6 +17,7 @@ Required Properties: | |||
17 | - compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback. | 17 | - compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback. |
18 | Examples with soctypes are: | 18 | Examples with soctypes are: |
19 | - "renesas,dmac-r8a7743" (RZ/G1M) | 19 | - "renesas,dmac-r8a7743" (RZ/G1M) |
20 | - "renesas,dmac-r8a7744" (RZ/G1N) | ||
20 | - "renesas,dmac-r8a7745" (RZ/G1E) | 21 | - "renesas,dmac-r8a7745" (RZ/G1E) |
21 | - "renesas,dmac-r8a77470" (RZ/G1C) | 22 | - "renesas,dmac-r8a77470" (RZ/G1C) |
22 | - "renesas,dmac-r8a7790" (R-Car H2) | 23 | - "renesas,dmac-r8a7790" (R-Car H2) |
diff --git a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt index 482e54362d3e..1743017bd948 100644 --- a/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt +++ b/Documentation/devicetree/bindings/dma/renesas,usb-dmac.txt | |||
@@ -4,6 +4,7 @@ Required Properties: | |||
4 | -compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback. | 4 | -compatible: "renesas,<soctype>-usb-dmac", "renesas,usb-dmac" as fallback. |
5 | Examples with soctypes are: | 5 | Examples with soctypes are: |
6 | - "renesas,r8a7743-usb-dmac" (RZ/G1M) | 6 | - "renesas,r8a7743-usb-dmac" (RZ/G1M) |
7 | - "renesas,r8a7744-usb-dmac" (RZ/G1N) | ||
7 | - "renesas,r8a7745-usb-dmac" (RZ/G1E) | 8 | - "renesas,r8a7745-usb-dmac" (RZ/G1E) |
8 | - "renesas,r8a7790-usb-dmac" (R-Car H2) | 9 | - "renesas,r8a7790-usb-dmac" (R-Car H2) |
9 | - "renesas,r8a7791-usb-dmac" (R-Car M2-W) | 10 | - "renesas,r8a7791-usb-dmac" (R-Car M2-W) |
diff --git a/drivers/dma/nbpfaxi.c b/drivers/dma/nbpfaxi.c index 8d4914cd06f0..a67b292190f4 100644 --- a/drivers/dma/nbpfaxi.c +++ b/drivers/dma/nbpfaxi.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. | 3 | * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. |
3 | * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 4 | * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of version 2 of the GNU General Public License as | ||
7 | * published by the Free Software Foundation. | ||
8 | */ | 5 | */ |
9 | 6 | ||
10 | #include <linux/bitmap.h> | 7 | #include <linux/bitmap.h> |
diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c index 48ee35e2bce6..74fa2b1a6a86 100644 --- a/drivers/dma/sh/rcar-dmac.c +++ b/drivers/dma/sh/rcar-dmac.c | |||
@@ -198,6 +198,7 @@ struct rcar_dmac { | |||
198 | struct dma_device engine; | 198 | struct dma_device engine; |
199 | struct device *dev; | 199 | struct device *dev; |
200 | void __iomem *iomem; | 200 | void __iomem *iomem; |
201 | struct device_dma_parameters parms; | ||
201 | 202 | ||
202 | unsigned int n_channels; | 203 | unsigned int n_channels; |
203 | struct rcar_dmac_chan *channels; | 204 | struct rcar_dmac_chan *channels; |
@@ -1792,6 +1793,8 @@ static int rcar_dmac_probe(struct platform_device *pdev) | |||
1792 | 1793 | ||
1793 | dmac->dev = &pdev->dev; | 1794 | dmac->dev = &pdev->dev; |
1794 | platform_set_drvdata(pdev, dmac); | 1795 | platform_set_drvdata(pdev, dmac); |
1796 | dmac->dev->dma_parms = &dmac->parms; | ||
1797 | dma_set_max_seg_size(dmac->dev, RCAR_DMATCR_MASK); | ||
1795 | dma_set_mask_and_coherent(dmac->dev, DMA_BIT_MASK(40)); | 1798 | dma_set_mask_and_coherent(dmac->dev, DMA_BIT_MASK(40)); |
1796 | 1799 | ||
1797 | ret = rcar_dmac_parse_of(&pdev->dev, dmac); | 1800 | ret = rcar_dmac_parse_of(&pdev->dev, dmac); |
diff --git a/drivers/dma/sh/shdma-arm.h b/drivers/dma/sh/shdma-arm.h index a1b0ef45d6a2..7459f9a13b5b 100644 --- a/drivers/dma/sh/shdma-arm.h +++ b/drivers/dma/sh/shdma-arm.h | |||
@@ -1,11 +1,8 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
1 | /* | 2 | /* |
2 | * Renesas SuperH DMA Engine support | 3 | * Renesas SuperH DMA Engine support |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Renesas Electronics, Inc. | 5 | * Copyright (C) 2013 Renesas Electronics, Inc. |
5 | * | ||
6 | * This is free software; you can redistribute it and/or modify it under the | ||
7 | * terms of version 2 the GNU General Public License as published by the Free | ||
8 | * Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #ifndef SHDMA_ARM_H | 8 | #ifndef SHDMA_ARM_H |
diff --git a/drivers/dma/sh/shdma-base.c b/drivers/dma/sh/shdma-base.c index 6b5626e299b2..c51de498b5b4 100644 --- a/drivers/dma/sh/shdma-base.c +++ b/drivers/dma/sh/shdma-base.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Dmaengine driver base library for DMA controllers, found on SH-based SoCs | 3 | * Dmaengine driver base library for DMA controllers, found on SH-based SoCs |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 8 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
8 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. | 9 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
9 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. | 10 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. |
10 | * | ||
11 | * This is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of version 2 of the GNU General Public License as | ||
13 | * published by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/delay.h> | 13 | #include <linux/delay.h> |
diff --git a/drivers/dma/sh/shdma-of.c b/drivers/dma/sh/shdma-of.c index f999f9b0d314..be89dd894328 100644 --- a/drivers/dma/sh/shdma-of.c +++ b/drivers/dma/sh/shdma-of.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * SHDMA Device Tree glue | 3 | * SHDMA Device Tree glue |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Renesas Electronics Inc. | 5 | * Copyright (C) 2013 Renesas Electronics Inc. |
5 | * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 6 | * Author: Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
6 | * | ||
7 | * This is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of version 2 of the GNU General Public License as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #include <linux/dmaengine.h> | 9 | #include <linux/dmaengine.h> |
diff --git a/drivers/dma/sh/shdma-r8a73a4.c b/drivers/dma/sh/shdma-r8a73a4.c index 96ea3828c3eb..ddc9a3578353 100644 --- a/drivers/dma/sh/shdma-r8a73a4.c +++ b/drivers/dma/sh/shdma-r8a73a4.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Renesas SuperH DMA Engine support for r8a73a4 (APE6) SoCs | 3 | * Renesas SuperH DMA Engine support for r8a73a4 (APE6) SoCs |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Renesas Electronics, Inc. | 5 | * Copyright (C) 2013 Renesas Electronics, Inc. |
5 | * | ||
6 | * This is free software; you can redistribute it and/or modify it under the | ||
7 | * terms of version 2 the GNU General Public License as published by the Free | ||
8 | * Software Foundation. | ||
9 | */ | 6 | */ |
10 | #include <linux/sh_dma.h> | 7 | #include <linux/sh_dma.h> |
11 | 8 | ||
diff --git a/drivers/dma/sh/shdma.h b/drivers/dma/sh/shdma.h index 2c0a969adc9f..bfb69909bd19 100644 --- a/drivers/dma/sh/shdma.h +++ b/drivers/dma/sh/shdma.h | |||
@@ -1,14 +1,10 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0+ */ | ||
1 | /* | 2 | /* |
2 | * Renesas SuperH DMA Engine support | 3 | * Renesas SuperH DMA Engine support |
3 | * | 4 | * |
4 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 5 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
5 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. | 6 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
6 | * | 7 | * |
7 | * This is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License as published by | ||
9 | * the Free Software Foundation; either version 2 of the License, or | ||
10 | * (at your option) any later version. | ||
11 | * | ||
12 | */ | 8 | */ |
13 | #ifndef __DMA_SHDMA_H | 9 | #ifndef __DMA_SHDMA_H |
14 | #define __DMA_SHDMA_H | 10 | #define __DMA_SHDMA_H |
diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index 04a74e0a95b7..7971ea275387 100644 --- a/drivers/dma/sh/shdmac.c +++ b/drivers/dma/sh/shdmac.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0+ | ||
1 | /* | 2 | /* |
2 | * Renesas SuperH DMA Engine support | 3 | * Renesas SuperH DMA Engine support |
3 | * | 4 | * |
@@ -8,11 +9,6 @@ | |||
8 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. | 9 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
9 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. | 10 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. |
10 | * | 11 | * |
11 | * This is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License as published by | ||
13 | * the Free Software Foundation; either version 2 of the License, or | ||
14 | * (at your option) any later version. | ||
15 | * | ||
16 | * - DMA of SuperH does not have Hardware DMA chain mode. | 12 | * - DMA of SuperH does not have Hardware DMA chain mode. |
17 | * - MAX DMA size is 16MB. | 13 | * - MAX DMA size is 16MB. |
18 | * | 14 | * |
diff --git a/drivers/dma/sh/sudmac.c b/drivers/dma/sh/sudmac.c index 69b9564dc9d9..30cc3553cb8b 100644 --- a/drivers/dma/sh/sudmac.c +++ b/drivers/dma/sh/sudmac.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Renesas SUDMAC support | 3 | * Renesas SUDMAC support |
3 | * | 4 | * |
@@ -8,10 +9,6 @@ | |||
8 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> | 9 | * Copyright (C) 2009 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> |
9 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. | 10 | * Copyright (C) 2009 Renesas Solutions, Inc. All rights reserved. |
10 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. | 11 | * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. |
11 | * | ||
12 | * This is free software; you can redistribute it and/or modify | ||
13 | * it under the terms of version 2 of the GNU General Public License as | ||
14 | * published by the Free Software Foundation. | ||
15 | */ | 12 | */ |
16 | 13 | ||
17 | #include <linux/dmaengine.h> | 14 | #include <linux/dmaengine.h> |
diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c index 1bb1a8e09025..7f7184c3cf95 100644 --- a/drivers/dma/sh/usb-dmac.c +++ b/drivers/dma/sh/usb-dmac.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0 | ||
1 | /* | 2 | /* |
2 | * Renesas USB DMA Controller Driver | 3 | * Renesas USB DMA Controller Driver |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * based on rcar-dmac.c | 7 | * based on rcar-dmac.c |
7 | * Copyright (C) 2014 Renesas Electronics Inc. | 8 | * Copyright (C) 2014 Renesas Electronics Inc. |
8 | * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 9 | * Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
9 | * | ||
10 | * This is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of version 2 of the GNU General Public License as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/delay.h> | 12 | #include <linux/delay.h> |