aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
authorRosen Penev <rosenp@gmail.com>2026-05-17 22:17:06 -0700
committerMark Brown <broonie@kernel.org>2026-05-20 13:09:05 +0100
commit8ab3536678a4ae66ef9c084c5e3244ce129e796d (patch)
tree0c796484abda4dd7da0b2a75838acbdfec63ff56 /sound
parent14b5795b633ca0a5af4d3d94cbe2ac98598df18a (diff)
downloadlinux-next-history-8ab3536678a4ae66ef9c084c5e3244ce129e796d.tar.gz
ASoC: fsl: Allow MPC5200 PSC audio compile testing
They require a PPC platform to compile but that's it. Allow the Freescale PowerPC ASoC menu in PowerPC compile-test builds and let the MPC5200 PSC I2S and AC97 drivers depend on PPC_BESTCOMM directly. This keeps native platform builds unchanged while extending compile-test coverage. Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260518051706.1027500-1-rosenp@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 828524c90f171..ae8774e11873d 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -165,7 +165,7 @@ config SND_SOC_IMX_AUDMUX
config SND_POWERPC_SOC
tristate "SoC Audio for Freescale PowerPC CPUs"
- depends on FSL_SOC || PPC_MPC52xx
+ depends on FSL_SOC || PPC_MPC52xx || (PPC && COMPILE_TEST)
help
Say Y or M if you want to add support for codecs attached to
the PowerPC CPUs.
@@ -226,7 +226,7 @@ config SND_SOC_P1022_RDK
config SND_SOC_MPC5200_I2S
tristate "Freescale MPC5200 PSC in I2S mode driver"
- depends on PPC_MPC52xx && PPC_BESTCOMM
+ depends on PPC_BESTCOMM
select SND_MPC52xx_DMA
select PPC_BESTCOMM_GEN_BD
help
@@ -234,7 +234,7 @@ config SND_SOC_MPC5200_I2S
config SND_SOC_MPC5200_AC97
tristate "Freescale MPC5200 PSC in AC97 mode driver"
- depends on PPC_MPC52xx && PPC_BESTCOMM
+ depends on PPC_BESTCOMM
select SND_SOC_AC97_BUS
select SND_MPC52xx_DMA
select PPC_BESTCOMM_GEN_BD