All of lore.kernel.org
 help / color / mirror / Atom feed
From: Biju Das <biju.das@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>
Cc: Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Chris Paterson <chris.paterson2@renesas.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>,
	devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Biju Das <biju.das@bp.renesas.com>
Subject: [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support
Date: Wed, 20 Dec 2017 20:01:58 +0000	[thread overview]
Message-ID: <1513800125-53213-3-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1513800125-53213-1-git-send-email-biju.das@bp.renesas.com>

Instantiate the audio DMA controller on the r8a7745 device tree.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
---
 arch/arm/boot/dts/r8a7745.dtsi | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 6d085f0..d9488a1 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -397,6 +397,37 @@
 			dma-channels = <15>;
 		};
 
+		audma0: dma-controller@ec700000 {
+			compatible = "renesas,dmac-r8a7745",
+				     "renesas,rcar-dmac";
+			reg = <0 0xec700000 0 0x10000>;
+			interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "error",
+					  "ch0", "ch1", "ch2", "ch3",
+					  "ch4", "ch5", "ch6", "ch7",
+					  "ch8", "ch9", "ch10", "ch11",
+					  "ch12";
+			clocks = <&cpg CPG_MOD 502>;
+			clock-names = "fck";
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 502>;
+			#dma-cells = <1>;
+			dma-channels = <13>;
+		};
+
 		usb_dmac0: dma-controller@e65a0000 {
 			compatible = "renesas,r8a7745-usb-dmac",
 				     "renesas,usb-dmac";
-- 
1.9.1

  reply	other threads:[~2017-12-20 20:01 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 20:01 [PATCH 0/9] Add sound support Biju Das
2017-12-20 20:01 ` Biju Das [this message]
     [not found]   ` <1513800125-53213-3-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-12-21  9:39     ` [PATCH 2/9] ARM: dts: r8a7745: Add audio DMAC support Geert Uytterhoeven
2017-12-21  9:39       ` Geert Uytterhoeven
2017-12-20 20:02 ` [PATCH 4/9] ARM: dts: iwg22d-sodimm: Enable SGTL5000 audio codec Biju Das
2017-12-21  9:53   ` Geert Uytterhoeven
     [not found] ` <1513800125-53213-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-12-20 20:01   ` [PATCH 1/9] ARM: dts: r8a7745: Add audio clocks Biju Das
2017-12-20 20:01     ` Biju Das
     [not found]     ` <1513800125-53213-2-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
2017-12-21  9:37       ` Geert Uytterhoeven
2017-12-21  9:37         ` Geert Uytterhoeven
2017-12-20 20:01   ` [PATCH 3/9] ARM: dts: r8a7745: Add sound support Biju Das
2017-12-20 20:01     ` Biju Das
2017-12-21 10:02     ` Geert Uytterhoeven
2017-12-20 20:02   ` [PATCH 5/9] ARM: dts: iwg22d-sodimm: Sound PIO support Biju Das
2017-12-20 20:02     ` Biju Das
2017-12-20 20:02   ` [PATCH 7/9] ARM: dts: iwg22d-sodimm: Sound DMA support via BUSIF on DTS Biju Das
2017-12-20 20:02     ` Biju Das
2017-12-20 20:02 ` [PATCH 6/9] ARM: dts: iwg22d-sodimm: Sound DMA support " Biju Das
2017-12-20 20:02 ` [PATCH 8/9] ARM: dts: iwg22d-sodimm: Sound DMA support via SRC " Biju Das
2017-12-21 10:44   ` Simon Horman
2017-12-21 11:01     ` Biju Das
2017-12-21 11:20       ` Simon Horman
2017-12-20 20:02 ` [PATCH 9/9] ARM: dts: iwg22d-sodimm: Sound DMA support via DVC " Biju Das
2017-12-21 11:25 ` [PATCH 0/9] Add sound support Simon Horman

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=1513800125-53213-3-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=chris.paterson2@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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: link
Be 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.