devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA
@ 2016-03-08 17:02 Graham Moore
  2016-03-08 21:18 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Moore @ 2016-03-08 17:02 UTC (permalink / raw)
  To: Graham Moore
  Cc: Mark Rutland, devicetree, Russell King, Pawel Moll, Ian Campbell,
	linux-kernel, Rob Herring, Kumar Gala, Dinh Nguyen,
	linux-arm-kernel

The PL330 DMA driver will not load on Arria10 without devicetree entries
for clocks and clock_names.  This patch adds those entries.  It also adds
the ninth interrupt, which is required for error detection.

Signed-off-by: Graham Moore <grmoore@opensource.altera.com>
---
 arch/arm/boot/dts/socfpga_arria10.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/socfpga_arria10.dtsi b/arch/arm/boot/dts/socfpga_arria10.dtsi
index cce9e50..45a4728 100644
--- a/arch/arm/boot/dts/socfpga_arria10.dtsi
+++ b/arch/arm/boot/dts/socfpga_arria10.dtsi
@@ -78,10 +78,13 @@
 					     <0 87 IRQ_TYPE_LEVEL_HIGH>,
 					     <0 88 IRQ_TYPE_LEVEL_HIGH>,
 					     <0 89 IRQ_TYPE_LEVEL_HIGH>,
-					     <0 90 IRQ_TYPE_LEVEL_HIGH>;
+					     <0 90 IRQ_TYPE_LEVEL_HIGH>,
+					     <0 91 IRQ_TYPE_LEVEL_HIGH>;
 				#dma-cells = <1>;
 				#dma-channels = <8>;
 				#dma-requests = <32>;
+				clocks = <&l4_main_clk>;
+				clock-names = "apb_pclk";
 			};
 		};
 
-- 
2.5.0

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

* Re: [PATCH] ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA
  2016-03-08 17:02 [PATCH] ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA Graham Moore
@ 2016-03-08 21:18 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2016-03-08 21:18 UTC (permalink / raw)
  To: Graham Moore
  Cc: Rob Herring, Pawel Moll, Mark Rutland, Ian Campbell, Kumar Gala,
	Russell King, devicetree, linux-arm-kernel, linux-kernel

On Tue, 8 Mar 2016, Graham Moore wrote:

> The PL330 DMA driver will not load on Arria10 without devicetree entries
> for clocks and clock_names.  This patch adds those entries.  It also adds
> the ninth interrupt, which is required for error detection.
> 
> Signed-off-by: Graham Moore <grmoore@opensource.altera.com>
> ---
>  arch/arm/boot/dts/socfpga_arria10.dtsi | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Applied.

Thanks,
Dinh

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

end of thread, other threads:[~2016-03-08 21:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 17:02 [PATCH] ARM: socfpga: dts: Add missing clock and interrupt fields for Arria10 DMA Graham Moore
2016-03-08 21:18 ` 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).