[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49fd57aa-05a1-b330-6684-31c80339e56d@gmail.com>
Date: Thu, 25 Nov 2021 05:18:19 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: David Heidelberg <david@...t.cz>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>
Cc: ~okias/devicetree@...ts.sr.ht, alsa-devel@...a-project.org,
devicetree@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: sound: nvidia,tegra-audio: Convert multiple
txt bindings to yaml
25.10.2021 20:19, David Heidelberg пишет:
> +properties:
> + compatible:
> + oneOf:
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-alc5632(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-alc5632
> + - items:
> + - enum:
> + - nvidia,tegra-audio-max98090-nyan-big
> + - nvidia,tegra-audio-max98090-nyan-blaze
> + - const: nvidia,tegra-audio-max98090-nyan
> + - const: nvidia,tegra-audio-max98090
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-max98090(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-max98090
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-rt56(39|40)(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-rt5640
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-rt5677(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-rt5677
> + - items:
> + - enum:
> + - toradex,tegra-audio-sgtl5000-apalis_t30
> + - toradex,tegra-audio-sgtl5000-colibri_t30
> + - toradex,tegra-audio-sgtl5000-apalis_tk1
> + - const: nvidia,tegra-audio-sgtl5000
> + - const: nvidia,tegra-audio-trimslice
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-wm8753(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-wm8753
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-(plutux|wm8903(-[a-z0-9])+)'
> + - const: nvidia,tegra-audio-wm8903
> + - items:
> + - pattern: '^[a-z0-9]+,tegra-audio-wm9712(-[a-z0-9])+'
> + - const: nvidia,tegra-audio-wm9712
> +
I'm now wondering whether these patterns need to have the end of string
"$" mark, for completeness.
Powered by blists - more mailing lists