]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC; dt-bindings: mediatek,mt8173-rt5650-rt5514: Fix mediatek,audio-codec constraints
authorRob Herring (Arm) <robh@kernel.org>
Fri, 8 May 2026 18:24:37 +0000 (13:24 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:28:29 +0000 (09:28 +0900)
A phandle-array is really a matrix and needs constraints on the number
of elements for both the inner and outer dimensions. Add the missing
inner constraints.

Fixes: 472d77bdc511 ("ASoC: dt-bindings: mediatek,mt8173-rt5650-rt5514: convert to DT schema")
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260508182438.1757394-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mediatek,mt8173-rt5650-rt5514.yaml

index ed698c9ff42b0e6109379cde573529903281bf10..becc7a11f8dc140968f4ee50507c63cf1fecc1e4 100644 (file)
@@ -18,7 +18,9 @@ properties:
     description: Phandles of rt5650 and rt5514 codecs
     items:
       - description: phandle of rt5650 codec
+        maxItems: 1
       - description: phandle of rt5514 codec
+        maxItems: 1
 
   mediatek,platform:
     $ref: /schemas/types.yaml#/definitions/phandle