From patchwork Tue Oct 3 09:11:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 147768 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1953029vqb; Tue, 3 Oct 2023 02:12:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVgAUnbzYrPyVs5Kx+qw0mj1A7MR562hjQSLAktLpq99m7O6lTnYEKR6CTkoU701oEoS5W X-Received: by 2002:a05:6a00:2d01:b0:690:2ecd:a599 with SMTP id fa1-20020a056a002d0100b006902ecda599mr13139510pfb.21.1696324347673; Tue, 03 Oct 2023 02:12:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696324347; cv=none; d=google.com; s=arc-20160816; b=ywKFzvZvJ8xuxB/FlsvLI9tLrQ9BOlQScIGkrFqRWYFidO5nbwf6cWW1oQA14U65Jw Y4eWX+st9HNXpBba8hPx2aYfH/we/Fwhg/5128eCAOM8B0D75BVyYsEVigm8ZTT9FXPf niwl3NExrmZIGvmHnPo+HqHtjnU1T5vMHVZwdfZsAM5sLpCypQqABJuszWGrXE7vsNEJ MtqYWjKtnLbzQhilBkkQeFnfy5NXGnTJn7LzRCJG2pJku4BjeJLRt1sB3wMWkN8XYIxi 4MtlopH+afDrSB2ixbxZaNrO3TIwFTjROokB4dbpUy+vPzwDUnh56Q26+qtUouKK1m0Q mRtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=P9o4tq79uA35dbYJVQYuXuuWplStgOw/NJTItLt8iuk=; fh=tLhAGTttXh18u18d6UOsWdUMeB3VfA1IORyQttQE6rQ=; b=WkHlja3mGjepcswdSCFBvdGUFTdVReariLH/jEYLzIRDs/nT+tHmZJsJlr3wbZ+1Fs vNfkB4h/TgGuNOkMLq5a3LcLkHSeyTVED/pqYEGzczo+6Pn115aKGUwZa0Ep9vBzyGct rPqMcIVzX7Vs9p+VXlIU80sGTJo+jMrpVZ3lG5ZHc/4q4NKas2l4EloRDLwyylRkAn/X Mn89G3o12g7SrJ/nZsIdGNJkdY0WjpqqEgOsnxvvJVfqOnLLQu+NZcZH9KLJf8Ht2XMh asaHTSHAbMOnTGgYp5iD0JlXIU9OpTjM/BcE8fRLjcKbm7UZsgbUeiiJJUK/LtArbfGT ko9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zNieLKps; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w18-20020a056a0014d200b0069024c6a9a8si1061050pfu.389.2023.10.03.02.12.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 02:12:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=zNieLKps; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A0CB5815A1F1; Tue, 3 Oct 2023 02:12:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239513AbjJCJMM (ORCPT + 18 others); Tue, 3 Oct 2023 05:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231502AbjJCJMK (ORCPT ); Tue, 3 Oct 2023 05:12:10 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7485A9; Tue, 3 Oct 2023 02:12:06 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3939Bqeu036026; Tue, 3 Oct 2023 04:11:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1696324313; bh=P9o4tq79uA35dbYJVQYuXuuWplStgOw/NJTItLt8iuk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=zNieLKpsoPbJl98TGH50yK0uTxh2bOkMxmIdyaFO3SR84SC2Bd/8ZK5IAcftis5XX hBiJuJcd/JVcrLnC+0fwhi2avTep1vIGAEdxS64eKCOeQur8sbBeb7EJIunkjpAVgP z64BCAmkQkNrvrfhsBYqHskyRJoOJ2HV3ZYbREuA= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3939Bq4w000799 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 3 Oct 2023 04:11:52 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 3 Oct 2023 04:11:52 -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.23 via Frontend Transport; Tue, 3 Oct 2023 04:11:52 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3939BpSY019173; Tue, 3 Oct 2023 04:11:52 -0500 From: Jai Luthra Date: Tue, 3 Oct 2023 14:41:30 +0530 Subject: [PATCH v3 1/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20231003-mcasp_am62a-v3-1-2b631ff319ca@ti.com> References: <20231003-mcasp_am62a-v3-0-2b631ff319ca@ti.com> In-Reply-To: <20231003-mcasp_am62a-v3-0-2b631ff319ca@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=2715; i=j-luthra@ti.com; h=from:subject:message-id; bh=W0CFJHzCWlZGY7NHNntLX4dpZnlqu3OOkzLG1IBCpRA=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlG9rOd1ykTnAyNFVqC+Qii7y/QOOzUgaC545hC P9KHUhzH3KJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRvazgAKCRBD3pH5JJpx RX/sEADOwTJqn4VvUuXEnYg3pvYeg8Gw79vl0OYyGqb8LK14d19pdm/bbGQwW8JnOK+a+as1T3R /fUSpJSuJVBXNmM1XP+9ZLGS2s/BqNDZpw4RdJcrfceUcr6J/wyrHsoYnZPoJu1LwP+qZMnWsyC lXHA+BmE6Z99DjAL8ewtV779+vwBcWFgOyeNxFpFsUJQ2/QteBe0g2uALVukeM9wcu4vD0Vj2DZ ZGtMHE7Pryp8saOBWquuDKgNRVwNYkKRu6vCVlqsdSEndignmzpCO7nX+gwdsjAimIpxCo1/ec8 rLGboheFxS3v0q3GRzTzzwg7KopemTDm8U0lOqEn5zFC5heTXwR2w8f9UBB77Ejw/pTU8Emiyqs bC3PfZYy5eIOCDB3v6nhy3HWk7zEwXd+O3C9Gxvo+2tHfibNj7WeALr4yn0zCtF3fBW9E7BbnPv 2DKDYcur4wycC0q4V3VLya4XV7MH0Jnqu5ABbF6motXIR9sr5T125rGm0Au0d99MsUfK4BptGsd +C8VEPleUoZwjYZUczbrHXsqzZkxfLK4PXxa+4CqJJiAsqT0O2l1STCYUw7toKwVlwuM+o0kT0+ WkQDTD59IoebaQz1qfoKGRDhc/al+svS8bn9hPwJUsUVseKOHvuFocovp5HI2DYc+bdXqcNX94v 9vxy3PdDywiql0Q== X-Developer-Key: i=j-luthra@ti.com; a=openpgp; fpr=4DE0D818E5D575E8D45AAFC543DE91F9249A7145 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 03 Oct 2023 02:12:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778724999000908594 X-GMAIL-MSGID: 1778724999000908594 Same as AM62, AM62A has three instances of McASP which can be used for transmitting or receiving digital audio in various formats. Reviewed-by: Jayesh Choudhary Reviewed-by: Devarsh Thakkar Signed-off-by: Jai Luthra --- 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 3198af08fb9f..4ae7fdc5221b 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"; + }; };