]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: clock: fsl-sai: Document clock-cells = <1> support
authorMarek Vasut <marex@nabladev.com>
Thu, 9 Apr 2026 00:29:04 +0000 (02:29 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sun, 12 Apr 2026 00:32:38 +0000 (17:32 -0700)
The driver now supports generation of both BCLK and MCLK, document
support for #clock-cells = <0> for legacy case and #clock-cells = <1>
for the new case which can differentiate between BCLK and MCLK.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Marek Vasut <marex@nabladev.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/fsl,sai-clock.yaml

index 90799b3b505eecfdccb224e546c55b1cdfaa3c3b..041a63fa2d2b05f4ca0f26fcafdc3d91abfb033f 100644 (file)
@@ -10,7 +10,7 @@ maintainers:
   - Michael Walle <michael@walle.cc>
 
 description: |
-  It is possible to use the BCLK pin of a SAI module as a generic
+  It is possible to use the BCLK or MCLK pin of a SAI module as a generic
   clock output. Some SoC are very constrained in their pin multiplexer
   configuration. E.g. pins can only be changed in groups. For example, on
   the LS1028A SoC you can only enable SAIs in pairs. If you use only one SAI,
@@ -47,7 +47,7 @@ properties:
       - const: mclk1
 
   '#clock-cells':
-    const: 0
+    maximum: 1
 
 allOf:
   - if: