[RFC PATCH 0/2] ASoC: atmel: mchp-spdifrx: Fix format handling and MR configuration

From: phucduc . bui

Date: Thu Nov 19 2026 - 22:59:58 EST


From: bui duc phuc <phucduc.bui@xxxxxxxxx>

Hi all,

This series addresses two issues in the mchp-spdifrx driver: inconsistent
handling of the 16-bit big-endian format and MR register updates
in hw_params().

This series was developed on top of the previous series:
https://lore.kernel.org/all/20261119103413.31729-1-phucduc.bui@xxxxxxxxx/

Since this is an RFC series, I have kept it separate rather than including
these changes in the previous series. The previous series should be
applied first to avoid conflicts when applying these patches.

The changes are not hardware-tested, and I would appreciate feedback from
someone with access to the hardware.

In particular, the MR register change needs verification. If the current
code works as expected, the existing full-register write in hw_params()
may be intentional, and the actual issue could instead be the default
configuration in dai_probe().

For the 16-bit big-endian format, the current format check is clearly
inconsistent with MCHP_SPDIF_FORMATS. However, it is also possible that
the advertised format should be corrected instead of changing the check
in hw_params(). Furthermore, I could not find datasheet documentation
confirming support for big-endian 16-bit and 20-bit formats.

Therefore, hardware testing is needed to determine whether these changes
are correct.

Compile-tested only.

Best regards,
Phuc

bui duc phuc (2):
ASoC: atmel: mchp-spdifrx: Fix 16-bit big-endian format check
ASoC: atmel: mchp-spdifrx: Preserve MR defaults in hw_params

sound/soc/atmel/mchp-spdifrx.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

--
2.43.0