Re: [PATCH] ASoC: fsl: mpc5200: gate AC97 driver on PPC_MPC52xx

From: Rosen Penev

Date: Thu Sep 17 2026 - 14:42:53 EST


On Thu, Sep 17, 2026 at 10:24 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Wed, Sep 16, 2026 at 03:04:53PM -0700, Rosen Penev wrote:
> > The MPC5200 PSC AC97 driver only applies to the MPC52xx family of
> > SoCs, but only depended on PPC_BESTCOMM. Restrict the driver to
> > MPC52xx platforms so it is not offered (and does not fail to build)
> > on other bestcomm-based machines.
>
> > config SND_SOC_MPC5200_AC97
> > tristate "Freescale MPC5200 PSC in AC97 mode driver"
> > - depends on PPC_BESTCOMM
> > + depends on PPC_BESTCOMM && PPC_MPC52xx
>
> The DMA controller has:
>
> config PPC_BESTCOMM
> tristate "Bestcomm DMA engine support"
> depends on PPC_MPC52xx
>
> so there's something else going on here I think.
It was requested that I split up from
https://lore.kernel.org/dmaengine/aqrxFTWEsJmFIrel@SMW015318/