Commit e33c93b2 authored by Adam Ford's avatar Adam Ford Committed by Mark Brown

ASoC: wm8962: Add optional mclk device tree binding

The driver can request an optional clock for mclk.
Update the txt file to reflect this.
Suggested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201217162740.1452000-1-aford173@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent c1cbbea9
...@@ -9,6 +9,9 @@ Required properties: ...@@ -9,6 +9,9 @@ Required properties:
- reg : the I2C address of the device. - reg : the I2C address of the device.
Optional properties: Optional properties:
- clocks : The clock source of the mclk
- spk-mono: This is a boolean property. If present, the SPK_MONO bit - spk-mono: This is a boolean property. If present, the SPK_MONO bit
of R51 (Class D Control 2) gets set, indicating that the speaker is of R51 (Class D Control 2) gets set, indicating that the speaker is
in mono mode. in mono mode.
...@@ -27,6 +30,7 @@ Example: ...@@ -27,6 +30,7 @@ Example:
wm8962: codec@1a { wm8962: codec@1a {
compatible = "wlf,wm8962"; compatible = "wlf,wm8962";
reg = <0x1a>; reg = <0x1a>;
clocks = <&clks IMX6QDL_CLK_CKO>;
gpio-cfg = < gpio-cfg = <
0x0000 /* 0:Default */ 0x0000 /* 0:Default */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment