Merge "ARM: dts: msm: Define adsp_mem_heap region"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
10e42d9078
33
bindings/qdsp/msm-fastrpc.yaml
Normal file
33
bindings/qdsp/msm-fastrpc.yaml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||||
|
%YAML 1.2
|
||||||
|
---
|
||||||
|
$id: "http://devicetree.org/schemas/qdsp/msm-fastrpc.yaml#"
|
||||||
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
|
title: ADSP remote heap region
|
||||||
|
|
||||||
|
description:
|
||||||
|
Defines the ADSP remote heap region. Device used for CMA allocations
|
||||||
|
and mappings for both secure and non-secure usecases.
|
||||||
|
|
||||||
|
maintainers:
|
||||||
|
- Anirudh Raghavendra <quic_araghave@quicinc.com>
|
||||||
|
|
||||||
|
properties:
|
||||||
|
compatible:
|
||||||
|
const: qcom,adsprpc-mem
|
||||||
|
|
||||||
|
required:
|
||||||
|
- compatible
|
||||||
|
- memory-region
|
||||||
|
- restrict-access
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
qcom,adsprpc-mem {
|
||||||
|
compatible = "qcom,msm-adsprpc-mem-region";
|
||||||
|
memory-region = <&adsp_mem>;
|
||||||
|
restrict-access;
|
||||||
|
};
|
@@ -1330,6 +1330,12 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
msm_gpu: qcom,kgsl-3d0@3d00000 { };
|
msm_gpu: qcom,kgsl-3d0@3d00000 { };
|
||||||
|
|
||||||
|
qcom,msm-adsprpc-mem {
|
||||||
|
compatible = "qcom,msm-adsprpc-mem-region";
|
||||||
|
memory-region = <&adsp_mem_heap>;
|
||||||
|
restrict-access;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&reserved_memory {
|
&reserved_memory {
|
||||||
@@ -1575,6 +1581,14 @@
|
|||||||
alignment = <0x0 0x400000>;
|
alignment = <0x0 0x400000>;
|
||||||
size = <0x0 0x400000>;
|
size = <0x0 0x400000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
adsp_mem_heap: adsp_heap_region {
|
||||||
|
compatible = "shared-dma-pool";
|
||||||
|
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||||
|
reusable;
|
||||||
|
alignment = <0x0 0x400000>;
|
||||||
|
size = <0x0 0xC00000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "sun-dma-heaps.dtsi"
|
#include "sun-dma-heaps.dtsi"
|
||||||
|
Reference in New Issue
Block a user