]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: dt-bindings: realtek,rt5640: Document mclk
authorJon Hunter <jonathanh@nvidia.com>
Thu, 8 Jan 2026 14:31:56 +0000 (14:31 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 9 Jan 2026 13:20:31 +0000 (13:20 +0000)
Commit eba5a0bac211 ("ASoC: dt-bindings: realtek,rt5640: Convert to
dtschema") converted the rt5640 dt-binding to yaml format but in the
process dropped 'clock' and 'clock-names' properties that are used to
specify the codec 'mclk'. This is causing DTB build warnings for boards
that use this codec and define an 'mclk' in device-tree. Update the
rt5640 binding document to add the optional mclk.

Fixes: eba5a0bac211 ("ASoC: dt-bindings: realtek,rt5640: Convert to dtschema")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20260108143158.351223-2-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/realtek,rt5640.yaml

index 3f4f59287c1ccaef1b3b84079141f1e45dab9eba..6bb6e12bdf8bee390bc5db8dc3cf7cabb58f5c74 100644 (file)
@@ -44,6 +44,14 @@ properties:
       - realtek,rt5640
       - realtek,rt5639
 
+  clocks:
+    items:
+      - description: phandle and clock specifier for codec MCLK.
+
+  clock-names:
+    items:
+      - const: mclk
+
   reg:
     maxItems: 1