From patchwork Thu Sep 28 09:24:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 146188 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3405745vqu; Thu, 28 Sep 2023 08:42:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRq+aJJ0FAH+iVcsgR7bN4/zX3r8DrsFOenwqT+14LcWL3o06WbJ9sQV8qDrMTSLq1PhGN X-Received: by 2002:a05:6808:6181:b0:3ac:aae1:6d64 with SMTP id dn1-20020a056808618100b003acaae16d64mr1474026oib.2.1695915752129; Thu, 28 Sep 2023 08:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695915752; cv=none; d=google.com; s=arc-20160816; b=HFVSix2YYy2jq/CIHcftKEmTv/NXxqdmoG9qu4vVwQ6Db8sT40aGv7CP9bgIUYVwJR 9qXmpTgdKyn0AeFBMIB/SMsxGWhDFgT9jGiYS+M3fOyv0bmQNsiwD1TCu3ZYwnL1kBi8 r0gpPC8HzuZBzkAHYIDr4SHXjsUpCLERWZIRfhPuMwTttR9GDpBjrBUir4/fRDGC9cBI TP7EXfkktCULnLjUxbs7J7e7Oo0Wz657zYCsQDSHIXqY341VtnSjojSWd7mnlQDjc7tv vh7llDLZ25f6oxN8tFNeN+8f/QLffYoXyKIvGanTxhT7Fl74WigNSyBgMrUGAXUah848 cB5A== 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=cFkyKOp2Yc42Qqd+zS9aTZ6d/XcT/w4tb6ZB713Nki4xoSnWXATyeabqEvQFWhqiIe vKLErnj18f72lK2RCLhe2f8Ld6SvmSfBMgcBtu+FMo8kJDMNhZAE5tdUCQER+HbAcT6j i00x7jEEi+Qy5CUKbDnXox+ZkWjwOVG+OmP1Xjkz/eOmBb3A3/5647hDWGanfzyke1DS z7W6lhOSpwJjPul/4c6ceLgGulp9buTzcbRF4ktA5a63uD3oru5JF0MWmhwV5oNE9V3b VE7i9O+h/Bx8WpVLDpx6MJOdq68cp/XyO+FGFRjXJ3JBYIdR1+ro8eBAAtW5atGYLTSK Tl1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H0cHi6eP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id dw17-20020a056a00369100b0068fcae723easi18518837pfb.368.2023.09.28.08.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H0cHi6eP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 5C6E38227792; Thu, 28 Sep 2023 02:26:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231749AbjI1J0A (ORCPT + 21 others); Thu, 28 Sep 2023 05:26:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231828AbjI1JZX (ORCPT ); Thu, 28 Sep 2023 05:25:23 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BD27CF9; Thu, 28 Sep 2023 02:25:18 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P3fd069043; Thu, 28 Sep 2023 04:25:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893103; bh=P9o4tq79uA35dbYJVQYuXuuWplStgOw/NJTItLt8iuk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=H0cHi6ePX9OIo9v4qddocyrXGHv0MMp8MFMueJvJY5wqOdRCx5rqnauhcJDdkYeCX 1Kx2mL4qAXqgW3v9OtIxDo7YTjTWiN06SuvTTUxwkfOjtm/NSxLQCO+Rs+ve84APEn l+A7yhOC646SU+IrLBPTzLb/pv5BviP2ouvfyCZg= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9P3DD013012 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:03 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 04:25:03 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) 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; Thu, 28 Sep 2023 04:25:02 -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 38S9P1pY090139; Thu, 28 Sep 2023 04:25:02 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:26 +0530 Subject: [PATCH v2 1/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-1-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@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/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZhnLmWY1gkdjpYkGupilQzHrolEFlysUCQb 8/fHYwcHOuJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGYQAKCRBD3pH5JJpx RXAtD/9zAhbKwGEn+nq21jbBkrSD3LKHFqKhjLZVcFOU7QaA/d0y1BdjJSzZzu4fIZg5J1RAga4 Rvfw4GSJ2FVzBZR7M+KDLoNdhECiAxSUKolXt6hKGtv7ql8lfVCfXqdvS20kpiby/LerHhX5cyp j1tbUXy/zt01CqbYK8hH6VHgh16WC8rwFURpWA8TlGLExamfH+TgQA4iCsaJ+suHbZQbhg73ENe sfMjeJf1fJDsM7tS8qtCYtJkEhrhYNL+cWQ/H7BT0tOJ9TKLy2EhI5djOvARj71LIpZ3ps5nRGj /tvwUaVcRljWiA2pRCSu1xZ4nfy4cTh96CfcNMy0P6HqFqcZvY1JJfxHsvh68fdNjntyqtwG6Xg cjG7hHlqBZWoMg1aUi/0mg8UA4bW5bn5hlKnw+n6hpIc49wHPAnSvLMh1ywuEygibEcqdsUBO2E syomPS8Yq0FiwoNkDv9WoWx6f/l04Wda/EA1p7wZdJ94xX4oBY25rQ0Kxb6qM/Pxo2ip/yITrsr f8O06KDjWLO73YUzXTSIG39DpcXEOXTLkGB1uFV+8Ld6G/aVZpczxG/xlNMlm4cZrflouKOBqe9 SzKvOSRohGcSAlHhZROP2RNGtttoK5mZSzZMNdn1ZDrEloP5XbDeoiQURuhDAUP5K+klgAJ2cjj ZriXtYHE83a2OAw== 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 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778296555971545182 X-GMAIL-MSGID: 1778296555971545182 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"; + }; };