From patchwork Tue Mar 28 13:29:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 76094 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2229938vqo; Tue, 28 Mar 2023 06:46:58 -0700 (PDT) X-Google-Smtp-Source: AK7set9Ea2h7NksVs/dO/aqSVJNbG1z78Puc+VOS0NyK3P0+byFMGqRyXdiI78sU1IgY4H4u4S6O X-Received: by 2002:a05:6a20:c10f:b0:d9:84d2:7a9f with SMTP id bh15-20020a056a20c10f00b000d984d27a9fmr14213713pzb.24.1680011218339; Tue, 28 Mar 2023 06:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680011218; cv=none; d=google.com; s=arc-20160816; b=A+L6EruHYVuJ/vMuiAd25vt9FwRnm2pZanHxg2+RuIhP9CBYMo98/OlattXilfMC6S u0i8ovaLXH3XpgBu+6l57D5q3fKis8UR9FiboTIIaf3U5+KB5AyLw9wreJEkY7hABXA3 tm42B8FL9IBFqonP+L/DX2CrH8klWvx9TUkGM7vCAbFmile7HCl8lblzAcFX1HYIeImF vQVOL96u9D22KhzcJK+rL4TzJ5kgjUvCYEO2N20nOw+MGck76gVjpcZTYq/H0Dl09xbN CxIVr/a7zF1dFPhCtIj+ICnjEKjQqFzxS07lLgT4bu5xlRin3UbDAauBvEZiDaTjMf0b UVdQ== 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=kVU3fxPuN+E3YCIbaYl85jZLwsmV6nxyeKf/SyfMpTk=; b=gw1GbtQ+VWeRZQ4RreyPCstARW/kXmIBX1v+Qp7l7rgazeyRL6fGrV9O6XW/wTGxEO oLXtIiUegff9hV4gU/OjbdeDEjtyV9Q+TnUreFNHzywOnIoSI79LiIKJI7NX8B/66Ua5 TAMu9IiET2B7/6jCmdcZWMFx+cUpLprQswnieCoK2jlVK/FDtaaATopHXzkS7Dt6yvHQ OALorjHBu+lEtpwPq0vnG47lb5J6bzeHuXIJogO3dzKa3P13L5a4IGCjElLR56QfdWKk 8jdt9hAdoWD7AYztvFi/w6kuAUeaIsJXpxB4PYkn9QuepPZfurPADPEnURAKDwSc6Wi4 +EGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="h/4GOfCE"; 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 u9-20020a056a00124900b005a9cb7d4781si17941735pfi.258.2023.03.28.06.46.45; Tue, 28 Mar 2023 06:46:58 -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="h/4GOfCE"; 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 S233187AbjC1NaL (ORCPT + 99 others); Tue, 28 Mar 2023 09:30:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233162AbjC1N3u (ORCPT ); Tue, 28 Mar 2023 09:29:50 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EFDAA5FA; Tue, 28 Mar 2023 06:29:48 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32SDTbHY005664; Tue, 28 Mar 2023 08:29:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680010177; bh=kVU3fxPuN+E3YCIbaYl85jZLwsmV6nxyeKf/SyfMpTk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=h/4GOfCEMADPPKJnVzfdMB7xZWesZot0qUsFban3pJ13gPVFPOt/MKmnk0jppCVc+ DN7DM9CDSeAm92IOZ5I4f4OGmkS2ANNuWzON5YglGrnCfhStIn8izZj5c3/W6F5yNH oGENRHHyI0DdZtx0e9t/s8nYxVA0IJuOE6EhMQFw= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32SDTbYA113910 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 28 Mar 2023 08:29:37 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 28 Mar 2023 08:29:36 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE104.ent.ti.com (10.64.6.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; Tue, 28 Mar 2023 08:29:36 -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 32SDTZxD122345; Tue, 28 Mar 2023 08:29:36 -0500 From: Jai Luthra Date: Tue, 28 Mar 2023 18:59:22 +0530 Subject: [PATCH v8 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230313-mcasp_upstream-v8-4-4408134eb2f3@ti.com> References: <20230313-mcasp_upstream-v8-0-4408134eb2f3@ti.com> In-Reply-To: <20230313-mcasp_upstream-v8-0-4408134eb2f3@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/ZANAwAIAUPekfkkmnFFAcsmYgBkIuu4FZwNzu/Xl8V1VV6/puk7SB4hinnK7NtQv +UY4nGm0uaJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZCLruAAKCRBD3pH5JJpx RUcuD/9PPXlYjU4x3rfNseJ+1KSdk6Wz7acnKxj5M4hbM8CuuJDprWcCBbuS1L78uvjrIQT22BJ cee1io2ZK9CYn22+P1fG9cStQ9oqdR6prwzvlWFMSKZttXfE5c3PqH+mDVg7KRYXIqOzDB7w3CD rbsIt0dKMMLQAQ5fh3+DQOkMzLg5k2kHg2d/wYJJeSWp0DYpBFArzFiw4mYZEPzNcyt1xJ0z706 RuI7FCZhlvmMS3i2e3dWhE0WDJKjnnHGPox9oSyTBQWCeAOPs6kJAz0VqO7DzDx3NmD56/Xnt1N TNYBFpflVdtZvSYSkaSOfqB6I91FUX0LosYR0zZAOTdbzbxl3eTP/1i7aUy1Xd4632IUQ3Ld8+y b8H2Yf5ZqfgPIrSUcbMmwIb94rKuju0RRCzvUN4syR2BG2I8knB95sGoRThhJLb4m14iR5MCzhA Q6NyOgAzBHSCS1mAu31He93G94e3gNJlLXfnBTE7pgBb7+EioFtVqlDExz7NRY4KfKVVffL+EoD LIXDkWEKf6RWjnalhXbOl3qZ329tE7IeZhBWCTelMytAt1h1rvgYifSwPOffaWXUXihF/ERooJ5 J6vNcDDpGgNtfzmnz+nGJyUd+aQIgHTgBEaxnUudVMQ8zcIJt+3KgqJbPD/0zLr6c+hpyt6iWVi u79LtkNkAUg35rQ== 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.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=unavailable 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?1761619443043502908?= X-GMAIL-MSGID: =?utf-8?q?1761619443043502908?= 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"; + }; };