Linux Tegra architecture development
 help / color / mirror / Atom feed
From: Diogo Ivo <diogo.ivo@bootlin.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>,  Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Animesh Agarwal <animeshagarwal28@gmail.com>,
	 Thierry Reding <thierry.reding@kernel.org>,
	 Jonathan Hunter <jonathanh@nvidia.com>
Cc: linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org,
	 Diogo Ivo <diogo.ivo@bootlin.com>
Subject: [PATCH 1/2] ASoC: dt-bindings: realtek,rt5677: Add clock property
Date: Thu, 03 Sep 2026 00:11:00 +0200	[thread overview]
Message-ID: <20260903-rt5677-mclk-v1-1-b71a5a3533f9@bootlin.com> (raw)
In-Reply-To: <20260903-rt5677-mclk-v1-0-b71a5a3533f9@bootlin.com>

Add a clock property as the RT5677 codec can be fed an
external clock signal.

Signed-off-by: Diogo Ivo <diogo.ivo@bootlin.com>
---
 Documentation/devicetree/bindings/sound/realtek,rt5677.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/realtek,rt5677.yaml b/Documentation/devicetree/bindings/sound/realtek,rt5677.yaml
index ae27ae78b1b2..e9fb97a48445 100644
--- a/Documentation/devicetree/bindings/sound/realtek,rt5677.yaml
+++ b/Documentation/devicetree/bindings/sound/realtek,rt5677.yaml
@@ -44,6 +44,14 @@ properties:
   '#gpio-cells':
     const: 2
 
+  clocks:
+    items:
+      - description: phandle and clock specifier for codec MCLK.
+
+  clock-names:
+    items:
+      - const: mclk
+
   realtek,pow-ldo2-gpio:
     maxItems: 1
     description: CODEC's POW_LDO2 pin.
@@ -127,6 +135,8 @@ examples:
             interrupts = <3 IRQ_TYPE_LEVEL_HIGH>;
             gpio-controller;
             #gpio-cells = <2>;
+            clocks = <&osc>;
+            clock-names = "mclk";
             realtek,pow-ldo2-gpio = <&gpio 3 GPIO_ACTIVE_HIGH>;
             realtek,reset-gpio = <&gpio 3 GPIO_ACTIVE_LOW>;
             realtek,in1-differential;

-- 
2.55.0


  reply	other threads:[~2026-09-02 22:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 22:10 [PATCH 0/2] rt5677: add mclk to DT binding and define it for Smaug Diogo Ivo
2026-09-02 22:11 ` Diogo Ivo [this message]
2026-09-03  9:57   ` [PATCH 1/2] ASoC: dt-bindings: realtek,rt5677: Add clock property Mark Brown
2026-09-03 13:26     ` Diogo Ivo
2026-09-03 21:01       ` Mark Brown
2026-09-04  9:06         ` Diogo Ivo
2026-09-02 22:11 ` [PATCH 2/2] arm64: tegra: smaug: Add rt5677 mclk input Diogo Ivo

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=20260903-rt5677-mclk-v1-1-b71a5a3533f9@bootlin.com \
    --to=diogo.ivo@bootlin.com \
    --cc=animeshagarwal28@gmail.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jonathanh@nvidia.com \
    --cc=krzk+dt@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=thierry.reding@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