From patchwork Wed Mar 15 09:03: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: 70082 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2222338wrd; Wed, 15 Mar 2023 02:20:58 -0700 (PDT) X-Google-Smtp-Source: AK7set9enKoUqaM2mUeUsB0nrhMi2x30wcolLtZea50NEISHRvPmH9qtIjjbETueJrXzxTk4HFrB X-Received: by 2002:a17:902:d50c:b0:1a0:7655:2155 with SMTP id b12-20020a170902d50c00b001a076552155mr2297894plg.25.1678872058244; Wed, 15 Mar 2023 02:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678872058; cv=none; d=google.com; s=arc-20160816; b=QQohFbJQd0HDtUArMK9ozPjTWFdOidUjunGhVtAwOocwp2Mi4d5G6nv4N1DjY1BSAO GGG+GcrLotFcbBsoOxyErV2jLEbneS65rNusE6YFOb8baDXARtHPehnVlJtkxHrqOl31 b71xho2w/kRweCuBQDQKnDMYlv2U+ugi5Tb3N0MvnFe2UZawWJQPZzhJMlHeVhTVHzQh SrWrycMOz6u61hEXT8x2Ha4szd8/TOEJ9Bd5NuwH3HpkFI6cnlYEym47xuoBwqdV0EiZ 8DKRpVSQ0eoFnIjqCKvWX2u0GSbpNpRK2Iie6bW953BPUo/+usvRFgHWLsViKa+NZY8L m0JA== 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=RH6IGOBKyWb5TL4T3BDnL6uqcLnQ3GKUukovClXK7+0=; b=e/+PDOfq+QXrHepQbcwAqyoLRO1/nWfW+GpHmbsyyeVaUF7/iNIo4WSQlwhAfBKU5i vN9jon5pqw1o6VoBPSPL0sfWJ0YSSqpH788P2iZpxf+oKI4Pn3dDkF3s33vV9+zbbk0V u2d6x1UQ7CvKVE91YeBsRHlBoS4PtgsuoR4VjUL80UhWZn+CL5y/CanTUUq/jaXOmXq5 moMVMOgPxqGzJ811uvbRYqMJ9emD6SapvWA7DbKClMiskkoC90yo5jN626dYdu+4lhw6 fxB60sCOSDzlW3mJzYvoi6btYjDMmnk00G82tGqDeByfGUiSFf+6sHdaDxTIqk6F1XTo 0cSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=wVwIIL2B; 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 u3-20020a17090a6a8300b0023d077d74d7si1264220pjj.38.2023.03.15.02.20.45; Wed, 15 Mar 2023 02:20: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=wVwIIL2B; 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 S231932AbjCOJEe (ORCPT + 99 others); Wed, 15 Mar 2023 05:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231311AbjCOJET (ORCPT ); Wed, 15 Mar 2023 05:04:19 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9908D6F487; Wed, 15 Mar 2023 02:03:55 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32F93jaX130748; Wed, 15 Mar 2023 04:03:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678871025; bh=RH6IGOBKyWb5TL4T3BDnL6uqcLnQ3GKUukovClXK7+0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=wVwIIL2BfYwK3UUmRCI+3KlKmg7VSJmyApRH+J8WbPXpp0TXJ+k2MbKTuGbMvokcF 3ShCE2dSazrb7OHX9pEAtAoGB+zTWyLKyv40mhZY+z1yxqyhYQcVh0Un/ZlCG2Afz8 g5QoKPe6DDkWbZixXBPFGybsy29C3q75BHZjJPZM= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32F93jFW071141 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 15 Mar 2023 04:03:45 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Wed, 15 Mar 2023 04:03:44 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.16 via Frontend Transport; Wed, 15 Mar 2023 04:03:44 -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 32F93ikF055370; Wed, 15 Mar 2023 04:03:44 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Brown CC: , , , Andrew Davis , Jayesh Choudhary , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra Subject: [PATCH v6 4/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP Date: Wed, 15 Mar 2023 14:33:33 +0530 Message-ID: <20230313-mcasp_upstream-v6-4-77685d7cbeb8@ti.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313-mcasp_upstream-v6-0-77685d7cbeb8@ti.com> References: <20230313-mcasp_upstream-v6-0-77685d7cbeb8@ti.com> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2667; i=j-luthra@ti.com; h=from:subject:message-id; bh=xgmiFF1fi21On59siDCp+cbV/lQsLPbVNThaNyvdUF8=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkEYdZIoHpP/nlbD2inbX3GXKf89wPCNYhlfc8P sfRRHO1E1CJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZBGHWQAKCRBD3pH5JJpx RWrqD/47AYgH3ypV6nu+3P6+ukxqKj7lIUCEXHvN9VDCbT3NY4RiEAlmAelSzgSJJgx0heWZ1QA XOAGh5YM60iFjZT6vfSBvWN5J4Sqj2VNAs1reSr6zB/s1/mlPh1enEEwHgvbE2EiMUh37bd/uGV kXpfwIK/3g7nRq8dzJ6sNrL0eBIWFIPAlEhmmIKDZLevSkZLGDTOTmdzChH88kFORK2JEqORDV0 4oKA74wX39HaOEqlblphhXk3DSCIvtordo36xGJAzjesp7+R0m78TYM0qWf524PKcfVusYAq4H+ RP4+gunbOr2+o/l1cVt4j4n6bViZ7zIXAWt3L7fQJMvnrsUiEBRhSezSyuqFqrwFTiDN6YAm4xE v2o2qfTvk9I06VyfLghZoUZH1hbfd8tGsyadpaQU6K6YmnsTPVQoTKObsA9mT2IYsfjhhzjEMk6 iaa7hswxtsaewwFga93FV7W1Ub9R6DkXpTBfrYgYxDePvy/iq73q9LTVebJ4+6JhdJ/CYC3Ul4X 6EO3MLwix3Mg0/tYFtBDEnu1aITofsp52yKf3SgwLf8ofzARyzzTHZFayz9nFWBN5N3YPuZn+zQ eBWKeEKzuYtlFtdNpw432qguCFOKnAG5BCOUohSbv/AMH6hCld58d5HE/yJiXOfJvcBJ6Yz+mLd dW1v2cJLncOsHIg== 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,URIBL_BLOCKED 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?1760424946996973033?= X-GMAIL-MSGID: =?utf-8?q?1760424946996973033?= 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"; + }; };