]> www.infradead.org Git - users/jedix/linux-maple.git/commit
soundwire: intel: Add awareness of ACE3+ microphone privacy
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 30 Apr 2025 07:47:13 +0000 (15:47 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 11:43:25 +0000 (12:43 +0100)
commite1f3f5be9e8e730290ebe6d490383af4d77f0f38
tree02aca4272fb8fe8aebf58360c36b104f52776c67
parentaab12022b076f0b385b7a9a78e1161bd2df5d1e3
soundwire: intel: Add awareness of ACE3+ microphone privacy

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>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20250430074714.94000-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/intel.h
drivers/soundwire/intel_ace2x_debugfs.c
drivers/soundwire/intel_init.c
include/linux/soundwire/sdw_intel.h