ASoC: SOF: Intel: Add support for ACE3+ mic privacy
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyIn review
- v18 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Use type aware condition checks for 'alt' in patch 8
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ASoC: SOF: Intel: mtl: Split up dsp_ops setup codesound/ sound/ sound/ +1 more | +31 | 0 replies | |
| 2/8 | ASoC: SOF: Intel: lnl/ptl: Only set dsp_ops which differs from MTLsound/ sound/ sound/ +2 more | +38 | 0 replies | |
| 3/8 | ASoC: SOF: Intel: mtl: Stop exporting dsp_ops callback functionssound/ sound/ | +10 | 0 replies | |
| 4/8 | ASoC: SOF: Intel: Create ptl.c as placeholder for Panther Lake featuressound/ sound/ sound/ +3 more | +79 | 0 replies | |
| 5/8 | ASoC: SOF: ipc4: Add support for Intel HW managed mic privacy messaginginclude/ sound/ sound/ +1 more | +69 | 0 replies | |
| 6/8 | ASoC: SOF: Intel: hda-mlink: Add support for mic privacy in VS SHIM registersinclude/ sound/ | +152 | 0 replies | |
| 7/8 | ASoC: SOF: hda/shim: Add callbacks to handle mic privacy change for sdwsound/ sound/ | +36 | 0 replies | |
| 8/8 | ASoC: SOF: Intel: ptl: Add support for mic privacysound/ sound/ | +61 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Ranjani Sridharan | Liam Girdwood | Kai Vehmanen |
|---|---|---|---|
| 1/8 | R-b | R-b | R-b |
| 2/8 | R-b | R-b | R-b |
| 3/8 | R-b | R-b | R-b |
| 4/8 | R-b | R-b | R-b |
| 5/8 | R-b | R-b | R-b |
| 6/8 | R-b | R-b | R-b |
| 7/8 | R-b | R-b | R-b |
| 8/8 | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v2 0/8] ASoC: SOF: Intel: Add support for ACE3+ mic privacy
Hi,
Changes since v1:
- Use type aware condition checks for 'alt' in patch 8
Cover letter from v1:
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.
Regards,
Peter
----
Peter Ujfalusi (8):
ASoC: SOF: Intel: mtl: Split up dsp_ops setup code
ASoC: SOF: Intel: lnl/ptl: Only set dsp_ops which differs from MTL
ASoC: SOF: Intel: mtl: Stop exporting dsp_ops callback functions
ASoC: SOF: Intel: Create ptl.c as placeholder for Panther Lake
features
ASoC: SOF: ipc4: Add support for Intel HW managed mic privacy
messaging
ASoC: SOF: Intel: hda-mlink: Add support for mic privacy in VS SHIM
registers
ASoC: SOF: hda/shim: Add callbacks to handle mic privacy change for
sdw
ASoC: SOF: Intel: ptl: Add support for mic privacy
include/sound/hda-mlink.h | 25 +++++++ include/sound/sof/ipc4/header.h | 13 ++++ sound/soc/sof/intel/Makefile | 2 +- sound/soc/sof/intel/hda-mlink.c | 127 ++++++++++++++++++++++++++++++++ sound/soc/sof/intel/hda.c | 34 +++++++++ sound/soc/sof/intel/hda.h | 4 - sound/soc/sof/intel/lnl.c | 117 ++++++----------------------- sound/soc/sof/intel/lnl.h | 6 ++ sound/soc/sof/intel/mtl.c | 74 ++++++++----------- sound/soc/sof/intel/mtl.h | 15 +--- sound/soc/sof/intel/pci-lnl.c | 12 ++- sound/soc/sof/intel/pci-mtl.c | 8 ++ sound/soc/sof/intel/pci-ptl.c | 17 +++-- sound/soc/sof/intel/ptl.c | 106 ++++++++++++++++++++++++++ sound/soc/sof/intel/ptl.h | 19 +++++ sound/soc/sof/intel/shim.h | 2 + sound/soc/sof/ipc4-loader.c | 33 +++++++++ sound/soc/sof/ipc4-priv.h | 5 ++ sound/soc/sof/ipc4.c | 18 +++++ 19 files changed, 470 insertions(+), 167 deletions(-) create mode 100644 sound/soc/sof/intel/ptl.c create mode 100644 sound/soc/sof/intel/ptl.h
Signature · 1 line
2.48.1