From patchwork Wed Jun 26 10:16:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13712560 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 0746DC30653 for ; Wed, 26 Jun 2024 10:17:30 +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=0cF2pKdprLckfiVqSJAJnSYhv9Psf/lX2svMNJQUwcM=; b=Mvy0x+LdJKgXtAt+aGsKr+nXGl EmiYj9enQjO1nj2tTwQs4S/9OWEcRCzZErngtD/00hf+DFFE8NibcQjhbv7quvGsgWPIJD5jkhjuO mx/xFuA6ryQ8AgDrU1jLGsJxASA6w2s2tRdK/wsvavElkDsvRPlQRxnYaQ7BQiheiBmktEcU4QjPD vjF4ljrEU1ACeFSTTcygvkkNSiv1akwFmnPgf44yxmRZr4qECNBslup+uWGA5vEsJguQplhKVKq0V SDjGynm7DFtVsWOwVJ/hOp7Ccj+vWA208gpQAKTCZtY8ClMo5ieXQs6iZXOs3+ljZIjkyh9R/v0ne /ryiUbwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPiH-00000006HoC-2htz; Wed, 26 Jun 2024 10:17:17 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPhs-00000006HgM-3tDu for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 10:16:54 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45QAGogo102915; Wed, 26 Jun 2024 05:16:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719397010; bh=0cF2pKdprLckfiVqSJAJnSYhv9Psf/lX2svMNJQUwcM=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=slmuzacbXNmJg1x4kkfQY4CHNOP8/nOwwiSyeTr6RNPxBv5m9/hTye4xpHye/KFQ3 yohN4j3MKW7VDwsDVKCsAOWVJCJV119ptEnOvGhEVEN5JR8X6C0NTj9neEFQrPPDRg HrfK3QOH6RZurS4V5vXwlO0zGcy/kN4khRi/Mr+o= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45QAGoRu128074 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Jun 2024 05:16:50 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 26 Jun 2024 05:16:49 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DFLE111.ent.ti.com (10.64.6.32) 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; Wed, 26 Jun 2024 05:16:49 -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 45QAGnod094595; Wed, 26 Jun 2024 05:16:49 -0500 From: Jayesh Choudhary To: , , , , CC: , , , , , , Subject: [PATCH v2 2/3] arm64: dts: ti: k3-j784s4-main: Add audio_refclk node Date: Wed, 26 Jun 2024 15:46:44 +0530 Message-ID: <20240626101645.36764-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240626101645.36764-1-j-choudhary@ti.com> References: <20240626101645.36764-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-20240626_031653_045762_2EC13105 X-CRM114-Status: UNSURE ( 9.67 ) X-CRM114-Notice: Please train this message. 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 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 --- arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi index 7e10be314684..f170f80f00c1 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -121,6 +121,15 @@ ehrpwm_tbclk: clock-controller@4140 { 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 {