From patchwork Mon Mar 13 14:49:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 68883 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1230594wrd; Mon, 13 Mar 2023 07:52:39 -0700 (PDT) X-Google-Smtp-Source: AK7set8Jj4z6dL6niDzqXkSJyJhWfJzDhqn5hW9pUEUwbAi+BSBVo+rFdS5SatLWsOY+kBO20Wha X-Received: by 2002:a17:902:c407:b0:19e:7490:c93e with SMTP id k7-20020a170902c40700b0019e7490c93emr46845241plk.63.1678719159141; Mon, 13 Mar 2023 07:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678719159; cv=none; d=google.com; s=arc-20160816; b=fiDQ3fhv9OVZpw53UPW2NGHqfPz8d9ei60/8CR7dzK/XISvES8OU6O4Bmhx1Z2cwj0 PobqmBMBXq3ftQb75w3TI7560DQzi9qDysYUo0q3RZwwgh2nutMbYQAfhXFm6MEhsmzE ZEEKgwr7j6Y3vS65ocVB00TgJ4aGtgWhVvvP3jkbzctT7L823D2LC1dxw7tNA4MwmxMo nQnPOqit6bhT1++yvk9de8hdNRmAZshqmQznvvoInnqyRuRMrqcrJPfx4/PgqlRlgkeD WKARlDeUz5hEiy88I9ypvmbnp2ZvgUSe+ya3DRH4N/TiYif/HurjzmkMYqeYuYFQYXaz x3XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jgN5ONbG040NbFS8/BZLIr5Dl3xsg65QWBAIodV5mi0=; b=m/mDbeZbB/k6K4cc4vU/j0FBdV6SrYJ7O896pccOTVq+HMWVUMTqteZHCqfmPLO89d wpDI2BhDXvNM4aQfvs3Wxba/QB5o4dusa7Il9tfWcpeVMda7VOyJOI1UCopI2AJo604L PZCwJRWsJtiLV2MDd1Y14M3lb48l5uyUHBWr45uedXxE5a5Wo1d+PfLB88UBVEjOIRne FVbKLQqLlV9Cx+GV3wKktSpm1ZLTShdjMWaKJ5BxS/GNl/+wfYIdeSGnLGeyTkIbdBXW 782rHq79jLQ3zHdMW9nXg/mM35bMSpNd/tVBESvFrLaq4+oA0O0Q5l4l4kGizpFaR7X+ 9XbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DKjLu8zZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x16-20020a17090a789000b002340f45c0ffsi6372311pjk.90.2023.03.13.07.52.24; Mon, 13 Mar 2023 07:52:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=DKjLu8zZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231687AbjCMOvP (ORCPT + 99 others); Mon, 13 Mar 2023 10:51:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231629AbjCMOuw (ORCPT ); Mon, 13 Mar 2023 10:50:52 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FDB51C7EE; Mon, 13 Mar 2023 07:50:12 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32DEniPx044517; Mon, 13 Mar 2023 09:49:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678718984; bh=jgN5ONbG040NbFS8/BZLIr5Dl3xsg65QWBAIodV5mi0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=DKjLu8zZXsNznrTX2p9z66+gvQvgtBXHnLJcTdm5W8StCp4u8wlQI8C/c8/B35z3e q9nNdrWYJRwhGIXgL2UhiZNc30YXkCzmoC9F4toj5tolomU1H+e9YYc05RuhVQQiaS Fp6HMpbsH2FmSnk3n/SjJXd0WpaU1JJmSsmKSsRs= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32DEniOD012183 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Mar 2023 09:49:44 -0500 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Mon, 13 Mar 2023 09:49:44 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) 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.16 via Frontend Transport; Mon, 13 Mar 2023 09:49:44 -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 32DEnhHI122973; Mon, 13 Mar 2023 09:49:43 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Brown CC: , , , Jai Luthra Subject: [PATCH v5 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP Date: Mon, 13 Mar 2023 20:19:33 +0530 Message-ID: <20230313-mcasp_upstream-v5-4-d6844707aa8a@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313-mcasp_upstream-v5-0-d6844707aa8a@ti.com> References: <20230313-mcasp_upstream-v5-0-d6844707aa8a@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2567; i=j-luthra@ti.com; h=from:subject:message-id; bh=AHQ+upU3Yvs9g6FKaLLd7vmmT7/6vuQDLA/v3ncpTGQ=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkDzbVbzQbVvMZD9JUmjwBhNW2nbRgUnURSzQxv dL7cD3j5qaJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZA821QAKCRBD3pH5JJpx Rc7VD/9LobVaU8dgCCukxbi9zQlOb/HtPcyT39YVoCHhJxU4YKqM93eQdpx+bA4AZ5A7ONrT7BR jYheJkXjjAVBD/OFqY1dKEW6ZdAZYNj1AXE5rFLExX+v6TqyOhGw2Zcae6PpqBaZfdhWuB6Ecz5 CJ7W67vq7U6KTdfr6Mpkfr2mrMr1+BqGB2vqCpeyL0S3zaOpYCRGdWc6PGhbXxZjwUthrznxKrf xXTuswuPeOqd+G3GKfnxB7lhny4lkZ9ORqi6UZVbSvJFZblZFq2IUq1Rq047Ok5q3/GzNnS8mjG +58h3niWr/qVv+PWKFSDI3g0e+ut7AO/qrieeC36s4psh1dWLmuxZW8YMTSQFgR7Z+gT2zGRiH2 k1d7RswfzaEByWzb3TrJUHxFLLPElomC5wTczZPaICfMmOyhG4Dkt50Yo36UxAMP73JsBRdXopn eT67UkVoIBVgn+Z7jXb5SD//7ttvRdQF4KCCl9TR8PemKKUqNPOJY8zpI9KumwZ1J3E3bADin8F zDUXJ4vRvrjtY2tMDmn/FRt3lBF/c9zS02ZU8UGE4bZ8a0rt1ADIcRJFvhhMmVpaXfX5GC4I+p/ DseLiqeigSMtTj7O2UMGT2WOwosOpyFBzLq5+ElbiZlGcX0d4voa+apx6kgWI75H6NqoydSxwl+ Nrd30zr1H9cyZKA== 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=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760264620972036530?= X-GMAIL-MSGID: =?utf-8?q?1760264620972036530?= 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..7b20c07fab77 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: mcasp@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: mcasp@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: mcasp@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"; + }; };