diff mbox series

[v3,1/2] ASoC: dt-bindings: renesas, rsnd: Clear warning 'dais' is a required property

Message ID 20210412100638.3349-2-thunder.leizhen@huawei.com
State New
Headers show
Series clean up dt_binding_check and dtbs_check warnings of renesas,rsnd.yaml | expand

Commit Message

Leizhen (ThunderTown) April 12, 2021, 10:06 a.m. UTC
When I do dt_binding_check, below warning is reported:
Documentation/devicetree/bindings/sound/renesas,rsnd.example.dt.yaml: \
sound@ec500000: 'dais' is a required property

I looked at all the dts files in the "arch/arm64/boot/dts/renesas/"
directory. However, the dts node of this driver does not reference any
property in file audio-graph.yaml. This can be proved to be true, because
after I deleted "$ref: audio-graph.yaml#", the old 'dais' warnings are
cleared, and no new warning are generated.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

---
 Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 1 -
 1 file changed, 1 deletion(-)

-- 
2.26.0.106.g9fadedd

Comments

Rob Herring April 15, 2021, 8:36 p.m. UTC | #1
On Mon, 12 Apr 2021 18:06:37 +0800, Zhen Lei wrote:
> When I do dt_binding_check, below warning is reported:

> Documentation/devicetree/bindings/sound/renesas,rsnd.example.dt.yaml: \

> sound@ec500000: 'dais' is a required property

> 

> I looked at all the dts files in the "arch/arm64/boot/dts/renesas/"

> directory. However, the dts node of this driver does not reference any

> property in file audio-graph.yaml. This can be proved to be true, because

> after I deleted "$ref: audio-graph.yaml#", the old 'dais' warnings are

> cleared, and no new warning are generated.

> 

> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>

> ---

>  Documentation/devicetree/bindings/sound/renesas,rsnd.yaml | 1 -

>  1 file changed, 1 deletion(-)

> 


Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
index 1e0e14e889133b8..384191ee497f534 100644
--- a/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
+++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.yaml
@@ -258,7 +258,6 @@  required:
   - "#sound-dai-cells"
 
 allOf:
-  - $ref: audio-graph.yaml#
   - if:
       properties:
         compatible: