Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2731415iog; Mon, 20 Jun 2022 03:36:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vjzqttqQ/J61Yn9+GFoV2oN1IiQJau8waugXCqf8YosgLBwQketACEV7jY3X26qd4ff6NQ X-Received: by 2002:a62:1a07:0:b0:525:2815:17a0 with SMTP id a7-20020a621a07000000b00525281517a0mr2169601pfa.61.1655721418465; Mon, 20 Jun 2022 03:36:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655721418; cv=none; d=google.com; s=arc-20160816; b=V/nuAB6KneBlRtuj0a64BLRdCmZ/I1SnV11seE981I2FYeilS7cjHP3u8iLBFoa+U6 eT1UXN3LhuLbqdhpLzqoBFuq/GuSAyw9h5A+xq1L6fYJkwAfGj0CKEtQIwsBAojV8Zmw B0U/G3L027EUkjVjuwcRtd+c60M5JSyo/CZoTmRUivhXtds1fYFHfeLrEm0JR9MkTjih B+eYADIPgua4AFHG3T8YGPsK+1j/8PM7IEBlD6b7+g+1/FhVcpkCN8o+fhHOdEcFSGbR G4Z6cFjAv27wUr7DHoAQeE9bAPA7KUOXrQ7Ua5YDpdt+Loy+caUoWmGLeYUnN2VwRFSk 11kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ImcBo4lsvcEZdixqDw7FCKVpHcPOYUoXNMbNGRzE718=; b=pcWYsqPqfWsg1fyeh9GWnig0dp5NNxJNAqrOmQ9ReBFdot58IV5UfsmXjERaShUxQV ZsJZzI6Y0EsZyCTsux5bVeMuGToF+lRhMIDCmg6hiSa0Ew/kZJ6RJYWKo36Nf5p6vFyu hT9IgwlPS8NitFJHTwKIRryXVx6VgR+jgwl2aQc1wbs/UbI5LNQ/DNuSNOi48WQKlrY3 9ZOoVbZVSLVHr1F10odpUZZ4up/5WcXd+4wPa4q5lLhB2C+fT1IQZj7jqxD7JyBfOHPF c/Yw0Z2s5gHJk+pK3FmCJ8Ejd/UziHKFGmgz7tbSh5Mn3pd2nV8iRf5nQRFoG+BFNb2P mz2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=gzGGGRtD; 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 v12-20020a170902d08c00b0015cbb6e943fsi5078085plv.299.2022.06.20.03.36.43; Mon, 20 Jun 2022 03:36: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=gzGGGRtD; 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 S240081AbiFTK2u (ORCPT + 99 others); Mon, 20 Jun 2022 06:28:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239136AbiFTK2U (ORCPT ); Mon, 20 Jun 2022 06:28:20 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF7056349; Mon, 20 Jun 2022 03:28:19 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 25KAS6M8044752; Mon, 20 Jun 2022 05:28:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1655720886; bh=ImcBo4lsvcEZdixqDw7FCKVpHcPOYUoXNMbNGRzE718=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=gzGGGRtDJuLpxf+/g/PaKAZyY201sXksFCn3aGrzk9ZczMJT1TcM7FHf6/PjRlwld T6GUkDr5V8IaHtYEONVUpm3xW7F2PRxpJubvARIOoZvcezSNYVXjN5xDbSzyQJJlhs WZdAH9sWZX5/NyoZE2OfDFJvgGHEJ3f+QskHJelg= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 25KAS65J095264 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Jun 2022 05:28:06 -0500 Received: from DFLE110.ent.ti.com (10.64.6.31) 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.2308.14; Mon, 20 Jun 2022 05:28:06 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.2308.14 via Frontend Transport; Mon, 20 Jun 2022 05:28:06 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 25KAS5Aa018394; Mon, 20 Jun 2022 05:28:06 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski CC: , , , Jayesh Choudhary , Jai Luthra Subject: [PATCH v4 1/2] arm64: dts: ti: k3-am62-main: Add McASP nodes Date: Mon, 20 Jun 2022 15:57:48 +0530 Message-ID: <20220620102750.32718-2-j-luthra@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220620102750.32718-1-j-luthra@ti.com> References: <20220620102750.32718-1-j-luthra@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 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_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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 --- arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi index d08abad0bcf4..726f31a880ad 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi @@ -571,4 +571,61 @@ interrupt-names = "int0", "int1"; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; }; + + 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>; + }; + + 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>; + }; + + 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>; + }; }; -- 2.17.1