]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j722s-main: Add audio_refclk node
authorJayesh Choudhary <j-choudhary@ti.com>
Tue, 25 Jun 2024 11:33:00 +0000 (17:03 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 1 Jul 2024 16:06:06 +0000 (21:36 +0530)
On J722S 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 the
audio codec TLV320AIC3106.

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Link: https://lore.kernel.org/r/20240625113301.217369-2-j-choudhary@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j722s-main.dtsi

index 228c6c89245c0ec2bbe0043a8352d9b7145833bb..a6b7817d35bcd9e1fadb9278e7f1890a0457c3df 100644 (file)
                mux-reg-masks = <0x00 0x3>, /* SERDES0 lane0 select */
                                <0x10 0x3>; /* SERDES1 lane0 select */
        };
+
+       audio_refclk1: clock@82e4 {
+               compatible = "ti,am62-audio-refclk";
+               reg = <0x82e4 0x4>;
+               clocks = <&k3_clks 157 18>;
+               assigned-clocks = <&k3_clks 157 18>;
+               assigned-clock-parents = <&k3_clks 157 33>;
+               #clock-cells = <0>;
+       };
 };
 
 &wkup_conf {