From patchwork Mon Jul 31 12:44:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13334563 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 A9DFCC001DF for ; Mon, 31 Jul 2023 12:46:03 +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=kogVxkb6M93++nNgs3o8C8HDK3fPJVDKFRu9TKg30rg=; b=j2572n6yEeAy6+ gQcOlzDUKUmcn2M7TTW4q0EsHCGjX0k8wI/eajJs4HZFCyskglW6p/adZo4itl+7kDNPNGo22mjTO 7MNYVOz3nZjqh2eB0awG3RFdJ3tclqO0mGuYBuEhXC4pEqGnwV36M5jLrnrKk8i76UI9Uv8/DTsiq ECZlcoUT35ZuXhgeqJPK78hEgJ4HM3wWlfpYdYe0l3HH/Y9qKioy6ApJ4unhfxqFOP5M3bQmNBjJZ LBcqpdp36VjWksV6mSh7tJ+gSJI5aSh7QiJd37oHpMsPh+oUjaTToc7esG1jopkgPHN5xsfoSL3kz b/ML18BQJSUMmb5GVjyQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qQSHI-00Fbk6-2s; Mon, 31 Jul 2023 12:45:36 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qQSH5-00Fbf3-2H for linux-arm-kernel@lists.infradead.org; Mon, 31 Jul 2023 12:45:26 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjEOi052726; Mon, 31 Jul 2023 07:45:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1690807514; bh=rFKxR4kiZsVXfWxPWYirF1uEHZrvGpRg31+yNWQjANs=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=X1dcp8UDxNsGKjzClZhqmh+B261cSGrdmjixojeLWu6PNJO6BL+e+ydi/3m3Q6PZx Hwb1CmtYOP6Xjb8fS/5wMaALO341+m0D3fQTVyAqUJmmGD/ER2RLYBudarL23zQ8xB UKqvmXGUmMAG+W/qvvhMA/t1z0UC22VPkyjxPGW4= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 36VCjEx8021140 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 31 Jul 2023 07:45:14 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 31 Jul 2023 07:45:14 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE114.ent.ti.com (157.170.170.25) 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; Mon, 31 Jul 2023 07:45:14 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 36VCjDPL053737; Mon, 31 Jul 2023 07:45:13 -0500 From: Jai Luthra Date: Mon, 31 Jul 2023 18:14:38 +0530 Subject: [PATCH 1/5] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230731-mcasp_am62a-v1-1-8bd137ffa8f1@ti.com> References: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> In-Reply-To: <20230731-mcasp_am62a-v1-0-8bd137ffa8f1@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , Jai Luthra , Jayesh Choudhary X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2667; i=j-luthra@ti.com; h=from:subject:message-id; bh=OkQTiDuqGhIce7iYRKp2/z8wgqCBU984hPUcGGuIhW8=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkx6zW9GI6KUCKNKPhUfTQAQDV/qhscucteMhkD 3pWSofqh9iJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZMes1gAKCRBD3pH5JJpx RebbD/sE9tnA1zQXexQPjH7L7J6YUk/37eZVlVgiioxUEWxA05QHxe1eK/U2y3bXvdDHhURC5ob OpTVzaLHFAJ+EKY2+N0Jv8RDcyUiI9Qrsz4oCTtcC8Mql3bNIamfmIn9x4RWs6ZzSvHW8r1iRSE /kqft0tsdZAhyoCVoLGv+dU/9xkMsZOudhQNDN4AGgx2aOhGCtURonh5jN2NNGKAsRloN1U0pKb fauXyxLRuEKASrfmU0FYcSMSfHHItEl8ePnYnO2Ij7YuUlrGlDnVD18sVDi6qOApy6sE0r8uvH2 RW6tgV+QchQkpW2FSOqLuAAmgsglfU+erfeHIX5sRCoz9mEoH2AYAIf5lhP+XWLvUGC69kCfmij jUXBv1ofRyDWOZqi6TXBh63v7fZ2IYrT3keIMHp09WaSd5AU4KXYTJTEfAEwf/pHO4Xl0tOf8zB a+CCbr1Cm/VuDuwuWbHXFzlQXr2ltGThpCwnmq3gknQhjwq2yAJtS13828v/sBxm8QZrOF7Zpil 6QPNrQ3VabL8Iw/b9jB7QIpnlThx+MY36PtiiWSjQTascvfBovdrgu4Ko5osD4d5h6GHREYaxvt UCiSsRc1tRTR/rJw5iObaqVXthfInTi3/0UpwSFw0tw9UM8T4RO0xENmVG39OCdFy4KSmOS+xCY Qn5YgSF+OBkyb9g== 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-20230731_054523_841773_7B03D2F0 X-CRM114-Status: GOOD ( 10.41 ) 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 Reviewed-by: Devarsh Thakkar --- 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 8397cb80f559..e4ced2cc790b 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -816,4 +816,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"; + }; };