
Add voice MHI driver to support the following features - 1. Allocate and map mailbox memory needed for voice call packet exchange. 2. Send memory mapped addresses to ADSP. 3. Vote MHI host driver at start and stop of a voice call. Change-Id: I8ef8bc270acacab9b80bca7addccdf73bd572adf Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
51 lines
881 B
C
51 lines
881 B
C
// SPDX-License-Identifier: GPL-2.0-only
|
|
/*
|
|
* Copyright (c) 2017, 2019 The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#include <linux/kernel.h>
|
|
#include <linux/module.h>
|
|
#include "q6_init.h"
|
|
|
|
static int __init audio_q6_init(void)
|
|
{
|
|
adsp_err_init();
|
|
audio_cal_init();
|
|
rtac_init();
|
|
adm_init();
|
|
afe_init();
|
|
q6asm_init();
|
|
q6lsm_init();
|
|
voice_init();
|
|
core_init();
|
|
msm_audio_ion_init();
|
|
audio_slimslave_init();
|
|
avtimer_init();
|
|
msm_mdf_init();
|
|
voice_mhi_init();
|
|
return 0;
|
|
}
|
|
|
|
static void __exit audio_q6_exit(void)
|
|
{
|
|
msm_mdf_exit();
|
|
avtimer_exit();
|
|
audio_slimslave_exit();
|
|
msm_audio_ion_exit();
|
|
core_exit();
|
|
voice_exit();
|
|
q6lsm_exit();
|
|
q6asm_exit();
|
|
afe_exit();
|
|
adm_exit();
|
|
rtac_exit();
|
|
audio_cal_exit();
|
|
adsp_err_exit();
|
|
voice_mhi_exit();
|
|
}
|
|
|
|
module_init(audio_q6_init);
|
|
module_exit(audio_q6_exit);
|
|
MODULE_DESCRIPTION("Q6 module");
|
|
MODULE_LICENSE("GPL v2");
|