[PATCH v5 6/7] ASoC: meson: gx-card: add support for audin FIFO
Valerio Setti
vsetti at baylibre.com
Wed Nov 25 14:26:17 PST 2026
On 11/24/26 10:21 PM, Martin Blumenstingl wrote:
> On Tue, Nov 17, 2026 at 12:06 AM Valerio Setti <vsetti at baylibre.com> wrote:
>>
>> On 11/15/26 10:28 PM, Martin Blumenstingl wrote:
>>> On Sun, Oct 18, 2026 at 12:18 PM Valerio Setti <vsetti at baylibre.com> 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.
This is the thing I'm not sure about: "amlogic,audin" does not seem to
include SoC-specific details (in my opinion).
>
> 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";
>
Ok, so if I understand correctly you would like "amlogic,audin" to
become a sort of alternative fallback so that:
- meson8 and meson8b do not need to have an "amlogic,gxbb..." compatible
as fallback
- the change in 'gx-card.c' is more aligned with what's currently being
done for AIU.
Is my understanding correct?
Krzysztof, since you already approved the dt-bindings change in this
series (1st commit), what do you think about Martin proposal?
If you don't have anything against it, I will add it.
Best regards,
--
Valerio
More information about the linux-arm-kernel
mailing list