Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp399824rwl; Wed, 29 Mar 2023 03:39:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Ysiwa1wYRuXXcj15JeSdLQdjyOIH/nSiP6D5D1meVApIXqFJJ2uXOLU8VygvejCamCqeRI X-Received: by 2002:a17:907:3e21:b0:8b1:2bde:5c70 with SMTP id hp33-20020a1709073e2100b008b12bde5c70mr24021786ejc.2.1680086380075; Wed, 29 Mar 2023 03:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680086380; cv=none; d=google.com; s=arc-20160816; b=EDsPn+Trc0LIKmzAbZYGdPdKJwW9o3GaMh9+txW/TuwiFLn9t5HzFR7I+9zjaQb+FK dd0zM6qVnce0bpndjxFi84d/pZP9wAQ+ZCFPsPphCZ2BGJSuP1HMl2vEMaPQsAF54sUi zYtDPYnG3ShWV+UCr147rqDWeOeUBm6WmuynQOnqr4bov1P7T1V0DVqGRmSc1202NqZY 0tXNQqLl0f9/43Dfo6Bt7XyY6XvBzQKlabK01kAKk9QQITErRpWdvCZA+D3z2TEe/KPU IPd10LfAEupkK72T0eqfaHiUXfflU55tsV7VeQurtYxzUp/HckC3tcniIZB1c17i5UHH xBzA== 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=WgccvDFFEacwnDagAanF5aPo/N4fqk1LpOrjJ7vNoIBjc7FXRgVEYHAhTxc4EMgEFM 3Gmvx4KSc9gL8NHNg0vbO3Nm+PZco8ZjN5R4oufO9BxFLrYAL1odonpMjfEIA4EPfMkf 4rnRN9kM39w+6Vtnj5ysJEHs+RkX2rcDcO0f/bO/NpfklNYHyS1PPuLgzrdwuRAYtzEP 8LRNYWC6Vqsyebh0G1xQQLaHgEHpak2l/al7CuyivzX8aQTvcu7dO4SvaEqLz7v+V2D4 XRmygq64/zDdlkuF7g/VrUSJPC/lsngS3BC5aUB7ThgcMpYehA8A9gB8CAn2iRjTpuNr Iovw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=tKajyBBd; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f17-20020a170906825100b00934d983a240si24773112ejx.280.2023.03.29.03.39.15; Wed, 29 Mar 2023 03:39:40 -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=tKajyBBd; 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 S231550AbjC2Kbm (ORCPT + 99 others); Wed, 29 Mar 2023 06:31:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229697AbjC2Kbh (ORCPT ); Wed, 29 Mar 2023 06:31:37 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9031BFC; Wed, 29 Mar 2023 03:31:36 -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 32TAVSOH025109; Wed, 29 Mar 2023 05:31:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680085888; bh=kVU3fxPuN+E3YCIbaYl85jZLwsmV6nxyeKf/SyfMpTk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=tKajyBBd+056wlQu6Mas+DSuJQe0C5y3OvbIfrA6Gz02bWhgr3b9w/8YDRLeVAvHF eIW4c6seQS9sgD3gu7Uk3E/AggfZLTbPgagCdsjnxkrTVXEn7vwTtgX8+rdIzhX+BA mVI1oPGmS5OSlbn8JynUu4b+da8hHTVegWwjzweo= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32TAVSc2082106 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Mar 2023 05:31:28 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 29 Mar 2023 05:31:27 -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.16 via Frontend Transport; Wed, 29 Mar 2023 05:31:27 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32TAVRVd062172; Wed, 29 Mar 2023 05:31:27 -0500 From: Jai Luthra Date: Wed, 29 Mar 2023 16:01:01 +0530 Subject: [PATCH v9 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20230313-mcasp_upstream-v9-4-6d937efe4ec4@ti.com> References: <20230313-mcasp_upstream-v9-0-6d937efe4ec4@ti.com> In-Reply-To: <20230313-mcasp_upstream-v9-0-6d937efe4ec4@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/ZANAwAIAUPekfkkmnFFAcsmYgBkJBN3HHisb3XrmaCR0nOX2QtAFJhbUQRqrD7cu d6iTbJtmRWJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZCQTdwAKCRBD3pH5JJpx RRRSEACCkd72n9Pahf3V8LjZbxBlt+h7G31S/UQQnEXTi33QE7kRSGs9dlzY5Yp2UySArtysuz8 ic62ldrCSqZp2Y7/M4C9EVkxDD0GIcnxzqN+EKiFSHioTZ1YVaakFVzdpdk0Eddrg6ncNqIiFRD 7iUUygfWF5PZN3Ow7xld1kcA9u/rH8kjIcsJOCVXN/8h7tbBNj9G9iXncutMg0ZUZ9QhhtKnz5f p/Efb7o+NBwoYgxyTlH8GKU69LxWNyFFjZgp1nUki9ntoydHdT+TWTEm6hx/m2x4GJYzYmEpqGF 3D6ubHB0kaNiaedbvAwis4Nwpqm9OkOie1en40u/rzIc5YsrOsKp1+vw9vqL52Aky3QvyIsdph8 xy5oflbaqMVeQqiZ0sh0eL5hQE0hZElELpPT2nYdUjOA5ZHNTW+Buhzr362g1zhULvwtznI6AJw P+9Hb3bAPdci2yZnrbe8td0UwuLV4Hs2HAPQYxtGbCEJvpex9Mdpjr+A6YjYon+aPiiVGiYOaEC E1JA8Pr5aYnribfeKEVgvPHVd4UKkUtmKl0u7ti7nQ6yJp+Ft6bJDd5mLEQN02IZXcemBNczpAx yWe4rcOy2lUBcvzcPCDJJtl9Xu4yKTCriHYEV/xSqGRsNXHT6FItUwR3EWkBXja6lFdXt1ZeZoB 84zZhS2lEYT8NuQ== 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 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"; + }; }; -- 2.40.0