[PATCH v2 1/4] ASoC: dt-bindings: stm32: i2s: add audio-graph-card port

From: Olivier Moysan
Date: Thu Nov 25 2021 - 09:46:50 EST


The STM2 I2S DAI can be connected via the audio-graph-card.
Add port entry into the bindings.

Signed-off-by: Olivier Moysan <olivier.moysan@xxxxxxxxxxx>
---
Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml
index 6feb5a09c184..64b70ac539f8 100644
--- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml
+++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml
@@ -58,6 +58,11 @@ properties:
description: Configure the I2S device as MCLK clock provider.
const: 0

+patternProperties:
+ '^port@[0-9]':
+ $ref: audio-graph-port.yaml#
+ unevaluatedProperties: false
+
required:
- compatible
- "#sound-dai-cells"
--
2.17.1