Skip to content

soundwire/SOF: Intel: Add suppoirt for printing ACE3+ PVCCS (mic privacy) register in register dump#5348

Merged
ranj063 merged 2 commits intothesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/sdw_pvccs_register_01
Mar 6, 2025
Merged

soundwire/SOF: Intel: Add suppoirt for printing ACE3+ PVCCS (mic privacy) register in register dump#5348
ranj063 merged 2 commits intothesofproject:topic/sof-devfrom
ujfalusi:peter/sof/pr/sdw_pvccs_register_01

Conversation

@ujfalusi
Copy link
Copy Markdown
Collaborator

@ujfalusi ujfalusi commented Mar 6, 2025

Print the PVCCS register alongside with the other SHIM registers in soundwire link register dump when ACE3 or newer is in use.

ujfalusi added 2 commits March 6, 2025 11:15
ACE3 introduced microphone privacy and along this feature it adds a new
register in vendor specific SHIM to control and status reporting.
The control of mic privacy via the SHIM register is only to enable the
interrupt generation via soundwire, but not handled by the soundwire code
as the mic privacy is not a feature of the soundwire IP.

On the other hand, printing the register value brings value for debugging,
so add a new flag to allow this conditionally.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
The microphone privacy feature is introduced with ACE3, the soundwire
driver needs to know this to be able to print the PVCCS register via
register dump in sysfs.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
@ranj063 ranj063 merged commit a98e13a into thesofproject:topic/sof-dev Mar 6, 2025
11 of 15 checks passed
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.

3 participants