From nobody Thu Sep 11 19:34:35 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A2FB0C001DF for ; Mon, 7 Aug 2023 20:22:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231394AbjHGUWM (ORCPT ); Mon, 7 Aug 2023 16:22:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230297AbjHGUWK (ORCPT ); Mon, 7 Aug 2023 16:22:10 -0400 Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2753C10F8; Mon, 7 Aug 2023 13:22:09 -0700 (PDT) Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id BB8CD20718; Mon, 7 Aug 2023 22:22:05 +0200 (CEST) From: Francesco Dolcini To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jai Luthra , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v3 1/4] arm64: dts: ti: k3-am62: Enable AUDIO_REFCLKx Date: Mon, 7 Aug 2023 22:21:56 +0200 Message-Id: <20230807202159.13095-2-francesco@dolcini.it> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230807202159.13095-1-francesco@dolcini.it> References: <20230807202159.13095-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Jai Luthra On AM62-based SoCs the AUDIO_REFCLKx clocks can be used as an input to external peripherals when configured through CTRL_MMR, so add the clock nodes. Signed-off-by: Jai Luthra Signed-off-by: Francesco Dolcini --- v3: - removed k3-am62a-main.dtsi changes v2: - s/clock/clock-controller/ on audio refclk nodes name. --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts= /ti/k3-am62-main.dtsi index ef90b2bc81eb..5f19ef46d44c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -60,6 +60,24 @@ epwm_tbclk: clock-controller@4130 { reg =3D <0x4130 0x4>; #clock-cells =3D <1>; }; + + audio_refclk0: clock-controller@82e0 { + compatible =3D "ti,am62-audio-refclk"; + reg =3D <0x82e0 0x4>; + clocks =3D <&k3_clks 157 0>; + assigned-clocks =3D <&k3_clks 157 0>; + assigned-clock-parents =3D <&k3_clks 157 8>; + #clock-cells =3D <0>; + }; + + audio_refclk1: clock-controller@82e4 { + compatible =3D "ti,am62-audio-refclk"; + reg =3D <0x82e4 0x4>; + clocks =3D <&k3_clks 157 10>; + assigned-clocks =3D <&k3_clks 157 10>; + assigned-clock-parents =3D <&k3_clks 157 18>; + #clock-cells =3D <0>; + }; }; =20 dmss: bus@48000000 { --=20 2.25.1