devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts
@ 2018-02-20 15:38 Graham Moore
  2018-03-05 15:27 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Moore @ 2018-02-20 15:38 UTC (permalink / raw)
  To: Graham Moore
  Cc: Mark Rutland, devicetree, Catalin Marinas, Will Deacon,
	linux-kernel, Dinh Nguyen, Rob Herring, linux-arm-kernel

The Stratix10 SoCFPGA uses the PL330 DMAC.  This patch adds the PL330
DMAC to the Stratix10 device tree.

Signed-off-by: Graham Moore <graham.moore@linux.intel.com>
---
 arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
index aa4080d..0666c0f 100644
--- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
+++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
@@ -711,6 +711,25 @@
 			reg = <0xffe00000 0x100000>;
 		};
 
+		pdma: pdma@ffda0000 {
+			compatible = "arm,pl330", "arm,primecell";
+			reg = <0xffda0000 0x1000>;
+			interrupts = <0 81 4>,
+				     <0 82 4>,
+				     <0 83 4>,
+				     <0 84 4>,
+				     <0 85 4>,
+				     <0 86 4>,
+				     <0 87 4>,
+				     <0 88 4>,
+				     <0 89 4>;
+			#dma-cells = <1>;
+			#dma-channels = <8>;
+			#dma-requests = <32>;
+			clocks = <&l4_main_clk>;
+			clock-names = "apb_pclk";
+		};
+
 		rst: rstmgr@ffd11000 {
 			#reset-cells = <1>;
 			compatible = "altr,rst-mgr";
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts
  2018-02-20 15:38 [PATCH] arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts Graham Moore
@ 2018-03-05 15:27 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2018-03-05 15:27 UTC (permalink / raw)
  To: Graham Moore
  Cc: Rob Herring, Mark Rutland, Catalin Marinas, Will Deacon,
	devicetree, linux-arm-kernel, linux-kernel



On 02/20/2018 09:38 AM, Graham Moore wrote:
> The Stratix10 SoCFPGA uses the PL330 DMAC.  This patch adds the PL330
> DMAC to the Stratix10 device tree.
> 
> Signed-off-by: Graham Moore <graham.moore@linux.intel.com>
> ---
>  arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> index aa4080d..0666c0f 100644
> --- a/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> +++ b/arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
> @@ -711,6 +711,25 @@
>  			reg = <0xffe00000 0x100000>;
>  		};
>  
> +		pdma: pdma@ffda0000 {
> +			compatible = "arm,pl330", "arm,primecell";
> +			reg = <0xffda0000 0x1000>;
> +			interrupts = <0 81 4>,
> +				     <0 82 4>,
> +				     <0 83 4>,
> +				     <0 84 4>,
> +				     <0 85 4>,
> +				     <0 86 4>,
> +				     <0 87 4>,
> +				     <0 88 4>,
> +				     <0 89 4>;
> +			#dma-cells = <1>;
> +			#dma-channels = <8>;
> +			#dma-requests = <32>;
> +			clocks = <&l4_main_clk>;

This clock doesn't exist. Can you please resend this patch based on the
clock driver patch?

please base your updated patch with :

https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git/log/?h=socfpga_for_next_v4.17_dts

Dinh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-05 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-20 15:38 [PATCH] arm64: dts: stratix10: Add PL330 DMAC to Stratix10 dts Graham Moore
2018-03-05 15:27 ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).