asoc: msm-lsm-client: add support for ADSP Generic Detection Event

ADSP detection engine module can raise Generic Detection Event to
provide variable payload data based on the information requested by
userspace. Adding new API/interface to provide support for Generic
Detection Event in LSM drivers.

Change-Id: Id5541f959ecdcf862dcfa1de1c1a1b3a796f260c
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
This commit is contained in:
Xiaoyu Ye
2018-03-21 17:43:38 -07:00
committed by Gerrit - the friendly Code Review server
parent 65049fbf9d
commit f0ec686d3b
4 changed files with 344 additions and 74 deletions

View File

@@ -9674,6 +9674,7 @@ struct avcs_fwk_ver_info {
#define LSM_DATA_EVENT_READ_DONE (0x00012B02)
#define LSM_DATA_EVENT_STATUS (0x00012B03)
#define LSM_SESSION_EVENT_DETECTION_STATUS_V3 (0x00012B04)
#define LSM_SESSION_DETECTION_ENGINE_GENERIC_EVENT (0x00012B06)
#define LSM_MODULE_ID_VOICE_WAKEUP (0x00012C00)
#define LSM_PARAM_ID_ENDPOINT_DETECT_THRESHOLD (0x00012C01)