Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1284172 > unrolled thread
| Started by | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| First post | 2015-12-04 20:30 +0100 |
| Last post | 2015-12-07 10:20 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ARC: [axs10x] enable DW DMA controller Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2015-12-04 20:30 +0100
Re: [PATCH] ARC: [axs10x] enable DW DMA controller Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2015-12-05 11:20 +0100
Re: [PATCH] ARC: [axs10x] enable DW DMA controller Alexey Brodkin <Alexey.Brodkin@synopsys.com> - 2015-12-07 10:20 +0100
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2015-12-04 20:30 +0100 |
| Subject | [PATCH] ARC: [axs10x] enable DW DMA controller |
| Message-ID | <qC4dj-6SH-11@gated-at.bofh.it> |
From: Nelson Pereira <npereira@synopsys.com>
ARC SDP baseboard among other peripherals sports
DesignWare DMA controller.
This enables support of that device.
Note typically DW DMA controller is used with external devices
connected to ARC SDP board via HAPS Extension bus.
Signed-off-by: Nelson Pereira <npereira@synopsys.com>
Cc: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
arch/arc/boot/dts/axs10x_mb.dtsi | 16 ++++++++++++++++
arch/arc/configs/axs101_defconfig | 5 +++++
arch/arc/configs/axs103_defconfig | 5 +++++
arch/arc/configs/axs103_smp_defconfig | 5 +++++
4 files changed, 31 insertions(+)
diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi
index f3db321..1e57580 100644
--- a/arch/arc/boot/dts/axs10x_mb.dtsi
+++ b/arch/arc/boot/dts/axs10x_mb.dtsi
@@ -220,5 +220,21 @@
reg = <2>;
};
};
+
+ dmac: dmac@0x80000 {
+ compatible = "snps,dma-spear1340";
+ reg = <0x80000 0x1000>;
+ interrupts = <9>;
+ dma-channels = <4>;
+ dma-requests = <16>;
+ dma-masters = <2>;
+ #dma-cells = <3>;
+ chan_allocation_order = <1>;
+ chan_priority = <1>;
+ block_size = <0xfff>;
+ data_width = <3 3>;
+ clocks = <&apbclk>;
+ clock-names = "hclk";
+ };
};
};
diff --git a/arch/arc/configs/axs101_defconfig b/arch/arc/configs/axs101_defconfig
index 562dac6..405474f 100644
--- a/arch/arc/configs/axs101_defconfig
+++ b/arch/arc/configs/axs101_defconfig
@@ -90,6 +90,11 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_IDMAC=y
+CONFIG_DMADEVICES=y
+CONFIG_DW_DMAC_CORE=y
+CONFIG_DW_DMAC=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
diff --git a/arch/arc/configs/axs103_defconfig b/arch/arc/configs/axs103_defconfig
index 83a6d8d..570f06f 100644
--- a/arch/arc/configs/axs103_defconfig
+++ b/arch/arc/configs/axs103_defconfig
@@ -96,6 +96,11 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_IDMAC=y
+CONFIG_DMADEVICES=y
+CONFIG_DW_DMAC_CORE=y
+CONFIG_DW_DMAC=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
diff --git a/arch/arc/configs/axs103_smp_defconfig b/arch/arc/configs/axs103_smp_defconfig
index f1e1c84..16cfce8 100644
--- a/arch/arc/configs/axs103_smp_defconfig
+++ b/arch/arc/configs/axs103_smp_defconfig
@@ -97,6 +97,11 @@ CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_IDMAC=y
+CONFIG_DMADEVICES=y
+CONFIG_DW_DMAC_CORE=y
+CONFIG_DW_DMAC=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
# CONFIG_IOMMU_SUPPORT is not set
CONFIG_EXT3_FS=y
CONFIG_EXT4_FS=y
--
2.4.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Vineet Gupta <Vineet.Gupta1@synopsys.com> |
|---|---|
| Date | 2015-12-05 11:20 +0100 |
| Message-ID | <qCi6C-8bX-19@gated-at.bofh.it> |
| In reply to | #1284172 |
On Saturday 05 December 2015 12:52 AM, Alexey Brodkin wrote:
> From: Nelson Pereira <npereira@synopsys.com>
>
> ARC SDP baseboard among other peripherals sports
> DesignWare DMA controller.
>
> This enables support of that device.
> Note typically DW DMA controller is used with external devices
> connected to ARC SDP board via HAPS Extension bus.
Such a board config needs to have it's own defconfig / DT (if needed). There's no
point in enabling this for rest of the world who don't have a use case for this IP.
So nack !
-Vineet
>
> Signed-off-by: Nelson Pereira <npereira@synopsys.com>
> Cc: Vineet Gupta <vgupta@synopsys.com>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> ---
> arch/arc/boot/dts/axs10x_mb.dtsi | 16 ++++++++++++++++
> arch/arc/configs/axs101_defconfig | 5 +++++
> arch/arc/configs/axs103_defconfig | 5 +++++
> arch/arc/configs/axs103_smp_defconfig | 5 +++++
> 4 files changed, 31 insertions(+)
>
> diff --git a/arch/arc/boot/dts/axs10x_mb.dtsi b/arch/arc/boot/dts/axs10x_mb.dtsi
> index f3db321..1e57580 100644
> --- a/arch/arc/boot/dts/axs10x_mb.dtsi
> +++ b/arch/arc/boot/dts/axs10x_mb.dtsi
> @@ -220,5 +220,21 @@
> reg = <2>;
> };
> };
> +
> + dmac: dmac@0x80000 {
> + compatible = "snps,dma-spear1340";
> + reg = <0x80000 0x1000>;
> + interrupts = <9>;
> + dma-channels = <4>;
> + dma-requests = <16>;
> + dma-masters = <2>;
> + #dma-cells = <3>;
> + chan_allocation_order = <1>;
> + chan_priority = <1>;
> + block_size = <0xfff>;
> + data_width = <3 3>;
> + clocks = <&apbclk>;
> + clock-names = "hclk";
> + };
> };
> };
> diff --git a/arch/arc/configs/axs101_defconfig b/arch/arc/configs/axs101_defconfig
> index 562dac6..405474f 100644
> --- a/arch/arc/configs/axs101_defconfig
> +++ b/arch/arc/configs/axs101_defconfig
> @@ -90,6 +90,11 @@ CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_PLTFM=y
> CONFIG_MMC_DW=y
> CONFIG_MMC_DW_IDMAC=y
> +CONFIG_DMADEVICES=y
> +CONFIG_DW_DMAC_CORE=y
> +CONFIG_DW_DMAC=y
> +CONFIG_DMA_ENGINE=y
> +CONFIG_DMA_OF=y
> # CONFIG_IOMMU_SUPPORT is not set
> CONFIG_EXT3_FS=y
> CONFIG_EXT4_FS=y
> diff --git a/arch/arc/configs/axs103_defconfig b/arch/arc/configs/axs103_defconfig
> index 83a6d8d..570f06f 100644
> --- a/arch/arc/configs/axs103_defconfig
> +++ b/arch/arc/configs/axs103_defconfig
> @@ -96,6 +96,11 @@ CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_PLTFM=y
> CONFIG_MMC_DW=y
> CONFIG_MMC_DW_IDMAC=y
> +CONFIG_DMADEVICES=y
> +CONFIG_DW_DMAC_CORE=y
> +CONFIG_DW_DMAC=y
> +CONFIG_DMA_ENGINE=y
> +CONFIG_DMA_OF=y
> # CONFIG_IOMMU_SUPPORT is not set
> CONFIG_EXT3_FS=y
> CONFIG_EXT4_FS=y
> diff --git a/arch/arc/configs/axs103_smp_defconfig b/arch/arc/configs/axs103_smp_defconfig
> index f1e1c84..16cfce8 100644
> --- a/arch/arc/configs/axs103_smp_defconfig
> +++ b/arch/arc/configs/axs103_smp_defconfig
> @@ -97,6 +97,11 @@ CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_PLTFM=y
> CONFIG_MMC_DW=y
> CONFIG_MMC_DW_IDMAC=y
> +CONFIG_DMADEVICES=y
> +CONFIG_DW_DMAC_CORE=y
> +CONFIG_DW_DMAC=y
> +CONFIG_DMA_ENGINE=y
> +CONFIG_DMA_OF=y
> # CONFIG_IOMMU_SUPPORT is not set
> CONFIG_EXT3_FS=y
> CONFIG_EXT4_FS=y
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Alexey Brodkin <Alexey.Brodkin@synopsys.com> |
|---|---|
| Date | 2015-12-07 10:20 +0100 |
| Message-ID | <qD07E-2A3-21@gated-at.bofh.it> |
| In reply to | #1284513 |
SGkgVmluZWV0LA0KDQpPbiBTYXQsIDIwMTUtMTItMDUgYXQgMTA6MTQgKzAwMDAsIFZpbmVldCBH dXB0YSB3cm90ZToNCj4gT24gU2F0dXJkYXkgMDUgRGVjZW1iZXIgMjAxNSAxMjo1MiBBTSwgQWxl eGV5IEJyb2RraW4gd3JvdGU6DQo+ID4gRnJvbTogTmVsc29uIFBlcmVpcmEgPG5wZXJlaXJhQHN5 bm9wc3lzLmNvbT4NCj4gPiANCj4gPiBBUkMgU0RQIGJhc2Vib2FyZCBhbW9uZyBvdGhlciBwZXJp cGhlcmFscyBzcG9ydHMNCj4gPiBEZXNpZ25XYXJlIERNQSBjb250cm9sbGVyLg0KPiA+IA0KPiA+ IFRoaXMgZW5hYmxlcyBzdXBwb3J0IG9mIHRoYXQgZGV2aWNlLg0KPiA+IE5vdGUgdHlwaWNhbGx5 IERXIERNQSBjb250cm9sbGVyIGlzIHVzZWQgd2l0aCBleHRlcm5hbCBkZXZpY2VzDQo+ID4gY29u bmVjdGVkIHRvIEFSQyBTRFAgYm9hcmQgdmlhIEhBUFMgRXh0ZW5zaW9uIGJ1cy4NCj4gDQo+IFN1 Y2ggYSBib2FyZCBjb25maWcgbmVlZHMgdG8gaGF2ZSBpdCdzIG93biBkZWZjb25maWcgLyBEVCAo aWYgbmVlZGVkKS4gVGhlcmUncyBubw0KPiBwb2ludCBpbiBlbmFibGluZyB0aGlzIGZvciByZXN0 IG9mIHRoZSB3b3JsZCB3aG8gZG9uJ3QgaGF2ZSBhIHVzZSBjYXNlIGZvciB0aGlzIElQLg0KPiAN Cj4gU28gbmFjayAhDQoNCkkgc2VlIHJhdGlvbmFsZSBiZWhpbmQgdGhpcyBkZWNpc2lvbiBidXQ6 DQoxKSBIb3cgZW5hYmxlZCBETUEgY29udHJvbGxlciBodXJ0cyBvdGhlciB1c2VycyBvZiB0aGUg c2FtZSBTRFAgYm9hcmQNCjIpIFRoYXQgRE1BIGNvbnRyb2xsZXIgZXhpc3RzIGluIFNEUCBhbnl3 YXkgLSB0aGF0J3Mgbm90IGEgc3BlY2lhbCBmbGF2b3Igb2YgQVJDIFNEUA0KMykgQW5vdGhlciBk ZWZjb25maWcgYW5kIC5kdHMgYWRkcyBhbm90aGVyIGl0ZW0gZm9yIHZlcmlmaWNhdGlvbiB3aGls ZQ0KICAgZW5hYmxpbmcgRFcgRE1BIGluIG91ciBjdXJyZW50IGRlZmNvbmZpZ3MgYWxsb3dzIHVz YWdlIG9mIHRoZSBzYW1lIG9uZSBiaW5hcmllcyBmb3INCiAgIGFsbCBwdXJwb3NlcyBvbiBBUkMg U0RQLg0KDQotQWxleGV5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web