From patchwork Wed Mar 29 10:31:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13192289 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 889CDC761A6 for ; Wed, 29 Mar 2023 10:32:44 +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=mNBf5cSxPthwy0 ZyVCOcoeLoGIxP12gFRYsROBW8YqrB5ItAlViWEb7Jbiu21+lnjUqfdpr0Bo3TuNF7U7mKi6XY6xY k5ywr2F1aOxAbK9Ww0lk42ASXU7SQS8/FxFxWSWncgo2O7tAAJ+59VBic2wsY0r+mOuz8hYGD4Tyl f1eHKkeOEgDsAo37rvRVC0sKqcRljbLs8IlgMLchfiPbXXmjj1JA7199mZb7UtArUrqvX5CatrVZ9 mANoncDnPKKZqTc1A/641ycww1HhlGv13AMaSTqTXOAy+QSzFHSHqfEVZdO0vxmIXoruiSXEVpjTF aECpIXiMYsBNUplaZjvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phT5t-00HSmR-27; Wed, 29 Mar 2023 10:31:53 +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 1phT5a-00HSek-1b for linux-arm-kernel@lists.infradead.org; Wed, 29 Mar 2023 10:31:35 +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 32TAVSOH025109; Wed, 29 Mar 2023 05:31:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680085888; bh=kVU3fxPuN+E3YCIbaYl85jZLwsmV6nxyeKf/SyfMpTk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=tKajyBBd+056wlQu6Mas+DSuJQe0C5y3OvbIfrA6Gz02bWhgr3b9w/8YDRLeVAvHF eIW4c6seQS9sgD3gu7Uk3E/AggfZLTbPgagCdsjnxkrTVXEn7vwTtgX8+rdIzhX+BA mVI1oPGmS5OSlbn8JynUu4b+da8hHTVegWwjzweo= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32TAVSc2082106 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Mar 2023 05:31:28 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 29 Mar 2023 05:31:27 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE110.ent.ti.com (10.64.6.31) 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; Wed, 29 Mar 2023 05:31:27 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32TAVRVd062172; Wed, 29 Mar 2023 05:31:27 -0500 From: Jai Luthra Date: Wed, 29 Mar 2023 16:01:01 +0530 Subject: [PATCH v9 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230313-mcasp_upstream-v9-4-6d937efe4ec4@ti.com> References: <20230313-mcasp_upstream-v9-0-6d937efe4ec4@ti.com> In-Reply-To: <20230313-mcasp_upstream-v9-0-6d937efe4ec4@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/ZANAwAIAUPekfkkmnFFAcsmYgBkJBN3HHisb3XrmaCR0nOX2QtAFJhbUQRqrD7cu d6iTbJtmRWJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZCQTdwAKCRBD3pH5JJpx RRRSEACCkd72n9Pahf3V8LjZbxBlt+h7G31S/UQQnEXTi33QE7kRSGs9dlzY5Yp2UySArtysuz8 ic62ldrCSqZp2Y7/M4C9EVkxDD0GIcnxzqN+EKiFSHioTZ1YVaakFVzdpdk0Eddrg6ncNqIiFRD 7iUUygfWF5PZN3Ow7xld1kcA9u/rH8kjIcsJOCVXN/8h7tbBNj9G9iXncutMg0ZUZ9QhhtKnz5f p/Efb7o+NBwoYgxyTlH8GKU69LxWNyFFjZgp1nUki9ntoydHdT+TWTEm6hx/m2x4GJYzYmEpqGF 3D6ubHB0kaNiaedbvAwis4Nwpqm9OkOie1en40u/rzIc5YsrOsKp1+vw9vqL52Aky3QvyIsdph8 xy5oflbaqMVeQqiZ0sh0eL5hQE0hZElELpPT2nYdUjOA5ZHNTW+Buhzr362g1zhULvwtznI6AJw P+9Hb3bAPdci2yZnrbe8td0UwuLV4Hs2HAPQYxtGbCEJvpex9Mdpjr+A6YjYon+aPiiVGiYOaEC E1JA8Pr5aYnribfeKEVgvPHVd4UKkUtmKl0u7ti7nQ6yJp+Ft6bJDd5mLEQN02IZXcemBNczpAx yWe4rcOy2lUBcvzcPCDJJtl9Xu4yKTCriHYEV/xSqGRsNXHT6FItUwR3EWkBXja6lFdXt1ZeZoB 84zZhS2lEYT8NuQ== 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-20230329_033134_613914_2F045D8F X-CRM114-Status: GOOD ( 10.13 ) 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"; + }; };