diff mbox series

[1/3] ASoC: dt-bindings: realtek,rt5616: document mclk clock

Message ID 20240830203819.1972536-2-heiko@sntech.de (mailing list archive)
State New
Headers show
Series Fixes for the audio setup on the rk3588-nanopc-t6 | expand

Commit Message

Heiko Stuebner Aug. 30, 2024, 8:38 p.m. UTC
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>
---
 .../devicetree/bindings/sound/realtek,rt5616.yaml         | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Krzysztof Kozlowski Aug. 31, 2024, 6:46 a.m. UTC | #1
On Fri, Aug 30, 2024 at 10:38:17PM +0200, Heiko Stuebner wrote:
> 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>
> ---
>  .../devicetree/bindings/sound/realtek,rt5616.yaml         | 8 ++++++++
>  1 file changed, 8 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml
index 248320804e5f..754111f2e70a 100644
--- a/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml
+++ b/Documentation/devicetree/bindings/sound/realtek,rt5616.yaml
@@ -30,6 +30,14 @@  properties:
   reg:
     maxItems: 1
 
+  clocks:
+    items:
+      - description: Master clock to the CODEC
+
+  clock-names:
+    items:
+      - const: mclk
+
 required:
   - compatible
   - reg