From patchwork Tue Jun 25 11:33:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13710904 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 E65F6C2BBCA for ; Tue, 25 Jun 2024 11:33:28 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kd6H54Mg61MKFK9NNB+xqFavtmR1yT+IlyPziynAQbk=; b=OoP2LMXFkLTPXV5vNpnehK+Sb2 k4UfgrnMkD8XzqX17zHTooWgpqw7jjPq00XglBLeiBavsV60r6JuNvQlZT9pdbVods8CBNth4frU7 LZH5FQh/LpiAbFefOmM+UPT6cprswbaFSfWwXUx/U7Q+mQFzqwPvj6/hjrZyojv0s/dR6p/rwKK8C nWqxGuOt4voxOoSRHLZoqcE2LBx1gfVVPLJU4ztgVUgUKMgLl95/AgwFLVnCZAxbUF5whvEz0o7cq So8frq6YTPpLpDwOBVMBito7nxXxDGH2vI3ZTI6NkJAqE3B4pL9eI/uFIwCBoqSQyMxVgeAasftmi cCn6K6mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM4QH-00000002YKt-0Kdy; Tue, 25 Jun 2024 11:33:17 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sM4Q9-00000002YIz-0ujl for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2024 11:33:10 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45PBX59L012299; Tue, 25 Jun 2024 06:33:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719315185; bh=kd6H54Mg61MKFK9NNB+xqFavtmR1yT+IlyPziynAQbk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WyGuHvT2McnEtQ1ODFoJLsaA3KirtT0/rNOPbCRYMVDxZF6cq+vo7NuTDvOuVs2Ok 5AuhldeTt4bIAkYKt2GLJFXKL7n8dmbcWulDrYSu5GWCTfdMKjlhlT0gl3cwBXUOvW i2CccmRffnmyCaUP/LDIhG2tQ3v5v2sa/42a2Njk= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45PBX5I3024563 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Jun 2024 06:33:05 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 25 Jun 2024 06:33:05 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE112.ent.ti.com (10.64.6.33) 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; Tue, 25 Jun 2024 06:33:05 -0500 Received: from localhost (jayesh-hp-probook-440-g8-notebook-pc.dhcp.ti.com [172.24.227.248]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45PBX4w9099546; Tue, 25 Jun 2024 06:33:04 -0500 From: Jayesh Choudhary To: , , , , CC: , , , , , , Subject: [PATCH v3 1/2] arm64: dts: ti: k3-j722s-main: Add audio_refclk node Date: Tue, 25 Jun 2024 17:03:00 +0530 Message-ID: <20240625113301.217369-2-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240625113301.217369-1-j-choudhary@ti.com> References: <20240625113301.217369-1-j-choudhary@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240625_043309_330348_00A30E1E X-CRM114-Status: GOOD ( 10.38 ) 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 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 --- arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi index 228c6c89245c..a6b7817d35bc 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -163,6 +163,15 @@ serdes_ln_ctrl: mux-controller@4080 { 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 {