ASoC: dt-bindings: mediatek: mt8192: Add i2s-share properties
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Fri, 29 Apr 2022 20:30:37 +0000 (16:30 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 9 May 2022 11:46:58 +0000 (12:46 +0100)
The Mediatek AFE PCM controller for MT8192 allows sharing of an I2S bus
between two busses. Add a pattern for these properties in the
dt-binding.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Link: https://lore.kernel.org/r/20220429203039.2207848-2-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/mt8192-afe-pcm.yaml

index 7a25bc9b80602d3671d83c5a31e84de072daf4b3..5b03c8dbf318abc8fc119d8929ec4135d07278ef 100644 (file)
@@ -54,6 +54,11 @@ properties:
       - const: aud_infra_clk
       - const: aud_infra_26m_clk
 
+patternProperties:
+  "^i2s[0-35-9]-share$":
+    description: Name of the I2S bus that is shared with this bus
+    pattern: "^I2S[0-35-9]$"
+
 required:
   - compatible
   - interrupts