Skip to content

WIP: ASoC: SDCA: Initial SmartMic wake-on-voice support - #6039

Draft
rfvirgil wants to merge 1 commit into
thesofproject:topic/sof-devfrom
CirrusLogic:topic/sdca-wov-prototype
Draft

rfvirgil wants to merge 1 commit into
thesofproject:topic/sof-devfrom
CirrusLogic:topic/sdca-wov-prototype

Conversation

@rfvirgil

Copy link
Copy Markdown

Add state machine control for SmartMic voice trigger and an ALSA compressed stream to report the trigger event.

This is initial support with the following limitations:

  • The compressed stream is currently a dummy implementation. It will report data available when there is a trigger event but the returned data is only a buffer of '.' characters. The plumbing into a SoundWire data stream is still to-do.

  • The voice trigger functionality is expected to be provided by the "SMPU 16" and "MFPU 16" entities, and a streaming output terminal connected directly to SMPU 16.

  • Detection is one-shot; stop and restart the stream to arm it again. Continuous triggers and concurrect triggers are not supported.

  • Only required MFPU algorithms are managed, and they must already be prepared and ready before arming.

Add state machine control for SmartMic voice trigger and an ALSA
compressed stream to report the trigger event.

This is initial support with the following limitations:

- The compressed stream is currently a dummy implementation. It will
  report data available when there is a trigger event but the returned
  data is only a buffer of '.' characters. The plumbing into a SoundWire
  data stream is still to-do.

- The voice trigger functionality is expected to be provided by the
  "SMPU 16" and "MFPU 16" entities, and a streaming output terminal
  connected directly to SMPU 16.

- Detection is one-shot; stop and restart the stream to arm it again.
  Continuous triggers and concurrect triggers are not supported.

- Only required MFPU algorithms are managed, and they must already be
  prepared and ready before arming.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant