Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1457b48d authored by Harshal Ahire's avatar Harshal Ahire Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: add CMA heap allocation

Add CMA heap allocation for yupik target.

Change-Id: I627c5d0036cebe752e884399fcc0252c6ac7dd87
parent bc3e8663
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -48,6 +48,12 @@
			memory-region = <&qseecom_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@5 { /* AUDIO ML HEAP */
			reg = <ION_AUDIO_ML_HEAP_ID>;
			memory-region = <&audio_cma_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};
};
+8 −0
Original line number Diff line number Diff line
@@ -450,6 +450,14 @@
			reusable;
			size = <0 0x2c00000>;
		};

		audio_cma_mem: audio_cma_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
			reusable;
			alignment = <0x0 0x400000>;
			size = <0x0 0x1C00000>;
		};
	};

	soc: soc { };