Re: [PATCH v5 6/7] ASoC: meson: gx-card: add support for audin FIFO

From: Martin Blumenstingl

Date: Tue Nov 24 2026 - 16:21:57 EST


On Tue, Nov 17, 2026 at 12:06 AM Valerio Setti <vsetti@xxxxxxxxxxxx> wrote:
>
> On 11/15/26 10:28 PM, Martin Blumenstingl wrote:
> > On Sun, Oct 18, 2026 at 12:18 PM Valerio Setti <vsetti@xxxxxxxxxxxx> wrote:
> > [...]
> >> + if (gx_card_cpu_identify(dai_link->cpus, DT_PREFIX "gxbb-audin", "FIFO"))
> >> + return meson_card_set_fe_link(card, dai_link, np, false);
> > I suggest using the "audin" prefix. AIU / audin seem close enough on
> > all supported SoCs that we don't need a SoC generation prefix in
> > there to handle this differently.
>
> Do you mean using "meson,audin" instead of "meson,gxbb-audin" for the
> compatible?
> If so I'm not sure this is allowed nowadays. As far as I understood
> "meson,aiu" is a sort of legacy naming. 'writing-binidings.rst' says
>
> "DO use a SoC-specific compatible for all SoC devices [...]"
Let me use an example as I realize that I wasn't very clear:
compatible = "amlogic,gxbb-audin", "amlogic,audin";
Does fulfill the criteria (as far as I understand it).
What doesn't work is "amlogic,audin" alone.

The GXL example then would be:
compatible = "amlogic,gxl-audin", "amlogic,gxbb-audin", "amlogic,audin";

And for Meson8/8b (sorry, I didn't get around to testing) I would then use:
compatible = "amlogic,meson8-audin", "amlogic,audin";
compatible = "amlogic,meson8b-audin", "amlogic,meson8-audin", "amlogic,audin";


Best regards,
Martin