From patchwork Mon Mar 13 14:49:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 68885 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1231705wrd; Mon, 13 Mar 2023 07:55:33 -0700 (PDT) X-Google-Smtp-Source: AK7set9yK3Fdn9yzD4JX4JsGfnuuRoHBQZ/eHbAm85heQEEc+cKgUuBXicScxSCFs4B604ukOyB9 X-Received: by 2002:aa7:963b:0:b0:625:2ed6:9070 with SMTP id r27-20020aa7963b000000b006252ed69070mr1424688pfg.22.1678719333554; Mon, 13 Mar 2023 07:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678719333; cv=none; d=google.com; s=arc-20160816; b=RLFjFiUmjZHGIcrd54GAQUHkvuNwtolLKuzj1QT3QxdBICFsvVOB0OHZDHqjnrtcXa Ca97LTYvCnfwscT9tVE8M+CIKT4sbXnB9LwzCoklChruMxlw4qR66FNtQF4MEx23u7DR dLwNJsVNCncRMg/9vGtenDVCzpOkC4utKwIDmfvdRGbpY1sN7LU76r2yYDHYxhEZxMa0 dyWAQ1dr2L70wdEkO75w8vKk70tw2JQZBLOkT9Hb9V4s8MHDk7daTzKCnY5QZYeHSNVd B/b8aYQMomSwSNPo8C9pLB0e7Lm/JDxTMpNXfMIlyRMjOcU7t7NO/+nzxO5JBDJH+sSI CvlA== 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=RTf4J3zVmz9UIzhMrDvWTIRzZ+fFJueiDX/4hEq8MBE=; b=sqhvxsTwmTRGFv14t+Q7ba5ar3B2Xp7KQVinOedFK/o2oUqfWRcrl3atwucqFL6F3i a/44qFpO0F1bDqgoO88R1nSZmRKbO1wry+CvG9PahIndab7Gtt58mErgXU2VlyXX3EEx Rq5o3nOD6dI2xKMPt2BMP9UggyA9H1Ofxo170IAIUBU0Zbizsr578kxfauNHbosxG1kL /w1CVb4Drbj0lnUoFFm8VhYXZxbjMO57uEjmfz4YLJQNxlDy9DjJzqnHu5UMS6YgsDqT m/tdwjX1U+Q+LG8oe8+hxEXEuMxE1Gi4P1ljHJEv/Q04vrSvV53QVgUKzCCZ6rVqLFxJ nRhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ECc7xZK6; 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 s1-20020a63dc01000000b0050b51e62c20si1868723pgg.793.2023.03.13.07.55.18; Mon, 13 Mar 2023 07:55:33 -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=ECc7xZK6; 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 S231532AbjCMOvg (ORCPT + 99 others); Mon, 13 Mar 2023 10:51:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230101AbjCMOu7 (ORCPT ); Mon, 13 Mar 2023 10:50:59 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3570A74335; Mon, 13 Mar 2023 07:50:28 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32DEnfpJ044507; Mon, 13 Mar 2023 09:49:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678718981; bh=RTf4J3zVmz9UIzhMrDvWTIRzZ+fFJueiDX/4hEq8MBE=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ECc7xZK6Uq5/iqt+wpPmNqxZZMOgNQI2tV42X2C5/1/N3GjfoR5ih07MyZrWoQvLU Un90ZJiIfrzSkMNhqSYhxUc0XSfOXtl9n3MMrPh2bAyxAWrcIZrV/fyrjNNg+YOjHQ HbVcFFGt4TkL1bu35gDNa+85U1fSMibaLm7F9iZw= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32DEnfiw123658 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 13 Mar 2023 09:49:41 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) 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; Mon, 13 Mar 2023 09:49:41 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE103.ent.ti.com (10.64.6.24) 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:40 -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 32DEne6B122948; Mon, 13 Mar 2023 09:49:40 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon , Mark Brown CC: , , , Jayesh Choudhary , Jai Luthra Subject: [PATCH v5 2/6] arm64: dts: ti: k3-am62-main: Add McASP nodes Date: Mon, 13 Mar 2023 20:19:31 +0530 Message-ID: <20230313-mcasp_upstream-v5-2-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=2652; i=j-luthra@ti.com; h=from:subject:message-id; bh=vAiECCbRBTuSSHKHrNzv2pqB2mqxrvCFcodpCjBORbU=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkDzbT0m2OKRNjmKmrjsr206qiPgO1VWbQ8Lzv5 CMc7ApG6yCJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZA820wAKCRBD3pH5JJpx RfWkEAC9/j83YlMzER6zNlTE4Xup4i4aRlyLAGWYjHRuPngFrYWpcdDOklwhLy9ddAMF0lmfwrd qX1jiMskbDrdM6LyG+HEP5yw6eZgMDl7V7EFEzrxO0q93GCFg+kNLzunMuio3geU7o2RKWhfdOe jQprhBW/se7L6pnWyxiOGQhQ8N8LXSnwRX9ROcqVmOOHhW9vEk6oeOCX2At8y5hzPISOGHa05KI y/MECJyDgXxc4xuWAwSKriqutGYRmjRafxoQKrKxbAkXKhwK/alpATFbatoaof7qEjEO10QQYmb vBbPmYvgSvIIorzZA80NiVB3q/a/PtQv3N8Nm75L2S5uOaGcfy9vpzzh8duu462No5zjy3C/BrI ALsvUGo6POZSHcH/GCoWOp6iNyUd3lqxQ0p5w2YIAb8dCCZwNN+yWRM6gdi0W2qRUcd5XrIiuFJ cCjnQTosfx5h1EKDukj09bdtHgt+mk4Bkc0h8t8TdmHhy67fANvC36iSIkvexSmdzzsHsTlPcu2 BvzYTyXfrpqlMKhguWEgWuL6t1b2SYXA34uQlhLFaW6E948QrYm7TF07P83LAeMFPy3RbLQVbLx HCacxmaMQNX1aaWLlD2gUq3WvzxRrHAnZ/IMI9uT+8hGlZnLRes5CaLWd3dGcR0r10Uj0Odq2To CQ01hD1d9LcWo6A== 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?1760264804099107928?= X-GMAIL-MSGID: =?utf-8?q?1760264804099107928?= From: Jayesh Choudhary Add the nodes for McASP 0-2. Use the audio-friendly 96MHz main_1_hsdivout6_clk as clock parent instead of the default 100Mhz main_2_hsdivout8_clk source. Signed-off-by: Jayesh Choudhary Signed-off-by: Jai Luthra Reviewed-by: Andrew Davis --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 60 ++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index ea683fd77d6a..4da5747987bb 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -787,4 +787,64 @@ epwm2: pwm@23020000 { clock-names = "tbclk", "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"; + }; };