aboutsummaryrefslogtreecommitdiffstats
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>2018-05-08 13:23:46 +1000
committerRonan Le Martret <ronan.lemartret@iot.bzh>2018-05-28 16:23:08 +0200
commit97f2485f19aa93033d04574154cb0b8e1ed5e23a (patch)
treeba2f2e4a57f04d1667b84678de15309fd294e52c /meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
parent49c3e5ea1e2ba461fdc98970425fac7c3896c57a (diff)
[COMMUNITY] ADSP enable and add sound hardware abstraction in DT
The ADSP on Renesas SoCs required a reserved memory area to become enabled, and this needs to be done manually. This patch adds sound hardware abstraction information for the m3ulcb and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the ADSP for dynamically determining sound hardware at runtime, allowing single binaries to be used between the two boards. Future work will incorporate the h3ulcb and Salvator boards into the abstraction. Bug-AGL: SPEC-1424 Change-Id: Ie3f3d2227e79a6396f056fc63ecbcc6c73034e6b 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.patch37
1 files changed, 0 insertions, 37 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
deleted file mode 100644
index eb737d9..0000000
--- a/meta-rcar-gen3/recipes-kernel/linux/linux-renesas/0004-m3ulcb-ADSP-enable.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
-index 1cd64c1b3b31..cc454a5e6a52 100644
---- a/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
-+++ b/arch/arm64/boot/dts/renesas/r8a7796-m3ulcb.dts
-@@ -45,11 +45,18 @@
- 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";
- reusable;
-- reg = <0x00000000 0x57000000 0x0 0x19000000>;
-+ reg = <0x00000000 0x58000000 0x0 0x18000000>;
- linux,cma-default;
- };
-
-@@ -110,6 +117,11 @@
- "dclkin.0", "dclkin.1", "dclkin.2";
- };
-
-+&adsp {
-+ status = "okay";
-+ memory-region = <&adsp_reserved>;
-+};
-+
- &vspb {
- status = "okay";
- };
- \ No newline at end of file