[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210415203627.GA1840177@robh.at.kernel.org>
Date: Thu, 15 Apr 2021 15:36:27 -0500
From: Rob Herring <robh@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Brown <broonie@...nel.org>,
devicetree <devicetree@...r.kernel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
alsa-devel <alsa-devel@...a-project.org>
Subject: Re: [PATCH v3 2/2] ASoC: dt-bindings: renesas, rsnd: Clear warning
'ports' does not match any of the regexes
On Mon, 12 Apr 2021 18:06:38 +0800, Zhen Lei wrote:
> Currently, if there are more than two ports, or if there is only one port
> but other properties(such as "#address-cells") is required, these ports
> are placed under the "ports" node. So add the schema of property "ports".
>
> Otherwise, warnings similar to the following will be reported:
> arch/arm64/boot/dts/renesas/r8a774a1-beacon-rzg2m-kit.dt.yaml: \
> sound@...00000: 'ports' does not match any of the regexes: \
> '^rcar_sound,ctu$', '^rcar_sound,dai$', '^rcar_sound,dvc$', ...
>
> A given binding should just use 'ports' or 'port' depending on it's need.
> Both are not allowed at the same time. The check is done in "allOf".
>
> Signed-off-by: Zhen Lei <thunder.leizhen@...wei.com>
> ---
> .../devicetree/bindings/sound/renesas,rsnd.yaml | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists