devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx
@ 2024-06-25 18:53 Garrett Giordano
  2024-06-25 18:54 ` [PATCH 2/4] arm64: dts: ti: Add am62x-phyboard-lyra carrier board Garrett Giordano
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Garrett Giordano @ 2024-06-25 18:53 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, w.egorov
  Cc: linux-arm-kernel, devicetree, linux-kernel, upstream

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(+)

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 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-26  9:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-25 18:53 [PATCH 1/4] arm64: dts: ti: k3-am62a: Enable AUDIO_REFCLKx Garrett Giordano
2024-06-25 18:54 ` [PATCH 2/4] arm64: dts: ti: Add am62x-phyboard-lyra carrier board Garrett Giordano
2024-06-26  9:10   ` Krzysztof Kozlowski
2024-06-25 18:54 ` [PATCH 3/4] dt-bindings: arm: ti: Add bindings for PHYTEC AM62Ax based hardware Garrett Giordano
2024-06-26  9:10   ` Krzysztof Kozlowski
2024-06-25 18:54 ` [PATCH 4/4] arm64: dts: ti: Add basic support for phyBOARD-Lyra-AM62Ax Garrett Giordano

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).