From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6549FC0219E for ; Fri, 7 Feb 2025 01:44:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:CC:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2qbcY8LfMeC70utkdYzDbp4vKmOxEokKzG/s6jdwbe0=; b=5Bk/A+2J9WzYE5XM52aNHjHA22 EShFs8kafddIXfiJ4da0rxq+lt6VqTq+JVaLzDJTcaOHaNCAiO+wyl1Nax/iFRRVo9zkL5nKg5j4T s0R8zQk2C8nPh+wqBgrKTuWNSpPnOOKMNuYXaEBMUL2fmm3BaC/h6ZL4CiV56VYIz7ipurOVwxL7H Wykvf+F4kXGIKAAMcN6XmCFTRpFhWAgiA2+o3gzggiz33JRrVuXgcQrnOlQQDXEu8EgXYWFpW8Ij3 C9d1w0n+zErEEhOln/icrRj1ccMMUxWMiuECGKMmVo9y27eCZDMMae/ALkehO85uEolNiwbucU7tz LQTIQZfw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tgDPk-00000007z19-42bi; Fri, 07 Feb 2025 01:44:16 +0000 Received: from lelvem-ot01.ext.ti.com ([198.47.23.234]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tgDON-00000007ykg-01ta for linux-arm-kernel@lists.infradead.org; Fri, 07 Feb 2025 01:42:52 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 5171geKL3735092 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Feb 2025 19:42:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1738892560; bh=2qbcY8LfMeC70utkdYzDbp4vKmOxEokKzG/s6jdwbe0=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=yGkUlGwiltG3sTc6kk+urLbxITx9zlEzty9BG3fnNt4HQn5xEnsVxQfhouh82mehx nrQF80lsPHGLKCGeoh+N5gGY5p47ISkZXYfCuoaFeV3l3i+wanYmlgDjmD9DOvRRuM ena8MsMlB3wsVjiCyqyvpLkWcG1aQR5ADiQvSLK0= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 5171geCa006289 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 6 Feb 2025 19:42:40 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 6 Feb 2025 19:42:39 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 6 Feb 2025 19:42:39 -0600 Received: from localhost (uda0133052.dhcp.ti.com [128.247.81.232]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 5171gdQR001088; Thu, 6 Feb 2025 19:42:39 -0600 Date: Thu, 6 Feb 2025 19:42:39 -0600 From: Nishanth Menon To: Francesco Dolcini CC: Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Francesco Dolcini , , , Subject: Re: [PATCH v1] arm64: dts: ti: k3-am62p: Enable AUDIO_REFCLKx Message-ID: <20250207014239.xzm6rfnusckql2uo@litigator> References: <20250206153911.414702-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20250206153911.414702-1-francesco@dolcini.it> X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250206_174251_222629_CD712431 X-CRM114-Status: GOOD ( 14.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16:39-20250206, Francesco Dolcini wrote: > From: Francesco Dolcini > > On AM62P-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. > > Link: http://downloads.ti.com/tisci/esd/latest/5_soc_doc/am62px/clocks.html > Signed-off-by: Francesco Dolcini > --- > arch/arm64/boot/dts/ti/k3-am62p-main.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > index 420c77c8e9e5..4b47b0774330 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > +++ b/arch/arm64/boot/dts/ti/k3-am62p-main.dtsi > @@ -42,6 +42,26 @@ &inta_main_dmss { > ti,interrupt-ranges = <5 69 35>; > }; > > +&main_conf { Why not add it to main_conf section it self in the file? > + 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 16>; > + #clock-cells = <0>; > + }; > + > + audio_refclk1: clock-controller@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 34>; > + #clock-cells = <0>; > + }; > +}; > + > &main_pmx0 { > pinctrl-single,gpio-range = > <&main_pmx0_range 0 32 PIN_GPIO_RANGE_IOPAD>, > -- > 2.39.5 > -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D