]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j784s4-main: Add audio_refclk node
authorJayesh Choudhary <j-choudhary@ti.com>
Wed, 26 Jun 2024 10:16:44 +0000 (15:46 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 1 Jul 2024 16:06:06 +0000 (21:36 +0530)
On J784S4 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>
Link: https://lore.kernel.org/r/20240626101645.36764-3-j-choudhary@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi

index 7e10be314684d2b1c58e2fd1ed5eb997d20de63f..f170f80f00c1b84bea97d243e51866777bd84376 100644 (file)
                        reg = <0x4140 0x18>;
                        #clock-cells = <1>;
                };
+
+               audio_refclk1: clock@82e4 {
+                       compatible = "ti,am62-audio-refclk";
+                       reg = <0x82e4 0x4>;
+                       clocks = <&k3_clks 157 34>;
+                       assigned-clocks = <&k3_clks 157 34>;
+                       assigned-clock-parents = <&k3_clks 157 63>;
+                       #clock-cells = <0>;
+               };
        };
 
        main_ehrpwm0: pwm@3000000 {