From 5ac00ac9638d30fbd9d496f23f1bc8712326ec2b Mon Sep 17 00:00:00 2001 From: Vijayanand Jitta Date: Mon, 1 Jul 2024 11:17:49 +0530 Subject: [PATCH] ARM: dts: msm: Add DMA-BUF heaps node for kera Add the DMA-BUF heaps node for kera. This adds default heaps like system and secure-system heap. Clients can add their own DMA-BUF heaps in here. Change-Id: Iee72407be99b936e22f5cf4b5eb55b302fed5cac Signed-off-by: Vijayanand Jitta --- qcom/kera-dma-heaps.dtsi | 13 +++++++++++++ qcom/kera.dtsi | 1 + 2 files changed, 14 insertions(+) create mode 100644 qcom/kera-dma-heaps.dtsi diff --git a/qcom/kera-dma-heaps.dtsi b/qcom/kera-dma-heaps.dtsi new file mode 100644 index 00000000..6472b080 --- /dev/null +++ b/qcom/kera-dma-heaps.dtsi @@ -0,0 +1,13 @@ +// 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>; + }; +}; diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index efa7e969..11101240 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -214,6 +214,7 @@ #include "kera-reserved-memory.dtsi" #include "msm-arm-smmu-kera.dtsi" +#include "kera-dma-heaps.dtsi" &reserved_memory { #address-cells = <2>;