From 78212aa8464ce6d75d99a9ca346eb63770bf3bc8 Mon Sep 17 00:00:00 2001 From: Faiz Nabi Kuchay Date: Mon, 31 Oct 2022 13:44:57 +0530 Subject: [PATCH] ARM: dts: msm: Add CMA heap region for ravelin Add cma heap region for ravelin audio ml usecases. Change-Id: I20c36903a2aca358a3a3068cd42cd703c0aedcf4 --- qcom/ravelin-dma-heaps.dtsi | 6 ++++++ qcom/ravelin.dtsi | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/qcom/ravelin-dma-heaps.dtsi b/qcom/ravelin-dma-heaps.dtsi index be73eede..e08250c1 100644 --- a/qcom/ravelin-dma-heaps.dtsi +++ b/qcom/ravelin-dma-heaps.dtsi @@ -20,6 +20,12 @@ qcom,dma-heap-type = ; memory-region = <&qseecom_ta_mem>; }; + + qcom,audio_ml { + qcom,dma-heap-name = "qcom,audio-ml"; + qcom,dma-heap-type = ; + memory-region = <&audio_cma_mem>; + }; }; }; diff --git a/qcom/ravelin.dtsi b/qcom/ravelin.dtsi index 38aaf17f..f8124f51 100644 --- a/qcom/ravelin.dtsi +++ b/qcom/ravelin.dtsi @@ -365,6 +365,14 @@ alignment = <0x0 0x400000>; size = <0x0 0xC00000>; }; + + audio_cma_mem: audio_cma_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>; + reusable; + alignment = <0x0 0x400000>; + size = <0x0 0x1C00000>; + }; }; &firmware {