summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2018-10-05 09:58:10 +0200
committerMark Brown <broonie@kernel.org>2018-10-08 19:45:57 +0100
commitd6ed11edab5dd10ddf5548c02a9a1132ec728640 (patch)
tree6860f8e76e7aa9d05b94c2521fb7c29efff62dd1
parent7454a21c13f7ce9bf1a4f9b639039b78462cec09 (diff)
downloadlinux-stable-d6ed11edab5dd10ddf5548c02a9a1132ec728640.tar.gz
linux-stable-d6ed11edab5dd10ddf5548c02a9a1132ec728640.tar.bz2
linux-stable-d6ed11edab5dd10ddf5548c02a9a1132ec728640.zip
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>
-rw-r--r--Documentation/devicetree/bindings/sound/maxim,max98088.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/maxim,max98088.txt b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
index a79ad5c7af88..da764d913319 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";
};