summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/wm8962.txt
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2020-12-17 10:27:40 -0600
committerMark Brown <broonie@kernel.org>2021-01-04 14:24:59 +0000
commite33c93b2206fedee35df756940e07af7b1f29768 (patch)
treea1d5a3268c686db81d1c05bb720974a548ebceec /Documentation/devicetree/bindings/sound/wm8962.txt
parentc1cbbea9c4db41eb69a831d8b07da52e05b1d1e8 (diff)
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: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Adam Ford <aford173@gmail.com> Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201217162740.1452000-1-aford173@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/wm8962.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/wm8962.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/wm8962.txt b/Documentation/devicetree/bindings/sound/wm8962.txt
index dcfa9a3369fd..c36c649ddfd0 100644
--- a/Documentation/devicetree/bindings/sound/wm8962.txt
+++ b/Documentation/devicetree/bindings/sound/wm8962.txt
@@ -9,6 +9,9 @@ Required properties:
- reg : the I2C address of the device.
Optional properties:
+
+ - clocks : The clock source of the mclk
+
- 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
in mono mode.
@@ -27,6 +30,7 @@ Example:
wm8962: codec@1a {
compatible = "wlf,wm8962";
reg = <0x1a>;
+ clocks = <&clks IMX6QDL_CLK_CKO>;
gpio-cfg = <
0x0000 /* 0:Default */