From: Amit Singh Tomar <amittomer25@gmail.com> To: andre.przywara@arm.com, afaerber@suse.de, vkoul@kernel.org, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Cc: dan.j.williams@intel.com, cristian.ciocaltea@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH v4 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Tue, 9 Jun 2020 15:47:06 +0530 [thread overview] Message-ID: <1591697830-16311-7-git-send-email-amittomer25@gmail.com> (raw) In-Reply-To: <1591697830-16311-1-git-send-email-amittomer25@gmail.com> This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> --- Changes since v3: * Fixed typo in commit message. * Placed owl-s700-powergate.h in alphabetical order. Changes since v2: * added power-domain property as sps is enabled now and DMA needs it. Changes since v1: * No Change. Changes since RFC: * No Change. --- arch/arm64/boot/dts/actions/s700.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index f8eb72bb4125..2c78caebf515 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -5,6 +5,7 @@ #include <dt-bindings/clock/actions,s700-cmu.h> #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/power/owl-s700-powergate.h> #include <dt-bindings/reset/actions,s700-reset.h> / { @@ -244,5 +245,19 @@ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; }; + + dma: dma-controller@e0230000 { + compatible = "actions,s700-dma"; + reg = <0x0 0xe0230000 0x0 0x1000>; + interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + dma-channels = <10>; + dma-requests = <44>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S700_PD_DMA>; + }; }; }; -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Amit Singh Tomar <amittomer25@gmail.com> To: andre.przywara@arm.com, afaerber@suse.de, vkoul@kernel.org, manivannan.sadhasivam@linaro.org, robh+dt@kernel.org Cc: devicetree@vger.kernel.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org, cristian.ciocaltea@gmail.com, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 06/10] arm64: dts: actions: Add DMA Controller for S700 Date: Tue, 9 Jun 2020 15:47:06 +0530 [thread overview] Message-ID: <1591697830-16311-7-git-send-email-amittomer25@gmail.com> (raw) In-Reply-To: <1591697830-16311-1-git-send-email-amittomer25@gmail.com> This commit adds DMA controller present on Actions S700, it differs from S900 in terms of number of dma channels and requests. Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com> --- Changes since v3: * Fixed typo in commit message. * Placed owl-s700-powergate.h in alphabetical order. Changes since v2: * added power-domain property as sps is enabled now and DMA needs it. Changes since v1: * No Change. Changes since RFC: * No Change. --- arch/arm64/boot/dts/actions/s700.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi b/arch/arm64/boot/dts/actions/s700.dtsi index f8eb72bb4125..2c78caebf515 100644 --- a/arch/arm64/boot/dts/actions/s700.dtsi +++ b/arch/arm64/boot/dts/actions/s700.dtsi @@ -5,6 +5,7 @@ #include <dt-bindings/clock/actions,s700-cmu.h> #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/power/owl-s700-powergate.h> #include <dt-bindings/reset/actions,s700-reset.h> / { @@ -244,5 +245,19 @@ <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; }; + + dma: dma-controller@e0230000 { + compatible = "actions,s700-dma"; + reg = <0x0 0xe0230000 0x0 0x1000>; + interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; + #dma-cells = <1>; + dma-channels = <10>; + dma-requests = <44>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S700_PD_DMA>; + }; }; }; -- 2.7.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-06-09 10:18 UTC|newest] Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-09 10:17 [PATCH v4 00/10] Add MMC and DMA support for Actions S700 Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 01/10] dmaengine: Actions: get rid of bit fields from dma descriptor Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 02/10] dmaengine: Actions: Add support for S700 DMA engine Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-24 6:15 ` Vinod Koul 2020-06-24 6:15 ` Vinod Koul 2020-06-24 9:35 ` André Przywara 2020-06-24 9:35 ` André Przywara 2020-06-29 8:28 ` Amit Tomer 2020-06-29 8:28 ` Amit Tomer 2020-06-29 9:54 ` Vinod Koul 2020-06-29 9:54 ` Vinod Koul 2020-06-29 11:19 ` André Przywara 2020-06-29 11:19 ` André Przywara 2020-06-29 13:21 ` Vinod Koul 2020-06-29 13:21 ` Vinod Koul 2020-06-29 8:19 ` Amit Tomer 2020-06-29 8:19 ` Amit Tomer 2020-06-29 9:52 ` Vinod Koul 2020-06-29 9:52 ` Vinod Koul 2020-06-30 9:47 ` Amit Tomer 2020-06-30 9:47 ` Amit Tomer 2020-06-30 14:24 ` Vinod Koul 2020-06-30 14:24 ` Vinod Koul 2020-06-30 18:14 ` Amit Tomer 2020-06-30 18:14 ` Amit Tomer 2020-06-09 10:17 ` [PATCH v4 03/10] clk: actions: Add MMC clock-register reset bits Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 11:29 ` kernel test robot 2020-06-09 11:29 ` kernel test robot 2020-06-09 11:29 ` kernel test robot 2020-06-09 10:17 ` [PATCH v4 04/10] arm64: dts: actions: limit address range for pinctrl node Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 05/10] dt-bindings: dmaengine: convert Actions Semi Owl SoCs bindings to yaml Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-17 21:16 ` Rob Herring 2020-06-17 21:16 ` Rob Herring 2020-06-09 10:17 ` Amit Singh Tomar [this message] 2020-06-09 10:17 ` [PATCH v4 06/10] arm64: dts: actions: Add DMA Controller for S700 Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 07/10] dt-bindings: reset: s700: Add binding constants for mmc Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 08/10] dt-bindings: mmc: owl: add compatible string actions,s700-mmc Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 08/10] dt-bindings: mmc: owl: add compatible string actions, s700-mmc Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 09/10] arm64: dts: actions: Add MMC controller support for S700 Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar 2020-06-09 10:17 ` [PATCH v4 10/10] arm64: dts: actions: Add uSD support for Cubieboard7 Amit Singh Tomar 2020-06-09 10:17 ` Amit Singh Tomar
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1591697830-16311-7-git-send-email-amittomer25@gmail.com \ --to=amittomer25@gmail.com \ --cc=afaerber@suse.de \ --cc=andre.przywara@arm.com \ --cc=cristian.ciocaltea@gmail.com \ --cc=dan.j.williams@intel.com \ --cc=devicetree@vger.kernel.org \ --cc=linux-actions@lists.infradead.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=manivannan.sadhasivam@linaro.org \ --cc=robh+dt@kernel.org \ --cc=vkoul@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.