[alsa-devel] [PATCH 0/5] Add support for trigger only voice recognition
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Fri May 13 17:45:14 CEST 2016
In some systems our voice trigger firmwares will be used only to
provide an event that indicates the trigger phrase was spoken,
this patch chain adds support for this use-case. There are two
parts to adding this support firstly, a mechanism is required
to get the DSP to power on without the compressed stream being
opened, this is done by means of a virtual output for the voice
trigger in the DAPM graph. Secondly, the trigger event needs to
be handled. Typically this will be used to generate a key press
event, but there are numerous options what could be done here,
and vendors often have their own rather strong opinions. Rather
than dictate the usage at the driver level we we simply provide a
notifier that can be caught in the machine driver and appropriate
action can be taken there.
Thanks,
Charles
Charles Keepax (5):
ASoC: arizona: Tie SYSCLK to DRC signal activity widgets
ASoC: arizona: Add voice trigger output widget
ASoC: wm_adsp: Specifically propagate voice trigger event to caller
ASoC: arizona: Add a notifier chain for CODEC events
ASoC: arizona: Add event notification on voice trigger events
include/linux/mfd/arizona/core.h | 10 ++++++++++
sound/soc/codecs/arizona.c | 43 ++++++++++++++++++++++++++++++++++++++++
sound/soc/codecs/arizona.h | 15 ++++++++++++++
sound/soc/codecs/cs47l24.c | 16 +++++++++++++++
sound/soc/codecs/wm5102.c | 1 +
sound/soc/codecs/wm5110.c | 16 +++++++++++++++
sound/soc/codecs/wm8998.c | 1 +
sound/soc/codecs/wm_adsp.c | 5 +++++
sound/soc/codecs/wm_adsp.h | 4 ++++
9 files changed, 111 insertions(+)
--
2.1.4
More information about the Alsa-devel
mailing list