From 5cc577ffb47126a0007f875813afdbdaf1faa26b Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Tue, 12 Nov 2024 09:06:51 +0530 Subject: [PATCH] ARM: dts: msm: Add dma-buf heaps for kera-vm Describe the available dma-buf memory pools on kera-vm. Change-Id: I6cecf2ae1fa00963d15eaaf0742f1990b35b8502 Signed-off-by: Vijayanand Jitta --- qcom/kera-vm-dma-heaps.dtsi | 25 +++++++++++++++++++++++++ qcom/kera-vm.dtsi | 1 + 2 files changed, 26 insertions(+) create mode 100644 qcom/kera-vm-dma-heaps.dtsi diff --git a/qcom/kera-vm-dma-heaps.dtsi b/qcom/kera-vm-dma-heaps.dtsi new file mode 100644 index 00000000..c3e09921 --- /dev/null +++ b/qcom/kera-vm-dma-heaps.dtsi @@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ +#include + +&soc { + qcom,dma-heaps { + compatible = "qcom,dma-heaps"; + depends-on-supply = <&qcom_scm>; + + qcom,tui { + qcom,dma-heap-name = "qcom,tui"; + qcom,dma-heap-type = ; + qcom,dynamic-heap; + }; + + qcom,tui_demura { + qcom,dma-heap-name = "qcom,tui_demura"; + qcom,dma-heap-type = ; + qcom,dynamic-heap; + }; + }; +}; + diff --git a/qcom/kera-vm.dtsi b/qcom/kera-vm.dtsi index a4836d26..20f77785 100644 --- a/qcom/kera-vm.dtsi +++ b/qcom/kera-vm.dtsi @@ -415,3 +415,4 @@ }; #include "msm-arm-smmu-kera-vm.dtsi" +#include "kera-vm-dma-heaps.dtsi"