ASoC: dt-bindings: rockchip: Document audio graph port
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Wed, 15 Mar 2023 11:47:59 +0000 (13:47 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Mar 2023 13:11:12 +0000 (13:11 +0000)
The Rockchip I2S controller is currently used in conjunction with
audio-graph-card to provide an endpoint for binding with the other side
of the audio link.

This is achieved via the 'port' property, which is not allowed:

  rk3399-rockpro64.dtb: i2s@ff890000: Unevaluated properties are not allowed ('port' was unexpected)

Fix the issue by documenting the missing property.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20230315114806.3819515-5-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/rockchip-i2s.yaml

index 1cb4da3..c32b475 100644 (file)
@@ -82,6 +82,10 @@ properties:
   resets:
     maxItems: 2
 
+  port:
+    $ref: audio-graph-port.yaml#
+    unevaluatedProperties: false
+
   rockchip,capture-channels:
     $ref: /schemas/types.yaml#/definitions/uint32
     default: 2