From patchwork Wed Jun 26 10:16:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jayesh Choudhary X-Patchwork-Id: 13712559 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 1A419C27C4F for ; Wed, 26 Jun 2024 10:17: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:Content-Type: Content-Transfer-Encoding:MIME-Version: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:In-Reply-To:References:List-Owner; bh=YJXho8AVdwhK5yCk/v+SUMui3th4HKFl1eVnAGhcQIY=; b=GhTAMWpG1xHdnV9etPHtLRQEJR p6RObU3RpN5yD9Rb7kT/aYZKRsGCs5hasYYB3JS/I3x6EN/jxipgAr+DYmDAGQinAccGBGQYvsqQT cGrQL+EE9w2mx5ijOGWNiucgc7Tb2FBxJKzVIZhnJHBRQvnBq+9UvK/70mx4svRE6AGKakFUKPdJI ulrzxihB82/ZzSm8M6CZ0Hl0KNY6GU3czgTPRw0zEMk7+xYZIHnyZNoVYcWCsL2F8TdRhZQq71ej2 ouhuuCiYQFFlSnLLI1MY+uuEO+Pl0Xu/7wTdx87IxDfxH1F0HoAZsY+6p2z6fOds6nk1n6xBTItqr dLSFLi3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPi4-00000006Hkz-1Iii; Wed, 26 Jun 2024 10:17:04 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMPhq-00000006HfP-3Pzd for linux-arm-kernel@lists.infradead.org; Wed, 26 Jun 2024 10:16:52 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 45QAGl7B102197; Wed, 26 Jun 2024 05:16:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1719397007; bh=YJXho8AVdwhK5yCk/v+SUMui3th4HKFl1eVnAGhcQIY=; h=From:To:CC:Subject:Date; b=CP/yWKeOX3FpA53wXfxjYyqGX5pTFAj2vTnzypoMZW4b+c19vYOt9nDJ3MlKgmrNx JiiQe3FcuAADBoDpCvdKs/FTA/d9daPEnvloIJRdqv2wIu2dMoftM5UJh+UrOuxVb1 KClfGxl3U+OgQOxr+6wyAmnpFjEW6DVo2YT86FLQ= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 45QAGlTY003512 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Jun 2024 05:16:47 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) 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:46 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE100.ent.ti.com (157.170.170.30) 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:46 -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 45QAGkWC094542; Wed, 26 Jun 2024 05:16:46 -0500 From: Jayesh Choudhary To: , , , , CC: , , , , , , Subject: [PATCH v2 0/3] Enable audio for J784S4-EVM platform Date: Wed, 26 Jun 2024 15:46:42 +0530 Message-ID: <20240626101645.36764-1-j-choudhary@ti.com> X-Mailer: git-send-email 2.25.1 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_031650_976828_B382D46A X-CRM114-Status: GOOD ( 10.51 ) 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 Hello All, These three patches enable audio on J784S4-EVM platform. - First patch adds the McASP nodes. - Second patch adds the audio_refclk1 node that is required to configure the CTRL_MMR register for the external clock - Third patch enables the analog audio For audio to work, the ti-dm firmware that should be picked for uboot is now publically available and will be shortly merged to the ti-linux-firmware branch: For testing, ~/.asoundrc file was created in root partition which can be seen in the test logs: Changelog v1->v2: - Rebase on tag next-20240624 - Add padding in mcasp reg property - Add assigned-clock and assigned-clock-parents property for mcasp for more accurate description - Change mcasp pinmux node name similar to other nodes - Fix typo in k3_clk node and remove unnecessary comments for refclk1 v1 patch: Jayesh Choudhary (3): arm64: dts: ti: k3-j784s4-main: Add McASP nodes arm64: dts: ti: k3-j784s4-main: Add audio_refclk node arm64: dts: ti: k3-j784s4-evm: Enable analog audio support arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 111 +++++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi | 99 ++++++++++++++++++ 2 files changed, 210 insertions(+)