]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: dt-bindings: realtek,rt5616: document mclk clock
authorHeiko Stuebner <heiko@sntech.de>
Fri, 30 Aug 2024 20:38:17 +0000 (22:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 3 Sep 2024 11:53:42 +0000 (12:53 +0100)
Both devicetrees and driver implementation already use the specified mclk
in the field, so at least document the clock too, similarly to other
Realtek codec.

This has the nice additional effect of getting rid of dtbscheck warning.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240830203819.1972536-2-heiko@sntech.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/realtek,rt5616.yaml

index 248320804e5fcf950353409104a6c1cbd9835fe1..754111f2e70a79e1372e74bb9f1d79fe6b1a80f0 100644 (file)
@@ -30,6 +30,14 @@ properties:
   reg:
     maxItems: 1
 
+  clocks:
+    items:
+      - description: Master clock to the CODEC
+
+  clock-names:
+    items:
+      - const: mclk
+
 required:
   - compatible
   - reg