Skip to content

Commit 66b47b9

Browse files
jonhunterbroonie
authored andcommitted
ASoC: dt-bindings: realtek,rt5640: Document mclk
Commit eba5a0b ("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: eba5a0b ("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>
1 parent 9ace475 commit 66b47b9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/sound/realtek,rt5640.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ properties:
4444
- realtek,rt5640
4545
- realtek,rt5639
4646

47+
clocks:
48+
items:
49+
- description: phandle and clock specifier for codec MCLK.
50+
51+
clock-names:
52+
items:
53+
- const: mclk
54+
4755
reg:
4856
maxItems: 1
4957

0 commit comments

Comments
 (0)