aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch
diff options
context:
space:
mode:
authorStephen Lawrence <stephen.lawrence@renesas.com>2015-04-08 22:43:42 +0100
committerStephen Lawrence <stephen.lawrence@renesas.com>2015-04-08 22:43:42 +0100
commit6e829fe6e422793bbb05ec563c8544154c0e9bd8 (patch)
tree4c095f95070c20ddee6fea8cb0f02133551b916f /meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch
parent17b2653eefb8659a9c594f56e20cd8249295464f (diff)
porter: kernel: migrate porter board audio from platform data to DTS
Kernel BSP v1.9.0 contained a backported ASoC and dma descriptor mode driver for AUDIO-DMAC from the upstream kernel. This patch series migrates the R-Car M2 Porter board audio from platform data to DTS to make use of this driver and restore audio on the board.
Diffstat (limited to 'meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch')
-rw-r--r--meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch
new file mode 100644
index 0000000..bb6a9d7
--- /dev/null
+++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0005-ARM-shmobile-porter-Sound-DMA-support-via-SRC-on-DTS.patch
@@ -0,0 +1,44 @@
+From e902b2b063a67517922bf4e154258ed27db34b8b Mon Sep 17 00:00:00 2001
+From: Biju Das <biju.das@bp.renesas.com>
+Date: Thu, 2 Apr 2015 13:16:44 +0100
+Subject: [PATCH 5/7] ARM: shmobile: porter: Sound DMA support via SRC on DTS
+
+DMA transfer to/from SRC
+
+ DMA DMApp
+[MEM] -> [SRC] -> [SSIU] -> [SSI]
+
+ DMA DMApp
+[MEM] <- [SRC] <- [SSIU] <- [SSI]
+
+Current sound driver is supporting
+SSI/SRC random connection.
+So, this patch is tring
+SSI0 -> SRC0
+SSI1 <- SRC1
+
+This change is identical to the koelsch patch "ARM: shmobile: koelsch: Sound DMA support via SRC on DTS"
+from Kuninori Morimoto and backported to 3.10
+Signed-off-by: Biju Das <biju.das@bp.renesas.com>
+---
+ arch/arm/boot/dts/r8a7791-porter.dts | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts
+index 10549ac..f35cc33 100644
+--- a/arch/arm/boot/dts/r8a7791-porter.dts
++++ b/arch/arm/boot/dts/r8a7791-porter.dts
+@@ -421,8 +421,8 @@
+
+ rcar_sound,dai {
+ dai0 {
+- playback = <&ssi0>;
+- capture = <&ssi1>;
++ playback = <&ssi0 &src0>;
++ capture = <&ssi1 &src1>;
+ };
+ };
+ };
+--
+1.7.9.5
+