]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Intel: tgl-match: Add entries for CS35L56 on CDB35L56-EIGHT-C
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Mon, 16 Dec 2024 03:27:19 +0000 (11:27 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 16 Dec 2024 12:31:14 +0000 (12:31 +0000)
commitbf4519f4b1e1fa6286af5d331146238ddc580ea6
tree07a17cde5ddf5a931063d68569afc42e02965ea1
parent5ce3beed07b8145aff61f2cb41f1868f6221271f
ASoC: Intel: tgl-match: Add entries for CS35L56 on CDB35L56-EIGHT-C

This adds match entries for the eight CS35L56 amps on the Cirrus Logic
CDB35L56-EIGHT-C board. Speaker playback and amp feedback are aggregated
across all amps on both SoundWire buses.

The mapping of SoundWire addresses to AMPn numbers matches the actual
order of amps on the EIGHT-C board. The SoundWire unique ID is in reverse
order for amps 1..4 on these boards, and the amp resets are paired
1+8, 2+7, 3+6, 4+5.

This then makes the entries from cs35l56_sdw_eight_1_4_fb_adr and
cs35l56_sdw_eight_5_8_fb_adr match the way the amp resets are paired on
the EIGHT-C board.

[0] = 1 + 8
[1] = 2 + 7
[3] = 3 + 6
[4] = 4 + 5

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241216032721.131227-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-tgl-match.c