From patchwork Tue Mar 28 13:29:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13191069 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 E4B5BC6FD18 for ; Tue, 28 Mar 2023 13:31:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RJGrLRWA/2Fl2aMe80PC1DOnQLye8m2XFS5cipBLCMA=; b=yuJLkiCUc9f7rm 8n8TUrwwdpHd5+5kKRYRxnxZvjkmoOYDN7q9v+FjWPsu1Nd1Mj65T3fBhuTQ9T5b1L/oqLrEX3lqn soectczj/gT7zms8kCj2OTDqwcgifaCN8bRg09NyDk4VqaUVMrDgX8m6X17HSxkXZdm2tyUPWGzy6 VlCFhE13RBnYqbjM4WN1xUGm4ZUoD6p1pbZjaVd1zKe982TRug5jCJNq7mIVy8pN2jIEIIjHx4+TR 7Iyi7/HMpsQCxXNv7jRO4JzNX/5IEr+O+uxv3DjOSf5dcZqKAYKud3G9nEOmc8D+OEolhXeDgETiz p2lBEWzdgZXC5z3OM6/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ph9Ow-00EaJP-2F; Tue, 28 Mar 2023 13:30:14 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ph9OU-00Ea6K-0K for linux-arm-kernel@lists.infradead.org; Tue, 28 Mar 2023 13:29:47 +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 32SDTbHY005664; Tue, 28 Mar 2023 08:29:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680010177; bh=kVU3fxPuN+E3YCIbaYl85jZLwsmV6nxyeKf/SyfMpTk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=h/4GOfCEMADPPKJnVzfdMB7xZWesZot0qUsFban3pJ13gPVFPOt/MKmnk0jppCVc+ DN7DM9CDSeAm92IOZ5I4f4OGmkS2ANNuWzON5YglGrnCfhStIn8izZj5c3/W6F5yNH oGENRHHyI0DdZtx0e9t/s8nYxVA0IJuOE6EhMQFw= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32SDTbYA113910 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Mar 2023 08:29:37 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 28 Mar 2023 08:29:36 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 28 Mar 2023 08:29:36 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32SDTZxD122345; Tue, 28 Mar 2023 08:29:36 -0500 From: Jai Luthra Date: Tue, 28 Mar 2023 18:59:22 +0530 Subject: [PATCH v8 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230313-mcasp_upstream-v8-4-4408134eb2f3@ti.com> References: <20230313-mcasp_upstream-v8-0-4408134eb2f3@ti.com> In-Reply-To: <20230313-mcasp_upstream-v8-0-4408134eb2f3@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Catalin Marinas , Will Deacon , Rob Herring , Krzysztof Kozlowski CC: , , , Aradhya Bhatia , Devarsh Thakkar , Jayesh Choudhary , Andrew Davis , Jai Luthra X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2667; i=j-luthra@ti.com; h=from:subject:message-id; bh=R63VlF5mAlSgoaVYF/ip213cmqYqKxSlEFrCk2GElqQ=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkIuu4FZwNzu/Xl8V1VV6/puk7SB4hinnK7NtQv +UY4nGm0uaJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZCLruAAKCRBD3pH5JJpx RUcuD/9PPXlYjU4x3rfNseJ+1KSdk6Wz7acnKxj5M4hbM8CuuJDprWcCBbuS1L78uvjrIQT22BJ cee1io2ZK9CYn22+P1fG9cStQ9oqdR6prwzvlWFMSKZttXfE5c3PqH+mDVg7KRYXIqOzDB7w3CD rbsIt0dKMMLQAQ5fh3+DQOkMzLg5k2kHg2d/wYJJeSWp0DYpBFArzFiw4mYZEPzNcyt1xJ0z706 RuI7FCZhlvmMS3i2e3dWhE0WDJKjnnHGPox9oSyTBQWCeAOPs6kJAz0VqO7DzDx3NmD56/Xnt1N TNYBFpflVdtZvSYSkaSOfqB6I91FUX0LosYR0zZAOTdbzbxl3eTP/1i7aUy1Xd4632IUQ3Ld8+y b8H2Yf5ZqfgPIrSUcbMmwIb94rKuju0RRCzvUN4syR2BG2I8knB95sGoRThhJLb4m14iR5MCzhA Q6NyOgAzBHSCS1mAu31He93G94e3gNJlLXfnBTE7pgBb7+EioFtVqlDExz7NRY4KfKVVffL+EoD LIXDkWEKf6RWjnalhXbOl3qZ329tE7IeZhBWCTelMytAt1h1rvgYifSwPOffaWXUXihF/ERooJ5 J6vNcDDpGgNtfzmnz+nGJyUd+aQIgHTgBEaxnUudVMQ8zcIJt+3KgqJbPD/0zLr6c+hpyt6iWVi u79LtkNkAUg35rQ== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 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-20230328_062946_228857_BD272099 X-CRM114-Status: UNSURE ( 9.38 ) 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 Same as AM62, AM62A has three instances of McASP which can be used for transmitting or receiving digital audio in various formats. Signed-off-by: Jai Luthra Reviewed-by: Jayesh Choudhary --- arch/arm64/boot/dts/ti/k3-am62a-main.dtsi | 60 +++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi index 393a1a40b68b..50e4fcb1d678 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -660,4 +660,64 @@ ecap2: pwm@23120000 { clock-names = "fck"; status = "disabled"; }; + + mcasp0: audio-controller@2b00000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b00000 0x00 0x2000>, + <0x00 0x02b08000 0x00 0x400>; + reg-names = "mpu", "dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc500 0>, <&main_bcdma 0 0x4500 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 190 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 190 0>; + assigned-clock-parents = <&k3_clks 190 2>; + power-domains = <&k3_pds 190 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + + mcasp1: audio-controller@2b10000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b10000 0x00 0x2000>, + <0x00 0x02b18000 0x00 0x400>; + reg-names = "mpu", "dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc501 0>, <&main_bcdma 0 0x4501 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 191 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 191 0>; + assigned-clock-parents = <&k3_clks 191 2>; + power-domains = <&k3_pds 191 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; + + mcasp2: audio-controller@2b20000 { + compatible = "ti,am33xx-mcasp-audio"; + reg = <0x00 0x02b20000 0x00 0x2000>, + <0x00 0x02b28000 0x00 0x400>; + reg-names = "mpu", "dat"; + interrupts = , + ; + interrupt-names = "tx", "rx"; + + dmas = <&main_bcdma 0 0xc502 0>, <&main_bcdma 0 0x4502 0>; + dma-names = "tx", "rx"; + + clocks = <&k3_clks 192 0>; + clock-names = "fck"; + assigned-clocks = <&k3_clks 192 0>; + assigned-clock-parents = <&k3_clks 192 2>; + power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; + status = "disabled"; + }; };