Skip to content

clean up dt_binding_check and dtbs_check warnings of renesas,rsnd.yaml

Zhen Lei alsa-devel linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

Modified based on Rob's review comments. For example, "ports" and "port" are not allowed at the same time.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: dt-bindings: renesas, rsnd: Clear warning 'dais' is a required propertyDocumentation/devicetree/bindings/sound/renesas,rsnd.yaml+0 -11 reply
2/2ASoC: dt-bindings: renesas, rsnd: Clear warning 'ports' does not match any of the regexesDocumentation/devicetree/bindings/sound/renesas,rsnd.yaml+12 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] clean up dt_binding_check and dtbs_check warnings of renesas,rsnd.yaml

v2 --> v3:
Modified based on Rob's review comments. For example, "ports" and "port" are not allowed at the same time.

For the details, please refer:
https://www.mail-archive.com/[email protected]/msg2539753.html

v1 --> v2:
The analysis was not clear in the previous version, "$ref: audio-graph.yaml#" is not required.

It was then adjusted based on the following patch series:
[1] https://lore.kernel.org/r/[email protected]/

v1:
When I do dt_binding_check for all YAML files, below warning is reported:
/root/mainline/Documentation/devicetree/bindings/sound/renesas,rsnd.example.dt.yaml: sound@ec500000: 'dais' is a required property
From schema: /root/mainline/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml

make dt_binding_check -j24 2>err.txt
Before:
cat err.txt | wc -l
2

After:
cat err.txt | wc -l
0

make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/renesas,rsnd.yaml -j24 2>err.txt Before:
cat err.txt | wc -l
130

After:
cat err.txt | wc -l
0

Zhen Lei (2):
ASoC: dt-bindings: renesas, rsnd: Clear warning 'dais' is a required
property
ASoC: dt-bindings: renesas, rsnd: Clear warning 'ports' does not match
any of the regexes

 .../devicetree/bindings/sound/renesas,rsnd.yaml     | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
Signature · 1 line
2.26.0.106.g9fadedd