devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marco Felsch <m.felsch@pengutronix.de>
To: lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org,
	mark.rutland@arm.com
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
	kernel@pengutronix.de
Subject: [PATCH 3/5] ASoC: dt-bindings: max98088: add external clock binding
Date: Tue, 25 Sep 2018 16:23:50 +0200	[thread overview]
Message-ID: <20180925142352.24106-4-m.felsch@pengutronix.de> (raw)
In-Reply-To: <20180925142352.24106-1-m.felsch@pengutronix.de>

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

Signed-off-by: Marco Felsch <m.felsch@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@10 {
 	compatible = "maxim,max98089";
 	reg = <0x10>;
+	clocks = <&clks IMX6QDL_CLK_CKO2>;
+	clock-names = "mclk";
 };
-- 
2.19.0

  parent reply	other threads:[~2018-09-25 14:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-25 14:23 [PATCH 0/5] MAX98088/9 of features Marco Felsch
2018-09-25 14:23 ` [PATCH 1/5] ASoC: dt-bindings: add max98088 audio codec Marco Felsch
2018-09-25 14:23 ` [PATCH 2/5] ASoC: max98088: add OF support Marco Felsch
2018-09-25 17:11   ` Mark Brown
2018-09-26 10:42     ` Marco Felsch
2018-09-25 14:23 ` Marco Felsch [this message]
2018-09-25 14:23 ` [PATCH 4/5] ASoC: max98088: Add master clock handling Marco Felsch
2018-09-25 17:17   ` Mark Brown
2018-09-26 10:00     ` Marco Felsch
2018-09-26 12:22       ` Mark Brown
2018-09-26 12:30         ` Marco Felsch
2018-09-25 14:23 ` [PATCH 5/5] ASoC: max98988: make it selectable Marco Felsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180925142352.24106-4-m.felsch@pengutronix.de \
    --to=m.felsch@pengutronix.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kernel@pengutronix.de \
    --cc=lgirdwood@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).