From: Mark Brown Date: Fri, 13 Dec 2024 17:33:05 +0000 (+0000) Subject: firmware: cirrus: Add KUnit tests for cs_dsp X-Git-Tag: v6.14-rc1~111^2~7^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94c545aa535d7f5dcf54ad8e648f22943bbfcb32;p=thirdparty%2Fkernel%2Flinux.git firmware: cirrus: Add KUnit tests for cs_dsp Merge series from Richard Fitzgerald : This series adds KUnit tests for the cs_dsp module. Most of the functionality in cs_dsp is for downloading firmware to DSP memory and interacting with "control" words defined in that memory. This doesn't require any emulation of running firmware, because it is only reading and writing registers. So the testing can be done using a dummy regmap. The way this is used to perform testing is described in more detail in the commit message for each test. ADSP1 is not tested because this was only used by the WM2200 codec, a long-obsolete part that was discontinued in 2015. --- 94c545aa535d7f5dcf54ad8e648f22943bbfcb32