[PATCH 3/4] ASoC: mediatek: mt8195: separate the common code from machine driver
Trevor Wu
trevor.wu at mediatek.com
Thu Nov 4 21:11:55 PDT 2021
On Thu, 2021-11-04 at 15:39 +0000, Mark Brown wrote:
> On Wed, Nov 03, 2021 at 06:00:39PM +0800, Trevor Wu wrote:
> > Because we will add DSP support, an new machine driver for the same
> > board is required. BE and codec configuration will use the same
> > code
> > when machine driver is designed for the same board.
>
> I don't follow why the DSP support requires a new driver? Shouldn't
> all
> systems with the DSP present be using it?
We need to keep the solution without DSP, so we can replace DSP
solution with non-DSP when it's required. But when we introduce SOF for
DSP control, there will be more routes in machine driver and device
tree usage is different from the original. So it's hard to share the
same driver for these two solutions.
Thanks,
Trevor
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek
More information about the Linux-mediatek
mailing list