From patchwork Wed Jun 19 09:52:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13703586 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 B80B0C27C53 for ; Wed, 19 Jun 2024 09:53:16 +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=zd7O+fP0Ooz7IpvvUv/JMgQVOWIJh4bPjekEX4ZqlGo=; b=ZHRzT8F97b1jnYVIOWutN1QgxR t8hJGTUe8ejWd/XuyTq4AFpXYUgo//WTKfLarAVJ2KJ5IqTjtm4bswyMQKCBJFLDiAMu5wT7YEZom QhfUQ+siYBVOranENShgYhNydY07RNPMw/TawEH2pUFd0bedtJsJP87MIJRhJM+pbm2GQma9JYfqG QgmpamHSEDXW/O5vDBRBIQmJWfOb9rOYTf8LpvjA7W8wM065Ym3xCTfXo50VmMv/qVniitETNf3K1 zutjwNhJNEYUhtg4qn0g8PTo6DW6o409zsXGAMk+2pwdq3C12+b19AnAvNoesLmwH3Zi26zPWU+en dOz49T1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sJs01-00000000ejK-2h6O; Wed, 19 Jun 2024 09:53:05 +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 1sJrzx-00000000ehA-0JNm for linux-arm-kernel@lists.infradead.org; Wed, 19 Jun 2024 09:53:03 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45J9qvXm074995; Wed, 19 Jun 2024 04:52:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1718790777; bh=zd7O+fP0Ooz7IpvvUv/JMgQVOWIJh4bPjekEX4ZqlGo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WxzymvKBBGgfaxtbvwKjtj3ScIoDavqM5HoeqD2vpjzEcRbNCmcmBpcKJjQCAa0fu OGVmpKv9niAseavxdkKipHa6YfQHiVncsW32G70gGRcUuo0xQDGqo9/fsdqn+veCBM isxAQZD3EA1kwS2rzw9ZU0bY1qnCVRNGoh5/xDNA= Received: from DFLE106.ent.ti.com (dfle106.ent.ti.com [10.64.6.27]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45J9qv4Z066808 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 Jun 2024 04:52:57 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 19 Jun 2024 04:52:57 -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; Wed, 19 Jun 2024 04:52:57 -0500 Received: from localhost (jayesh-hp-probook-440-g8-notebook-pc.dhcp.ti.com [172.24.227.55]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 45J9quo2099672; Wed, 19 Jun 2024 04:52:57 -0500 From: Jayesh Choudhary To: , , , , CC: , , , , , , Subject: [PATCH 2/3] arm64: dts: ti: k3-j784s4-main: Add audio_refclk node Date: Wed, 19 Jun 2024 15:22:52 +0530 Message-ID: <20240619095253.290552-3-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240619095253.290552-1-j-choudhary@ti.com> References: <20240619095253.290552-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-20240619_025301_206995_DF4AF5AB X-CRM114-Status: GOOD ( 10.47 ) 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 96085dc7bc18..4ea7d89ca4a8 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi @@ -115,6 +115,15 @@ usb_serdes_mux: mux-controller@4000 { #mux-control-cells = <1>; mux-reg-masks = <0x0 0x8000000>; /* USB0 to SERDES0 lane 3 mux */ }; + + 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>; + }; }; gic500: interrupt-controller@1800000 {