Enforce dependency of dma heap driver on SCM driver without which it will not work and this is in the preparation of adding interconnect voting in SCM node which if it gets added without this change dma heap driver can result in NULL pointer issue. Change-Id: I654e69398643b2e78d180c7167b29b62e7914f77 Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
// SPDX-License-Identifier: BSD-3-Clause
|
|
/*
|
|
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
|
|
|
|
&soc {
|
|
qcom,dma-heaps {
|
|
compatible = "qcom,dma-heaps";
|
|
depends-on-supply = <&qcom_scm>;
|
|
|
|
qcom,display {
|
|
qcom,dma-heap-name = "qcom,display";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
qcom,max-align = <9>;
|
|
memory-region = <&non_secure_display_memory>;
|
|
};
|
|
|
|
qcom,qseecom {
|
|
qcom,dma-heap-name = "qcom,qseecom";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&qseecom_mem>;
|
|
};
|
|
|
|
qcom,qseecom_ta {
|
|
qcom,dma-heap-name = "qcom,qseecom-ta";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&qseecom_ta_mem>;
|
|
};
|
|
|
|
qcom,sp_hlos {
|
|
qcom,dma-heap-name = "qcom,sp-hlos";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&sp_mem>;
|
|
};
|
|
|
|
qcom,secure_sp_modem {
|
|
qcom,dma-heap-name = "qcom,secure-sp-modem";
|
|
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
|
|
memory-region = <&spu_modem_shared_mem>;
|
|
qcom,token = <0x10800000>;
|
|
};
|
|
|
|
qcom,secure_cdsp {
|
|
qcom,dma-heap-name = "qcom,cma-secure-cdsp";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&cdsp_secure_heap_cma>;
|
|
};
|
|
|
|
qcom,secure_sp_tz {
|
|
qcom,dma-heap-name = "qcom,secure-sp-tz";
|
|
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
|
|
memory-region = <&spu_tz_shared_mem>;
|
|
qcom,token = <0x01000000>;
|
|
};
|
|
|
|
};
|
|
};
|