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