Files
mu300-linux/kernel
Abdurrahman Kaan DikeçandClaude Opus 5 5fa2191f80 The card's last link, and where the DSP bring-up stops
sprd-card-dummy-on-defer.patch settles dai link 57. BE_FAST_P_SMART_AMP asks for the smart amplifier this
board does not have, so snd_soc_of_get_dai_name defers for ever and asoc_sprd_card_probe abandons all 58 links
- the other 57 parse, BE_VOICE_PCM_P among them. A link whose codec phandle is simply absent already falls
back to a dummy one frame up; dummy_on_defer=1 extends that to one that keeps deferring. Only for the codec:
args_count is NULL exactly on the codec call, and giving the cpu dai a dummy kills the card at link 0 instead
of 57, which is how the narrower condition was found.

The firmware is 6 MiB, which is what settles which region is which - the DSP binary goes in audiodsp-mem at
0xafa00000 and the 3 MiB at 0xaf700000 is the shared memory. sprd_audcp_boot confirms it: base_addr_phy =
0xafa00000, bin size = 0x600000. No image is in this repository and none can be.

Where it stops: starting the DSP reboots the device. The drivers load, the firmware writes, and seconds later
the console shows an orderly CPU shutdown and "reboot: Restarting system" - deliberate, from userspace, not a
panic. start_store writes AUDCPBOOT_CTRL_SYS_RESET and CORE_RESET through regmap and on this board that
appears to reach past the audio core. So mu300-audio-dsp grew a "load" command that stops short of it and
brings up everything else; "start" is the opt-in that reboots, and says so.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-21 06:47:06 +03:00
..