mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Moteen Shah <m-shah@ti.com>
To: <krzk+dt@kernel.org>, <robh@kernel.org>, <conor+dt@kernel.org>,
	<nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>
Cc: <devicetree@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <u-kumar1@ti.com>,
	<gehariprasath@ti.com>, <y-abhilashchandra@ti.com>,
	<m-shah@ti.com>
Subject: [PATCH 2/3] arm64: dts: ti: k3-j721s2-main: Add audio_refclk node
Date: Mon, 12 Jan 2026 16:15:35 +0530	[thread overview]
Message-ID: <20260112104536.83309-3-m-shah@ti.com> (raw)
In-Reply-To: <20260112104536.83309-1-m-shah@ti.com>

From: Jayesh Choudhary <j-choudhary@ti.com>

On J721S2 SoC, the AUDIO_REFCLK1 can be used as input to external
peripherals when configured through CTRL_MMR.
Add audio_refclk1 node which would be used as system clock for
audio codec PCM3168A.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Moteen Shah <m-shah@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
index 80c51b11ac9f..3ecc7c973205 100644
--- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
@@ -75,6 +75,15 @@ ehrpwm_tbclk: clock-controller@140 {
 			reg = <0x140 0x18>;
 			#clock-cells = <1>;
 		};
+
+		audio_refclk1: clock-controller@42e4 {
+			compatible = "ti,am62-audio-refclk";
+			reg = <0x42e4 0x4>;
+			clocks = <&k3_clks 157 299>;
+			assigned-clocks = <&k3_clks 157 299>;
+			assigned-clock-parents = <&k3_clks 157 328>;
+			#clock-cells = <0>;
+		};
 	};
 
 	main_ehrpwm0: pwm@3000000 {
-- 
2.34.1


  parent reply	other threads:[~2026-01-12 10:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12 10:45 [PATCH 0/3] Enable analog audio support on J721S2 EVM Moteen Shah
2026-01-12 10:45 ` [PATCH 1/3] ti,j721e-system-controller.yaml: Allow audio-refclk as clock-controller child Moteen Shah
2026-01-15 17:31   ` Rob Herring (Arm)
2026-01-12 10:45 ` Moteen Shah [this message]
2026-01-16 10:29   ` [PATCH 2/3] arm64: dts: ti: k3-j721s2-main: Add audio_refclk node Hari Prasath
2026-01-12 10:45 ` [PATCH 3/3] arm64: dts: ti: k3-j721s2-common-proc-board: Enable analog audio support Moteen Shah
2026-01-16 11:52   ` Hari Prasath
2026-01-16 13:04   ` Nishanth Menon
2026-02-04 11:18     ` Moteen Shah
  -- strict thread matches above, loose matches on Subject: below --
2025-06-04 10:46 [PATCH 0/3] Enable audio support for J721S2-EVM Jayesh Choudhary
2025-06-04 10:46 ` [PATCH 2/3] arm64: dts: ti: k3-j721s2-main: Add audio_refclk node Jayesh Choudhary

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=20260112104536.83309-3-m-shah@ti.com \
    --to=m-shah@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gehariprasath@ti.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=u-kumar1@ti.com \
    --cc=vigneshr@ti.com \
    --cc=y-abhilashchandra@ti.com \
    /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

all inboxes | Powered by JetHome®