summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorMohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>2026-10-09 18:42:49 +0530
committerMark Brown <broonie@kernel.org>2026-10-16 22:16:24 +0100
commita93f77e4187f210772b6024d2d05180b82521a92 (patch)
tree8e31bb3c9450b05393d472045e39c9a84c87f927 /scripts/basic/split-include.c
parent8987e9a24f453e5080327ee5c71b4d40858c24eb (diff)
downloadlinux-a93f77e4187f210772b6024d2d05180b82521a92.tar.gz
linux-a93f77e4187f210772b6024d2d05180b82521a92.zip
ASoC: codec: pcm1681: Add TDM support
The PCM1681 selects the audio interface format using FMT[3:0] in the format register. The driver currently supports only I2S, left-justified, and right-justified formats, preventing a machine driver from selecting TDM mode.   Add support for SND_SOC_DAIFMT_DSP_A and program the PCM1681 I2S TDM format when it is selected. Also advertise DSP_A in the selectable DAI formats.   While adding TDM support, correct the reset default for the format register from 0x06 to 0x05. The current default does not match the hardware reset value. Although this has no effect while regmap caching is disabled, it could cause the TDM format write to be skipped if regmap caching is enabled in the future.   The existing I2S, left-justified, and right-justified formats remain unchanged. Assisted-by: LLM Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com> Link: https://patch.msgid.link/20261009-nord-asoc-driver-support-v3-v3-3-0c1897f21ccf@oss.qualcomm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions