diff mbox series

[v2,1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx

Message ID 20240626155244.3311436-1-ggiordano@phytec.com (mailing list archive)
State New, archived
Headers show
Series [v2,1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx | expand

Commit Message

Garrett Giordano June 26, 2024, 3:52 p.m. UTC
On AM62a SoCs the AUDIO_REFCLKx clocks can be used as an input to
external peripherals when configured through CTRL_MMR, so add the
clock nodes.

Based on: Link: https://lore.kernel.org/lkml/20230807202159.13095-2-francesco@dolcini.it/
Signed-off-by: Garrett Giordano <ggiordano@phytec.com>
---
 arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Vignesh Raghavendra July 3, 2024, 4:37 a.m. UTC | #1
Hi Garrett Giordano,

On Wed, 26 Jun 2024 08:52:41 -0700, Garrett Giordano wrote:
> On AM62a SoCs the AUDIO_REFCLKx clocks can be used as an input to
> external peripherals when configured through CTRL_MMR, so add the
> clock nodes.
> 
> Based on: Link: https://lore.kernel.org/lkml/20230807202159.13095-2-francesco@dolcini.it/
> 
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx
      commit: fe6a73eee30173695d3a56e30033d7bb1f4c79eb
[2/4] arm64: dts: ti: Add am62x-phyboard-lyra carrier board
      commit: f1b3adade0459a9a2d9fb0964f975e9541fb1ac9
[3/4] dt-bindings: arm: ti: Add bindings for PHYTEC AM62Ax based hardware
      commit: 567c373f441b29414157c00cfff09f1c60e83bf6
[4/4] arm64: dts: ti: Add basic support for phyBOARD-Lyra-AM62Ax
      commit: d69383885576954033b537c29c7d259f18e75293

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
index bf9c2d9c6439..2a6e333f752c 100644
--- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
@@ -59,6 +59,24 @@  epwm_tbclk: clock-controller@4130 {
 			reg = <0x4130 0x4>;
 			#clock-cells = <1>;
 		};
+
+		audio_refclk0: clock-controller@82e0 {
+			compatible = "ti,am62-audio-refclk";
+			reg = <0x82e0 0x4>;
+			clocks = <&k3_clks 157 0>;
+			assigned-clocks = <&k3_clks 157 0>;
+			assigned-clock-parents = <&k3_clks 157 8>;
+			#clock-cells = <0>;
+		};
+
+		audio_refclk1: clock-controller@82e4 {
+			compatible = "ti,am62-audio-refclk";
+			reg = <0x82e4 0x4>;
+			clocks = <&k3_clks 157 10>;
+			assigned-clocks = <&k3_clks 157 10>;
+			assigned-clock-parents = <&k3_clks 157 18>;
+			#clock-cells = <0>;
+		};
 	};
 
 	dmss: bus@48000000 {