2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/include/sound/sof
Peter Ujfalusi eea84a7f0c
ASoC: SOF: ipc4: Add support for Intel HW managed mic privacy messaging
ACE3 (Panther Lake) introduced support for microphone privacy feature which
can - in hardware - mute incoming audio data based on a state of a physical
switch.
The change in the privacy state is delivered through interface IP blocks
and can only be handled by the link owner.
In Intel platforms Soundwire is for example host owned, so the interrupt
can only be handled by the host.

Since the input stream is going to be muted by hardware, the host needs to
send a message to firmware about the change in privacy so it can execute a
fade out/in to enhance user experience.

The support for microphone privacy can be queried from the HW_CONFIG data
under the INTEL_MIC_PRIVACY_CAP tuple. This is Intel specific data, the
core will pass it to platform code if the intel_configure_mic_privacy()
callback is provided.

Platform code can call sof_ipc4_mic_privacy_state_change() to send the IPC
message to the firmware on state change.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://patch.msgid.link/20250307112816.1495-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2025-03-08 16:06:40 +00:00
..
ipc4 ASoC: SOF: ipc4: Add support for Intel HW managed mic privacy messaging 2025-03-08 16:06:40 +00:00
channel_map.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
control.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
dai-amd.h ASoC: SOF: amd: Add Soundwire DAI configuration support for AMD platforms 2024-01-30 16:06:39 +00:00
dai-imx.h ASoC: SOF: Add support for configuring PDM interface from topology 2023-11-13 00:43:06 +00:00
dai-intel.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
dai-mediatek.h ASoC: SOF: topology: Add support for Mediatek AFE DAI 2021-11-18 13:57:37 +00:00
dai.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
debug.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
ext_manifest4.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
ext_manifest.h ASoC: SOF: ext_manifest: Add missing ext_manifest type for PROBE_INFO 2024-11-07 13:03:22 +00:00
header.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
info.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
pm.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
stream.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
topology.h ASoC: SOF: ipc: replace "enum sof_comp_type" field with "uint32_t" 2024-08-26 19:29:39 +01:00
trace.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00
xtensa.h ALSA/ASoC: include: clarify Copyright information 2024-05-09 20:26:34 +02:00