]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dt-bindings: cirrus,cs4271: Document mclk clock
authorHerve Codina <herve.codina@bootlin.com>
Wed, 29 Oct 2025 09:39:19 +0000 (10:39 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 29 Oct 2025 20:13:25 +0000 (20:13 +0000)
The Cirrus CS4271 codec can use an external clock as an input Master
Clock. When no crystal is used, the CS4271 component considers its MCLK
pin as an input pin and expects the external clock connected to provide
the Master Clock.

This clock is not documented in the binding.

Add the missing clock.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20251029093921.624088-4-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/cirrus,cs4271.yaml

index 68fbf5cc208f5b5033e89c786ed2d93bae5ccca1..d286eb1699159fa726f2c088b7449cbdaec096cc 100644 (file)
@@ -25,6 +25,16 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    items:
+      - description:
+          Master clock connected to the MCLK pin if MCLK is an input (i.e. no
+          crystal used).
+
+  clock-names:
+    items:
+      - const: mclk
+
   spi-cpha: true
 
   spi-cpol: true