[alsa-devel] [PATCH 3/5] ASoC: dt-bindings: max98088: add external clock binding

Marco Felsch m.felsch at pengutronix.de
Tue Sep 25 16:23:50 CEST 2018


Allow setting the external clock called "mclk" in the device tree.

Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 Documentation/devicetree/bindings/sound/maxim,max98088.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/maxim,max98088.txt b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
index a79ad5c7af88..c575806c9e18 100644
--- a/Documentation/devicetree/bindings/sound/maxim,max98088.txt
+++ b/Documentation/devicetree/bindings/sound/maxim,max98088.txt
@@ -6,10 +6,15 @@ Required properties:
 
 - compatible: "maxim,max98088" or "maxim,max98089".
 - reg: The I2C address of the device.
+- 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 at 10 {
 	compatible = "maxim,max98089";
 	reg = <0x10>;
+	clocks = <&clks IMX6QDL_CLK_CKO2>;
+	clock-names = "mclk";
 };
-- 
2.19.0



More information about the Alsa-devel mailing list