]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: Intel: avs: 16 channels support
authorMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:08 +0000 (10:25 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 8 Apr 2025 09:25:08 +0000 (10:25 +0100)
commit1f4db3cb1a5984cf1b845a82f66f53947ffad6e5
tree4d5f545a6c1f3094eaabf0f3b404c0888363a6ed
parentaa446b5d9a8efffb40c5fd244163dc04f98cf865
parent8d18e67abbdf380cd1cfd2c313aac625092d7777
ASoC: Intel: avs: 16 channels support

Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:

Relatively small delta-wise patchset which raises max channels supported
from 8 to 16.  The existing limitation is software-based, not hardware
based.  The hardware, as per HDAudio specification, section 1.2.2,
(relevant register at SDnFMT, section 3.3.41) supports the
configurations for years.  The avs-driver becomes the first consumer of
that configuration on the Linux kernel side.

Set starts off with update to string_helpers so that functionality added
with parse_int_array_user() can be utilized in kernel-kernel
interactions.

Follow up is rasing the cap on HDAudio-library side.  The format
selection procedure found in the library is good-to-go as is.

Everything that follows these two patches is avs-driver specific:
- raise channels_max for every DAI-driver template
- provide i2s_test module parameter for testing purposes.  When combined
  with I2S loopback card, allows to test 16ch on most Intel hardware post
  Broadwell era
- adjust TDM masks to reflect the 8 -> 16 channels change
sound/soc/intel/avs/board_selection.c
sound/soc/intel/avs/messages.h
sound/soc/intel/avs/path.c
sound/soc/intel/avs/pcm.c