]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dt-bindings: realtek,rt5616: Document audio graph port
authorHeiko Stuebner <heiko@sntech.de>
Fri, 30 Aug 2024 20:38:18 +0000 (22:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 3 Sep 2024 11:53:43 +0000 (12:53 +0100)
The codec can be used in conjunction with an audio-graph-card to provide
an endpoint for binding with the other side of the audio link.

Document the 'port' property that is used for this to prevent
dtbscheck errors like:

    rockchip/rk3588-nanopc-t6-lts.dtb: codec@1b: Unevaluated properties are not allowed ('port' was unexpected)
        from schema $id: http://devicetree.org/schemas/sound/realtek,rt5616.yaml#

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240830203819.1972536-3-heiko@sntech.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/realtek,rt5616.yaml

index 754111f2e70a79e1372e74bb9f1d79fe6b1a80f0..29071044c66e98130dd1d8019ac68f602f1e962d 100644 (file)
@@ -38,6 +38,10 @@ properties:
     items:
       - const: mclk
 
+  port:
+    $ref: audio-graph-port.yaml#
+    unevaluatedProperties: false
+
 required:
   - compatible
   - reg