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

Commit 97f9e313 authored by Vikram Panduranga's avatar Vikram Panduranga
Browse files

ARM: dts: msm: add voice_mhi driver entry



Add voice_mhi device entry for SM8150+sdxprairie
and carveout for mailbox memory used for voice packet
exchange.

Change-Id: I81d78397ad3352ecc559c83b77ba43eb74b9310a
Signed-off-by: default avatarVikram Panduranga <vpandura@codeaurora.org>
parent 0c098091
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -45,3 +45,21 @@
		qcom,platform-type = <2>; /* APQ platform */
	};
};

&reserved_memory {
	mailbox_mem: mailbox_region {
		compatible = "shared-dma-pool";
		no-map;
		alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
		alignment = <0x0 0x400000>;
		size = <0x0 0x20000>;
	};
};

&audio_apr {
	voice_mhi_audio: qcom,voice-mhi-audio {
		compatible = "qcom,voice-mhi-audio";
		memory-region = <&mailbox_mem>;
		voice_mhi_voting;
	};
};