ASoC: dt-bindings: max98088: add external clock binding

This change “ASoC: dt-bindings: max98088: add external clock binding” in Linux kernel is authored by Marco Felsch <m.felsch [at] pengutronix.de> on Fri Oct 5 09:58:10 2018 +0200.

ASoC: dt-bindings: max98088: add external clock binding

Allow setting the clock provider for the external clock called "mclk".

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>

This Linux change may have been applied to various maintained Linux releases and you can find Linux releases including commit d6ed11e.

There are 8 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 Documentation/devicetree/bindings/sound/maxim,max98088.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/maxim,max98088.txt b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
index a79ad5c..da764d9 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max98088.txt
+++ b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
@@ -7,9 +7,17 @@ Required properties:
 - compatible: "maxim,max98088" or "maxim,max98089".
 - reg: The I2C address of the device.
 
+Optional properties:
+
+- clocks: the clock provider of MCLK, see ../clock/clock-bindings.txt section
+  "consumer" for more information.
+- clock-names: must be set to "mclk"
+
 Example:
 
 max98089: codec@10 {
 	compatible = "maxim,max98089";
 	reg = <0x10>;
+	clocks = <&clks IMX6QDL_CLK_CKO2>;
+	clock-names = "mclk";
 };

The commit for this change in Linux stable tree is d6ed11e (patch).

Leave a Reply

Your email address will not be published. Required fields are marked *