From 6e829fe6e422793bbb05ec563c8544154c0e9bd8 Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Wed, 8 Apr 2015 22:43:42 +0100 Subject: 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. --- ...e-porter-Sound-DMA-support-via-DVC-on-DTS.patch | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0006-ARM-shmobile-porter-Sound-DMA-support-via-DVC-on-DTS.patch (limited to 'meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0006-ARM-shmobile-porter-Sound-DMA-support-via-DVC-on-DTS.patch') diff --git a/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0006-ARM-shmobile-porter-Sound-DMA-support-via-DVC-on-DTS.patch b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0006-ARM-shmobile-porter-Sound-DMA-support-via-DVC-on-DTS.patch new file mode 100644 index 0000000..e9242d9 --- /dev/null +++ b/meta-rcar-gen2/recipes-kernel/linux/linux-renesas/0006-ARM-shmobile-porter-Sound-DMA-support-via-DVC-on-DTS.patch @@ -0,0 +1,54 @@ +From cff2d1cef1b620c0bafeefd127c8d11a6579aced Mon Sep 17 00:00:00 2001 +From: Biju Das +Date: Thu, 2 Apr 2015 14:04:22 +0100 +Subject: [PATCH 6/7] ARM: shmobile: porter: Sound DMA support via DVC on DTS + +DMA transfer uses DVC + + DMA DMApp +[MEM] -> [SRC] -> [DVC] -> [SSIU] -> [SSI] + + DMA DMApp +[MEM] <- [DVC] <- [SRC] <- [SSIU] <- [SSI] + +This change is identical to the koelsch patch "ARM: shmobile: koelsch: Sound DMA support via DVC on DTS" +from Kuninori Morimoto and backported to 3.10 +Signed-off-by: Biju Das +--- + arch/arm/boot/dts/r8a7791-porter.dts | 13 ++++++++++--- + 1 file changed, 10 insertions(+), 3 deletions(-) + +diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts +index f35cc33..fcb9edd 100644 +--- a/arch/arm/boot/dts/r8a7791-porter.dts ++++ b/arch/arm/boot/dts/r8a7791-porter.dts +@@ -14,7 +14,14 @@ + * + * This command is required when Playback/Capture + * +- * amixer set "LINEOUT Mixer DACL" on ++ * amixer set "LINEOUT Mixer DACL" on ++ * amixer set "DVC Out" 100% ++ * amixer set "DVC In" 100% ++ * ++ * You can use Mute ++ * ++ * amixer set "DVC Out Mute" on ++ * amixer set "DVC In Mute" on + */ + + /dts-v1/; +@@ -421,8 +428,8 @@ + + rcar_sound,dai { + dai0 { +- playback = <&ssi0 &src0>; +- capture = <&ssi1 &src1>; ++ playback = <&ssi0 &src0 &dvc0>; ++ capture = <&ssi1 &src1 &dvc1>; + }; + }; + }; +-- +1.7.9.5 + -- cgit 1.2.3-korg