summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2017-12-29 16:29:35 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-01-02 23:54:29 +0000
commit89ae3df5fc1ec66b573f724c0e462bde0eabe783 (patch)
tree4025099b32b2409125180813bf3e03821759b03f /meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
parenta5dfadaa3931977a221e0508354e9ab97482b9ab (diff)
Implements the patches required to interface with the HiFi2 Xtensa ADSP core. We need to remove the patch introduced by the ADAS layer since it reserves ADSP-critical memory. Bug-AGL: SPEC-1227 Change-Id: I5ec41ae5b232e3fd3e9bf63036601c0d09db3c13 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch')
-rw-r--r--meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
new file mode 100644
index 0000000..5e54109
--- /dev/null
+++ b/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
@@ -0,0 +1,30 @@
+diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
+index a1f3c244b83e..b08e94430bea 100644
+--- a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
++++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
+@@ -49,6 +49,13 @@
+ reg = <0x00000000 0x54000000 0x0 0x03000000>;
+ };
+
++ /* For Audio DSP */
++ adsp_reserved: linux,adsp {
++ compatible = "shared-dma-pool";
++ reusable;
++ reg = <0x00000000 0x57000000 0x0 0x01000000>;
++ };
++
+ /* global autoconfigured region for contiguous allocations */
+ linux,cma {
+ compatible = "shared-dma-pool";
+@@ -388,6 +395,11 @@
+ status = "okay";
+ };
+
++&adsp {
++ status = "okay";
++ memory-region = <&adsp_reserved>;
++};
++
+ &scif2 {
+ pinctrl-0 = <&scif2_pins>;
+ pinctrl-names = "default";