[PATCH v2 3/3] dt-bindings: display: rockchip, dw-hdmi: Fix sound-dai-cells warning
Jonas Karlman
jonas at kwiboo.se
Sun Apr 14 15:11:29 UTC 2024
The rockchip,dw-hdmi node can be used as a sound dai codec, however,
dtbs_check may report the following issue:
hdmi at fe0a0000: Unevaluated properties are not allowed ('#sound-dai-cells' was unexpected)
from schema $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml#
Add a reference to dai-common.yaml and add the #sound-dai-cells prop to
resolve this warning.
Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
v2: New patch to fix #sound-dai-cells warning
---
.../bindings/display/rockchip/rockchip,dw-hdmi.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
index af638b6c0d21..3285fff54416 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
@@ -15,6 +15,7 @@ description: |
allOf:
- $ref: ../bridge/synopsys,dw-hdmi.yaml#
+ - $ref: /schemas/sound/dai-common.yaml#
properties:
compatible:
@@ -124,6 +125,9 @@ properties:
description:
phandle to the GRF to mux vopl/vopb.
+ "#sound-dai-cells":
+ const: 0
+
required:
- compatible
- reg
--
2.43.2
More information about the dri-devel
mailing list