From patchwork Thu Sep 28 09:24:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 146188 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3405745vqu; Thu, 28 Sep 2023 08:42:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRq+aJJ0FAH+iVcsgR7bN4/zX3r8DrsFOenwqT+14LcWL3o06WbJ9sQV8qDrMTSLq1PhGN X-Received: by 2002:a05:6808:6181:b0:3ac:aae1:6d64 with SMTP id dn1-20020a056808618100b003acaae16d64mr1474026oib.2.1695915752129; Thu, 28 Sep 2023 08:42:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695915752; cv=none; d=google.com; s=arc-20160816; b=HFVSix2YYy2jq/CIHcftKEmTv/NXxqdmoG9qu4vVwQ6Db8sT40aGv7CP9bgIUYVwJR 9qXmpTgdKyn0AeFBMIB/SMsxGWhDFgT9jGiYS+M3fOyv0bmQNsiwD1TCu3ZYwnL1kBi8 r0gpPC8HzuZBzkAHYIDr4SHXjsUpCLERWZIRfhPuMwTttR9GDpBjrBUir4/fRDGC9cBI TP7EXfkktCULnLjUxbs7J7e7Oo0Wz657zYCsQDSHIXqY341VtnSjojSWd7mnlQDjc7tv vh7llDLZ25f6oxN8tFNeN+8f/QLffYoXyKIvGanTxhT7Fl74WigNSyBgMrUGAXUah848 cB5A== 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=P9o4tq79uA35dbYJVQYuXuuWplStgOw/NJTItLt8iuk=; fh=tLhAGTttXh18u18d6UOsWdUMeB3VfA1IORyQttQE6rQ=; b=cFkyKOp2Yc42Qqd+zS9aTZ6d/XcT/w4tb6ZB713Nki4xoSnWXATyeabqEvQFWhqiIe vKLErnj18f72lK2RCLhe2f8Ld6SvmSfBMgcBtu+FMo8kJDMNhZAE5tdUCQER+HbAcT6j i00x7jEEi+Qy5CUKbDnXox+ZkWjwOVG+OmP1Xjkz/eOmBb3A3/5647hDWGanfzyke1DS z7W6lhOSpwJjPul/4c6ceLgGulp9buTzcbRF4ktA5a63uD3oru5JF0MWmhwV5oNE9V3b VE7i9O+h/Bx8WpVLDpx6MJOdq68cp/XyO+FGFRjXJ3JBYIdR1+ro8eBAAtW5atGYLTSK Tl1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H0cHi6eP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id dw17-20020a056a00369100b0068fcae723easi18518837pfb.368.2023.09.28.08.42.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 08:42:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=H0cHi6eP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5C6E38227792; Thu, 28 Sep 2023 02:26:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231749AbjI1J0A (ORCPT + 21 others); Thu, 28 Sep 2023 05:26:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231828AbjI1JZX (ORCPT ); Thu, 28 Sep 2023 05:25:23 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BD27CF9; Thu, 28 Sep 2023 02:25:18 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P3fd069043; Thu, 28 Sep 2023 04:25:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893103; bh=P9o4tq79uA35dbYJVQYuXuuWplStgOw/NJTItLt8iuk=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=H0cHi6ePX9OIo9v4qddocyrXGHv0MMp8MFMueJvJY5wqOdRCx5rqnauhcJDdkYeCX 1Kx2mL4qAXqgW3v9OtIxDo7YTjTWiN06SuvTTUxwkfOjtm/NSxLQCO+Rs+ve84APEn l+A7yhOC646SU+IrLBPTzLb/pv5BviP2ouvfyCZg= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9P3DD013012 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:03 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) 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.23; Thu, 28 Sep 2023 04:25:03 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:02 -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 38S9P1pY090139; Thu, 28 Sep 2023 04:25:02 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:26 +0530 Subject: [PATCH v2 1/6] arm64: dts: ti: k3-am62a-main: Add nodes for McASP MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-1-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra , Jayesh Choudhary X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2715; i=j-luthra@ti.com; h=from:subject:message-id; bh=W0CFJHzCWlZGY7NHNntLX4dpZnlqu3OOkzLG1IBCpRA=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZhnLmWY1gkdjpYkGupilQzHrolEFlysUCQb 8/fHYwcHOuJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGYQAKCRBD3pH5JJpx RXAtD/9zAhbKwGEn+nq21jbBkrSD3LKHFqKhjLZVcFOU7QaA/d0y1BdjJSzZzu4fIZg5J1RAga4 Rvfw4GSJ2FVzBZR7M+KDLoNdhECiAxSUKolXt6hKGtv7ql8lfVCfXqdvS20kpiby/LerHhX5cyp j1tbUXy/zt01CqbYK8hH6VHgh16WC8rwFURpWA8TlGLExamfH+TgQA4iCsaJ+suHbZQbhg73ENe sfMjeJf1fJDsM7tS8qtCYtJkEhrhYNL+cWQ/H7BT0tOJ9TKLy2EhI5djOvARj71LIpZ3ps5nRGj /tvwUaVcRljWiA2pRCSu1xZ4nfy4cTh96CfcNMy0P6HqFqcZvY1JJfxHsvh68fdNjntyqtwG6Xg cjG7hHlqBZWoMg1aUi/0mg8UA4bW5bn5hlKnw+n6hpIc49wHPAnSvLMh1ywuEygibEcqdsUBO2E syomPS8Yq0FiwoNkDv9WoWx6f/l04Wda/EA1p7wZdJ94xX4oBY25rQ0Kxb6qM/Pxo2ip/yITrsr f8O06KDjWLO73YUzXTSIG39DpcXEOXTLkGB1uFV+8Ld6G/aVZpczxG/xlNMlm4cZrflouKOBqe9 SzKvOSRohGcSAlHhZROP2RNGtttoK5mZSzZMNdn1ZDrEloP5XbDeoiQURuhDAUP5K+klgAJ2cjj ZriXtYHE83a2OAw== 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.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778296555971545182 X-GMAIL-MSGID: 1778296555971545182 Same as AM62, AM62A has three instances of McASP which can be used for transmitting or receiving digital audio in various formats. Reviewed-by: Jayesh Choudhary Reviewed-by: Devarsh Thakkar Signed-off-by: Jai Luthra --- 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 3198af08fb9f..4ae7fdc5221b 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-main.dtsi @@ -816,4 +816,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"; + }; }; From patchwork Thu Sep 28 09:24:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 146123 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3316831vqu; Thu, 28 Sep 2023 06:35:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0XqH7GPQj4QjLFhfxy61UtiMj1+erdZVqwSwru9EeNWHWyyYeErOd2iaZfoThkLX9nT5W X-Received: by 2002:a05:6870:468c:b0:1d6:3b5f:3211 with SMTP id a12-20020a056870468c00b001d63b5f3211mr1244998oap.31.1695908144779; Thu, 28 Sep 2023 06:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695908144; cv=none; d=google.com; s=arc-20160816; b=PNDNRgNB+hzk5801hOk7tWxyjAsmddaDx/anNS7fpKUPjh4WCqLGxBKKQrdLk4Ea9y UweEIaNT5MMY47/5yIQAzs60BFsue3unIuPlA6/TQ4qTsjHHJvX7Rby90FtoPGJeNq7V q/6zk4r6v8eOL4lXF5Afkw8fQ+L0F01xVb2vfQ+JwqABeHH1MVSFhi+X1vQM5W6TkRDV kmddnD2eiSUr2gyFMO5aAJNRmRmHMDqVfUYcdyegmrPsRve4tBbfEMLApEvIfhG7PsUu tnrcUBp1AoMPU6JCcWZXvb3zKMywo+VECyTdrRjPxE2qTQKasGbq9Rg0wkx6SiCl7Xg5 zYPA== 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=VOgmZjppaNHRvb+fq7iB4eyXgEBm+n29yek9u6VmbPM=; fh=ftKU8xb951ucjgYEObgA/c3GJvlbkTWWeCtjR8QevbU=; b=rQ+tQptudVxdnUERO3lZmsjUgr78KYYg7U2Ciz7+hAQeSR6S/3RYAYGpYQJmm+UzPP w+KyV9nZF+GlVMOo1w4syl971Z2D2Iga2THf2196Qtd/pEKY6NJYpVXD1lr6vgJ90F+L M5bNohTv94XwLWBQn4G6SH+EV1X1Zo8TWZugJtK8g7NxWx7ATc+f3TOidJuurpDLHAVM 4ZL5dAysk34tG88+LtRKArRXpzhroOy1UFngC/LSIZmjUa5Fbprm6gOhi4z3vgQJe35K 3TzBN2OXZuir/2m9BNBhV73RxtTQ/PG17XsHGH/AApo7qJZerl2fO+irVn7YD0x41kYH Rerg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=M7WdNJwK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t4-20020a63f344000000b005789e2752e8si3205101pgj.246.2023.09.28.06.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 06:35:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=M7WdNJwK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 77458806155C; Thu, 28 Sep 2023 02:26:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231845AbjI1J0L (ORCPT + 21 others); Thu, 28 Sep 2023 05:26:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231776AbjI1JZc (ORCPT ); Thu, 28 Sep 2023 05:25:32 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 682621B5; Thu, 28 Sep 2023 02:25:21 -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 38S9P4wG104284; Thu, 28 Sep 2023 04:25:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893104; bh=VOgmZjppaNHRvb+fq7iB4eyXgEBm+n29yek9u6VmbPM=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=M7WdNJwK1s5Vd7sGKOy2TrfBhWTyz0eO7OuYvtS6Pr79vZcjAlXoKnARNDntseNbs tHKM4/4/j6mYwUJRGwIoHlbnQnR3iHVZ0QGRJ5nsIakjquuDn6bx2KBA3HbX29IDMh 0wM3XFelrN8rg6jsnght5MV9wqtXgQ1OBMypjmjM= 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 38S9P4ss006600 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:04 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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.23; Thu, 28 Sep 2023 04:25:04 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:04 -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 38S9P3tj090367; Thu, 28 Sep 2023 04:25:03 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:27 +0530 Subject: [PATCH v2 2/6] arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-2-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1487; i=j-luthra@ti.com; h=from:subject:message-id; bh=8UdWpyx47NjH2sp2+nFjUjfUOYp2UBEB4/o9/Nf7fxo=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZivrZAvboxWYTPt/uQfEC9X/DYuWAvKBMNa D/89vc5DemJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGYgAKCRBD3pH5JJpx RXdeD/9Q4KaKvu/CVwubxurKDwYapnMFCs+mLI9ktR0E3ILIn5+gVWEKLhnvx87OZkXmkx7W5qK NuLlQ8eHGLLQrebVtjlt2c7IvzSqZgoVNy7Wi6gJUSbi/EnC4Ml7kAtjJuAQDNjnDN3K4eQhHn7 hdSaLFr1Y6o3CMoPVI3S5TQ2KS/90DogpCwoeHJ6cM2s4Bf9oJHkJzEMvaLsaXRlOIKty7JlcSw Hc9xWfduyR8i1KFJvTwLylFapic0e/nOIlWorr5/0Ms12WVPvwW4iDJIQ3/eQn6Cp1Oji6wfkoW Dbd8TSVFPynSJy6B08/3dB0u9jq6N6xnXVow37JwfIv+uB+pxkBIWhIcgUdL5Ui+KUSvegpSsv5 myQ6lwJnovgPwzQCVb/B+pKgzUVEjQQ8fluybgDvFag4KapxncsxxeUuXLCcs6vMHh1mgfCIXcs 8K1uyo7FWszMcKDgLDCR7l4mA6l29BsZUZwGK5UqonPfokt5usEEvmDewxXMvGzaVJgaenpLomq VaqpNZybZtEDYE3JPdQFdptRSj7YKguLGmompAy8VSSw8DsM2RZ0zJkuty3oxn5EbqHg1g5vbRs Xpi8alxtd5ikSGkTj8LthvOWw81kzxpJQUV+CQGt9qaUmnCPxGNPC7sIqUyHug2kRaeJnrh89+A 2HpiSQKzB6yAAKg== 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778288579059126455 X-GMAIL-MSGID: 1778288579059126455 VCC_3V3_MAIN is the output of LM5141-Q1, and it serves as an input to TPS22965DSGT which produces VCC_3V3_SYS. [1] Link: https://www.ti.com/lit/zip/sprr459 [1] Signed-off-by: Jai Luthra Reviewed-by: Devarsh Thakkar --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index cff283c75f8e..c689d3da2def 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -79,10 +79,10 @@ vcc_5v0: regulator-1 { regulator-boot-on; }; - vcc_3v3_sys: regulator-2 { + vcc_3v3_main: regulator-2 { /* output of LM5141-Q1 */ compatible = "regulator-fixed"; - regulator-name = "vcc_3v3_sys"; + regulator-name = "vcc_3v3_main"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; vin-supply = <&vmain_pd>; @@ -101,6 +101,17 @@ vdd_mmc1: regulator-3 { gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; }; + vcc_3v3_sys: regulator-4 { + /* output of TPS222965DSGT */ + compatible = "regulator-fixed"; + regulator-name = "vcc_3v3_sys"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_3v3_main>; + regulator-always-on; + regulator-boot-on; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; From patchwork Thu Sep 28 09:24:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 146211 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3450082vqu; Thu, 28 Sep 2023 09:49:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH4wY7Qg43BJZZFRBeNZrSMNBfolddNZcIvo+PAdt6reCm1j9QV7KO21rFqFV2jNkUIHBtj X-Received: by 2002:a05:6a21:182:b0:14c:5dc3:f1c9 with SMTP id le2-20020a056a21018200b0014c5dc3f1c9mr2247665pzb.49.1695919753685; Thu, 28 Sep 2023 09:49:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695919753; cv=none; d=google.com; s=arc-20160816; b=b61MstAcsswxJbJTaJPN0P98Hzkcit5rgCbdbgVb2tVNOtRfrqTFN+FxagPR/6YtDs 6lna+vAjzUhyL/dy9myB2ilDU89MgSUrvyj9j8vHxT5WOSzevLV7HODxyNooRv9aTO+Y fefv65dRu2/uSzWQaRAntr9FQ7sMu/6hzF29Dw/+/snzdsDXIS4/7hCyinYSTtB/Bj7f OBQmiJiXAivQufHkPKKTDi4aSwiAQ+ajIxn4u/kZLlf0tQq0/KFUFolYhDrQ3VtYlxZW Nr84f2c3Ud+fb2kgXtYLFABMS45TIBrNMTexMJppX0X7RSu1LxvaZpZA9OoA9rsQ3amd Cq1A== 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=CpTQhz6CzpXT4DLoSwddHTVxsIKxiCg1g6FnlCBYdeQ=; fh=ftKU8xb951ucjgYEObgA/c3GJvlbkTWWeCtjR8QevbU=; b=qBDYHwLHSZcn6DoOnWjNNV2eM05BH9VABvb6mNzblB5wtCa/i+Mm9qFIWr62IBI1/E 5bYWuQvkiVOV+W1+lyyFPGoyazu3a38A97G+iady6p7Jg+J1d4FWTQYN5dad5BQEwdKo EXer5CAhqZ/1T2kfoH1RbqQ1otKUw3ycsQhzhI3l4VLI8TC+KL8MpQpBBOpbvp86eHDs 90WT4IVHf0iDKsNIChrSHZXTemAYcBE81kfT05ZbvuGcpCTBoqqmrOCwxLjJg4NCst18 a45t/aTzE0tV/Z7Py8Z9eiWNTu7F9aXjMK0ysxZy7iFHsT43d1cJOQYc1fIbf5L3gaAK wp8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OnYHrAHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h132-20020a636c8a000000b00564bcae8b53si18914503pgc.803.2023.09.28.09.49.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 09:49:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=OnYHrAHs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6C10680215E2; Thu, 28 Sep 2023 02:26:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231696AbjI1JZx (ORCPT + 21 others); Thu, 28 Sep 2023 05:25:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbjI1JZX (ORCPT ); Thu, 28 Sep 2023 05:25:23 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB45CEB; Thu, 28 Sep 2023 02:25:18 -0700 (PDT) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P65O069061; Thu, 28 Sep 2023 04:25:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893106; bh=CpTQhz6CzpXT4DLoSwddHTVxsIKxiCg1g6FnlCBYdeQ=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=OnYHrAHsSMLfiAl/k5mTKtvsMGLbhD3ZDtwihmsBHXnM7hU7w6TSEc5uHU1+lq5Lm UcQFfAZTF5DcCEBHBCMlsrdMT8e8tmTGEPh/lOMkS1156r2nDUdq9ilGKhNHTCinbt Fsw3VRI0KhnhoenlvzUtnYwwRJ8LF4vadTJwXySw= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9P67u006622 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:06 -0500 Received: from DFLE114.ent.ti.com (10.64.6.35) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 04:25:05 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:05 -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 38S9P5Rb022111; Thu, 28 Sep 2023 04:25:05 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:28 +0530 Subject: [PATCH v2 3/6] arm64: dts: ti: k3-am62a7-sk: Drop i2c-1 to 100Khz MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-3-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1007; i=j-luthra@ti.com; h=from:subject:message-id; bh=kIS3ZLOQp1627tfZHv/33mM01dpsIXBto944wmubaH0=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZjJdY4gaFWroFOHK0yOVfcmElw2Lo5JJ8d/ D6MvNu61i6JAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGYwAKCRBD3pH5JJpx RXDQD/9O8JUwmOBhP1Ig193pqbn412hNWLwz3seFWiN4OJHgQnUZxfQTrWreIMjbtjWAZ7GLqo+ ZzLgGLwm7RGOwx5v9KvqoUA2A0MSU7jztzVO5CuCsd+Qm7LTibwZTeuizC4bUPquSh3EL56NtM0 6sGCwTJub1hcnDl6aSx0xP3eY1klcq5xO8Zi9C26AlAPhYoUTjK6PVrlpxVIjBh82fztKGDln+0 JYhD/5ptCWWLjbRP7wrzcCxpKWXPaq7UvzGIvkVwKrZFNE+q3Z9S9JCKOrsDWiHKE1hNz4OKRY9 kVy4a7kKFBxaqxu9NGKlCKV+lLyiCqA57zyQJsdlU6Ty4hoistdN4EGzGBohZ0Ha9gb+hIpBHIA W7MZ33RF70tlbiw58gHKrJOm3U8ypu6yd/qV+n+/r/xxnbyRxiuqbx+fhU2Y34ZLx8KgiQcQpNS 0e6yHRTQ4qOTW2z7OlYM1HSvX5xO44zkd8d+aGcwUrn3cBZlkvYVsTrIRjz8zinYFeqFsPQxjvN rZdZSv0/qh8fSpIOZ89tnLKsgMyrvq2TUnh4gKNckgCujgSTcfmkvc/o/PVTEgtPFYsHaTsChyY og87AFze2GP+hQWtgBdwcR1kvTSfcbITkFtClg6ZgiQr0o0KO65ZOxIDDDJBRgXTqT7LSoH0lHU Q5q4wB/6jkAwJdg== 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:06 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778300751458266592 X-GMAIL-MSGID: 1778300751458266592 The TLV320AIC3106 audio codec is interfaced on the i2c-1 bus. With the default rate of 400Khz the i2c register writes fail to sync: [ 36.026387] tlv320aic3x 1-001b: Unable to sync registers 0x16-0x16. -110 [ 38.101130] omap_i2c 20010000.i2c: controller timed out Dropping the rate to 100Khz fixes the issue. Reviewed-by: Devarsh Thakkar Signed-off-by: Jai Luthra Reviewed-by: Aradhya Bhatia --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index c689d3da2def..866b2725f775 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -261,7 +261,7 @@ &main_i2c1 { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&main_i2c1_pins_default>; - clock-frequency = <400000>; + clock-frequency = <100000>; exp1: gpio@22 { compatible = "ti,tca6424"; From patchwork Thu Sep 28 09:24:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 145936 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3216736vqu; Thu, 28 Sep 2023 03:48:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF183kPvJCd4LU66/ge/JVgtTYHliwJyF3IMkudvnvgIkW0JFrzwjlCPaRUPXf9TQlDwlcY X-Received: by 2002:a05:6358:e49e:b0:14c:d9d1:7ac4 with SMTP id by30-20020a056358e49e00b0014cd9d17ac4mr944052rwb.6.1695898135288; Thu, 28 Sep 2023 03:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695898135; cv=none; d=google.com; s=arc-20160816; b=zW13s/JJXwMmJs79M2oCaiDAxNP9W+PLtTVcZgEdEJFZUII/3evBwLC6moV3KugrIt dWDN88UfKT/f1NrRkazEhFA6rmq8gYoN0BCQ5znNQSfYXNV0nLDvEC3dIzfGxUaO92uw uR2wE7x8AXhfiDWos8xAmwMyh3ZqYhvK8E9yL49KJUgBN/GgHFOaJSFrD8lfL0axr+4D jo/1vhSEXhtw3vM5jHVCU8x0bM+CXteFiuqRPO94hJGqB+4iskU92imShsQU052yNlGZ TBHbCw00X5GPcjxoBPw767RNuDvUEwRE6mSB/p7KwZLsHLSOilhAe7X67anRugYjRI+t zU6Q== 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=THpNGIXD7z+n0ObTIdk4Tqnh5fvfLcLedV5S/VNCL18=; fh=dWpnCBC7U+7b+mMIRvkjf+/7YhZyjSZeZ8NvaeiRo0k=; b=QM4v67h067iGdRyTtJfhE+a7iUt5jweP/+C2WgPd2qK0Xbs4kpapJqrv4Gjl9lkmMG hxL7TIRJEOQo4QQ3UMCV84u+xuZiV+OCgtuA+j9pcbN+SY0Fe5Wz9Skj0j1iIRjNnCPf gBQPbXG3BBl5iryGFR8QB+cB2McVxrfv9jHl1hJVKatsQlQQcptYjcIo/aPYyPrLg3t5 N95BPqnjyIX0H5n4zt5Z9KuepwTRKUkixKbtIS/IL444jgTErh4wK2kzDQ9/MNVCuhxL KHc5O3KbXqF1Mp+sc/sU8UnV+O6EGGaIFG8SyoXzXiagFrZvn81Q2fv2P09TkGnOzQNm 6h8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HyOAUN8B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ck13-20020a056a02090d00b0056a670ebd6fsi17005413pgb.669.2023.09.28.03.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 03:48:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=HyOAUN8B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id C38468020DBD; Thu, 28 Sep 2023 02:26:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231788AbjI1JZ5 (ORCPT + 21 others); Thu, 28 Sep 2023 05:25:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231775AbjI1JZY (ORCPT ); Thu, 28 Sep 2023 05:25:24 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42583CF1; Thu, 28 Sep 2023 02:25:20 -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 38S9P7Mm017395; Thu, 28 Sep 2023 04:25:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893107; bh=THpNGIXD7z+n0ObTIdk4Tqnh5fvfLcLedV5S/VNCL18=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=HyOAUN8BfaIbivr2L/DUVasCSaLM6itpsXOARoYzwhq0iL6L8CEdLwuDOIB4h8NxP aKxF9+1cRGNnHijqy3ZXwZMH28+APJFr6onOrf0gkT1JvbsH60a9EYerd2cL93XQLs t6GmQ2USGrd5nhhl36KrFipjfw6D7xnIzw5D5dxk= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9P7j0012950 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:07 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 04:25:07 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:07 -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 38S9P6Wk090442; Thu, 28 Sep 2023 04:25:07 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:29 +0530 Subject: [PATCH v2 4/6] arm64: dts: ti: k3-am62a7-sk: Add support for TPS6593 PMIC MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-4-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra , Julien Panis , Esteban Blanc X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3367; i=j-luthra@ti.com; h=from:subject:message-id; bh=NG7CqYlIdoR8vAY96Pg9KSVZ+tMqM4J5Aya65nAaIic=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZkkcVOT32WfAo8D1XYHzejxrgOaurlKEs7t OBuI9YkuESJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGZAAKCRBD3pH5JJpx RdgID/40uEya1aJv/r3tI1H9yzn/1wUf60ejnHkS+/JPs5ok6n2ENC0Vb93sb3ChTmdCglhknWK zkc04+jeLOsBJaAOhMxiwnP9bGMrp/af36jAUhpYWIsixBCokQYJADWAk/Y7esPQERYpBAP+qL7 he18iRC7rYG9JUawVBflh0q/s6aSv5OjUV85Fdy+pmqBoUjLXy87w+ovxsPvwvuc4gQWef7T0At wXMS25b+hPbLSSnJSha4kX6taGOQkSM4yfkMnigx67sNnQpqQJxyKlmzCY9VcaHms79g+szFjkZ jK7/Lg3dr8Euyh3ugSIZ0wJkj1z81ft8d9jwkGQ95SdGmKTjplY0y3DPOByoct7VJNYedYSRuBz 0KMkZK9MdgDTuw4dvScN5KxNwULdo0I/M64Fa/wfPzHtisyjxaxA+j/THzKAMExRYKlXyY+v96h BYiKtu1sLeTlRAdcdj4iwNYfq8NM8VIpF1siQPfkBOgI14DkZox/GjwMZVtCSxs5gpxarJE+B59 5g/Zi4A+6o5xZo7D0lAW/6KQ1681VDt4M5IjTJyWFMn0pb2rU0qaydm96NwGUs3UfDEKN21kA6k spY/owav335pTCGyDWoSawYN6h3xH18IjJH/CxjW3swhwTlxfTYCJdZ4pKL+/2L5sCwCvKxJo30 V3iX+xIBPz6iL2Q== 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778278082904735451 X-GMAIL-MSGID: 1778278082904735451 From: Julien Panis This patch adds support for TPS6593 PMIC on main I2C0 bus. This device provides regulators (bucks and LDOs), but also GPIOs, a RTC, a watchdog, an ESM (Error Signal Monitor) which monitors the SoC error output signal, and a PFSM (Pre-configurable Finite State Machine) which manages the operational modes of the PMIC. Signed-off-by: Julien Panis Signed-off-by: Esteban Blanc Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 95 +++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 866b2725f775..377ab823bbcc 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -232,6 +232,20 @@ AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */ }; }; +&mcu_pmx0 { + status = "okay"; + + pmic_irq_pins_default: pmic-irq-default-pins { + pinctrl-single,pins = < + AM62AX_MCU_IOPAD(0x000, PIN_INPUT, 7) /* (E11) MCU_GPIO0_0 */ + >; + }; +}; + +&mcu_gpio0 { + status = "okay"; +}; + &main_i2c0 { status = "okay"; pinctrl-names = "default"; @@ -255,6 +269,87 @@ usb_con_hs: endpoint { }; }; }; + + tps659312: pmic@48 { + compatible = "ti,tps6593-q1"; + reg = <0x48>; + ti,primary-pmic; + system-power-controller; + + gpio-controller; + #gpio-cells = <2>; + + pinctrl-names = "default"; + pinctrl-0 = <&pmic_irq_pins_default>; + interrupt-parent = <&mcu_gpio0>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + + buck123-supply = <&vcc_3v3_sys>; + buck4-supply = <&vcc_3v3_sys>; + buck5-supply = <&vcc_3v3_sys>; + ldo1-supply = <&vcc_3v3_sys>; + ldo2-supply = <&vcc_3v3_sys>; + ldo3-supply = <&buck5>; + ldo4-supply = <&vcc_3v3_sys>; + + regulators { + buck123: buck123 { + regulator-name = "vcc_core"; + regulator-min-microvolt = <715000>; + regulator-max-microvolt = <895000>; + regulator-boot-on; + regulator-always-on; + }; + + buck4: buck4 { + regulator-name = "vcc_1v1"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-boot-on; + regulator-always-on; + }; + + buck5: buck5 { + regulator-name = "vcc_1v8_sys"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo1: ldo1 { + regulator-name = "vddshv5_sdio"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo2: ldo2 { + regulator-name = "vpp_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo3: ldo3 { + regulator-name = "vcc_0v85"; + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo4: ldo4 { + regulator-name = "vdda_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; }; &main_i2c1 { From patchwork Thu Sep 28 09:24:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 145930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3208188vqu; Thu, 28 Sep 2023 03:29:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/LOG4iZxzywsLzjAEpTRumy2Ora7X4pVRu++MVwblKKMybOMeFsq8c/m+A8zYf93dGmlR X-Received: by 2002:a05:6a21:6da4:b0:14c:76bd:10df with SMTP id wl36-20020a056a216da400b0014c76bd10dfmr536795pzb.19.1695896972707; Thu, 28 Sep 2023 03:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695896972; cv=none; d=google.com; s=arc-20160816; b=BEHbRVvqLzN0TGQJ8HBfx+3YpAXG54Uyms28ApnnoHTz+EonhTp0u0xAgW6NvE5Cyf Xbir/s5kjy3nISKLB9wlvpk9sNdXmLkJQn7U6t2QKj5OyAGKhgodxToJFgzxi9quYr1B 8trTWZi/Hdj94a/dIC6gIhF5i1HPzaAXmWHjudztX697hGkY9wzoMo3ZkWNtY5vb1hMN MYDr1f2+ft8oYSqMd2gaZ1cEabA3fy/np5MHRCeyqfHO4rWOPF/+8XoUJ99fctZP+ARF 0BKAD7W4CD7OxGTD2U0mK8VV58eKhlJl0p7/DrUMefXr30wbZ6DuPI0tIRMMct6iewx6 uVtQ== 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=QldHW5aQ92qfFoxi2g/iZZDJsi0V5jj+6uN5TcYh0Ls=; fh=tLhAGTttXh18u18d6UOsWdUMeB3VfA1IORyQttQE6rQ=; b=wGjSbD3DwQwdCDbAolUZWiwqRvsW0SA8egFsoX0jimv2q7AyAcTepy6xeF7hdh2r0f kbK7H+tRbJtgB91Qw0WkyXseGMPHcM8X1U1Uf5/nMppV9QjY5DfEnPyqZT4EWNv2v6zR TU391r3KFeaasef3+l0cNs69sr91tqtKd70oPEipyMRtMRvR8HQTQvPMRTsmfCWHn8cE N6RpLqhmooqM1i8TvFdUwuh1FpCs//be4eiJUL83hOWEYur8HjGOAFYyUj2EnTdkq2DX 6rYQCxv9cjoOn9H3NltNGJW3hBVcdo5Xk1j5sSaNFb2AamE2DHMQRMPZYWawP83B/gkj vjPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NdWtzcAg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b17-20020a170903229100b001c61ad51779si11247031plh.623.2023.09.28.03.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 03:29:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NdWtzcAg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 4043F8070EF0; Thu, 28 Sep 2023 02:26:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231778AbjI1JZt (ORCPT + 21 others); Thu, 28 Sep 2023 05:25:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231826AbjI1JZX (ORCPT ); Thu, 28 Sep 2023 05:25:23 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32623CE4; Thu, 28 Sep 2023 02:25:18 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P9CD118943; Thu, 28 Sep 2023 04:25:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893109; bh=QldHW5aQ92qfFoxi2g/iZZDJsi0V5jj+6uN5TcYh0Ls=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=NdWtzcAgsM2ehwMy8oWeuNQGMc7d8c7QRr4ynBX6H4kSLTx4g/Lm69D5Lej3/z8ti pFvecB2rbQpvOol+rRMZa5MkpFWCZyGdHYWoUk2xEFdM1V9SvtwoHnEd40de0i7Nrc yHyJTbRgaF8+kNOglY7HbuSaANBIOgcrgj7zqwcc= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9P9DM077544 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:09 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 04:25:08 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:08 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P8Br020218; Thu, 28 Sep 2023 04:25:08 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:30 +0530 Subject: [PATCH v2 5/6] arm64: dts: ti: k3-am62a7-sk: Enable audio on AM62A MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-5-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra , Jayesh Choudhary X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3271; i=j-luthra@ti.com; h=from:subject:message-id; bh=1F4EHY5Ra0+GiPN+5tdT3P1uireAl68KMG4dSOF8F/s=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZlskkClleRXBjtrwy0RhB1Z37N3XiAO4III yNn84nP6vKJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGZQAKCRBD3pH5JJpx Raw+EAC/IdZeFuyj9C9mBNczBedtWwNiSgGHO3fJXGwpvB363dgH6DhkGZY8j5JYqv1byKu4+KF IqjB8LguodXvT0/La07ZnwZMeFCj5FQRw57X1NXXIqpDzO5L2zuR1sNli6mIu+fg3zykUoKrogk PIHb0DYYLG5rFFsTofo5aHJr0Q30Jyq/CEYw44yvbrclbXBci+uRzHiyld0eE+evlcOdlf6THwp 9TJTr9bVRqLtf4axQxpGGP4RudKFVM+GDZCkr3BYINSjZbKHPmsyV2OVYiYpB4VMcDPrLI8qP0p nP9Vfbs3nV0dAjdTWlTuD83yma4RvG8mTYFpW9B+fq+rd6HNnnsC0HhamjPQEvI8lP+ZeaIo+ei n8wwIdhrqB24/81LFTfJ/9WOu/lDNairnz9Dkhjy5UDqsE4LjhwRjpV0S3SvN/Ly3V8/vtaM4Mg RA2Fr1lBhItVo0FtnZQ6yfcokc77suK7Y8Zl0bSyKpUl5eVNJMbyx7uMbLuQvEG7XYnoL4eOSRD 2f11dR27x7SXz5rBZ06uDn+o7wCfrwTyhA4GKKUMvXeO3Zb6SjDuBNU+fWiKnYZQQ8nph3vam/N X5SF1onhSOx62+AswsPjYpxKNCawRr+tZc5FJz5/3xvGhTZpG49x0629kex37nnu4JmrbYq/Jln boQYvTzywjFW6PQ== 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778276864039606107 X-GMAIL-MSGID: 1778276864039606107 Add nodes for audio codec and sound card, enable the audio serializer (McASP1) under use and update pinmux. Reviewed-by: Jayesh Choudhary Reviewed-by: Devarsh Thakkar Link: https://www.ti.com/lit/zip/sprr459 Signed-off-by: Jai Luthra --- arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 77 +++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts index 377ab823bbcc..694eb36b4eb9 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -125,6 +125,41 @@ led-0 { default-state = "off"; }; }; + + tlv320_mclk: clk-0 { + #clock-cells = <0>; + compatible = "fixed-clock"; + clock-frequency = <12288000>; + }; + + codec_audio: sound { + compatible = "simple-audio-card"; + simple-audio-card,name = "AM62Ax-SKEVM"; + simple-audio-card,widgets = + "Headphone", "Headphone Jack", + "Line", "Line In", + "Microphone", "Microphone Jack"; + simple-audio-card,routing = + "Headphone Jack", "HPLOUT", + "Headphone Jack", "HPROUT", + "LINE1L", "Line In", + "LINE1R", "Line In", + "MIC3R", "Microphone Jack", + "Microphone Jack", "Mic Bias"; + simple-audio-card,format = "dsp_b"; + simple-audio-card,bitclock-master = <&sound_master>; + simple-audio-card,frame-master = <&sound_master>; + simple-audio-card,bitclock-inversion; + + simple-audio-card,cpu { + sound-dai = <&mcasp1>; + }; + + sound_master: simple-audio-card,codec { + sound-dai = <&tlv320aic3106>; + clocks = <&tlv320_mclk>; + }; + }; }; &mcu_pmx0 { @@ -230,6 +265,15 @@ AM62AX_IOPAD(0x130, PIN_INPUT, 0) /* (AB17) RGMII1_TXC */ AM62AX_IOPAD(0x12c, PIN_INPUT, 0) /* (W16) RGMII1_TX_CTL */ >; }; + + main_mcasp1_pins_default: main-mcasp1-pins-default { + pinctrl-single,pins = < + AM62AX_IOPAD(0x090, PIN_INPUT, 2) /* (L19) GPMC0_BE0n_CLE.MCASP1_ACLKX */ + AM62AX_IOPAD(0x098, PIN_INPUT, 2) /* (R18) GPMC0_WAIT0.MCASP1_AFSX */ + AM62AX_IOPAD(0x08c, PIN_OUTPUT, 2) /* (K19) GPMC0_WEn.MCASP1_AXR0 */ + AM62AX_IOPAD(0x084, PIN_INPUT, 2) /* (L18) GPMC0_ADVn_ALE.MCASP1_AXR2 */ + >; + }; }; &mcu_pmx0 { @@ -377,6 +421,19 @@ exp1: gpio@22 { "MCASP1_FET_SEL", "UART1_FET_SEL", "PD_I2C_IRQ", "IO_EXP_TEST_LED"; }; + + tlv320aic3106: audio-codec@1b { + #sound-dai-cells = <0>; + compatible = "ti,tlv320aic3106"; + reg = <0x1b>; + ai3x-micbias-vg = <1>; /* 2.0V */ + + /* Regulators */ + AVDD-supply = <&vcc_3v3_sys>; + IOVDD-supply = <&vcc_3v3_sys>; + DRVDD-supply = <&vcc_3v3_sys>; + DVDD-supply = <&buck5>; + }; }; &sdhci1 { @@ -467,3 +524,23 @@ cpsw3g_phy0: ethernet-phy@0 { ti,min-output-impedance; }; }; + +&mcasp1 { + status = "okay"; + #sound-dai-cells = <0>; + + pinctrl-names = "default"; + pinctrl-0 = <&main_mcasp1_pins_default>; + + op-mode = <0>; /* MCASP_IIS_MODE */ + tdm-slots = <2>; + + serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ + 1 0 2 0 + 0 0 0 0 + 0 0 0 0 + 0 0 0 0 + >; + tx-num-evt = <32>; + rx-num-evt = <32>; +}; From patchwork Thu Sep 28 09:24: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: 145926 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3205230vqu; Thu, 28 Sep 2023 03:22:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGZq297lFb3vyqnh5EKf4L4cMQ50mHZb4jSBo7Dqg3tor4Voa53NYeYyFtECqtjbDOpd2IV X-Received: by 2002:a05:6a21:a590:b0:160:8984:6cc6 with SMTP id gd16-20020a056a21a59000b0016089846cc6mr855711pzc.58.1695896549894; Thu, 28 Sep 2023 03:22:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695896549; cv=none; d=google.com; s=arc-20160816; b=EEAWaj8eXX10FFh+uOEEEMB+lUd/Q77Y/pnHV1+MU1mavwHtmGgrYkIi6BRQ+J5Kom cHZ6LVHpON+MDB663wixhjKo6nB5Cvoc4/Onke1dAJXkdiw+/B7bIEqC9skpT1UGEzwM LqsaUHneF+aUV6f19M3aw5371EZrwyc3qFOi89eGhN3/tnfnL1QUH4q7SNpIFC/gsS2L hicJ6Lcu4JzGmkI2/rXPMmF8hudBhDt7vo+a/OnEmleDRyy0GUvNtobxkBRvnlnB4Keg t9cHtfXHJM2T+uojV4UU0fQf8ZMVFgO4/m+Mej6XxIj8t56BvLtBEADIb2FtqhKfu8WC khJQ== 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=o0ED1kfJG1RufpI9CAgyV1TxWurfgTv4TIBc7Zp6N1g=; fh=ftKU8xb951ucjgYEObgA/c3GJvlbkTWWeCtjR8QevbU=; b=utrS09Ml1sjQ0NFvZt0S3txKmE2Tig5S8zCh9v2g5VI0hYWzQxsoRH4SDaWbbQUPfb MkW2w2bdwBpB8BUexZhN2AT95i0ur6Ee4c8MRJUmRKBaEHcsVeSKMZCLkGZfarmS99TT zvTWZJed70Z7SMI91ptkKt31ZecUiKJRdnBb+PswB4kpsyR9KjtFB80mp5L/eSPwXxwk 6afsyHZN0EtXl+3SKBHqEpJFGogQtLW2oBR12nOtjVebH6WCzoeV78sLNj4ggbs0G6dC xejCLksRzXzKI4C5jJ8to3STk8zApDjJLySrBB/A7yNpX/lHl0MsMji143MOuauh3UrL hLxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=s6kvyYv0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id x9-20020a170902a38900b001c3b2d40b3csi12689357pla.330.2023.09.28.03.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 03:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=s6kvyYv0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id B201680613AF; Thu, 28 Sep 2023 02:26:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231864AbjI1J0G (ORCPT + 21 others); Thu, 28 Sep 2023 05:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231787AbjI1JZZ (ORCPT ); Thu, 28 Sep 2023 05:25:25 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 254F6CF6; Thu, 28 Sep 2023 02:25:21 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38S9PAwD104297; Thu, 28 Sep 2023 04:25:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695893110; bh=o0ED1kfJG1RufpI9CAgyV1TxWurfgTv4TIBc7Zp6N1g=; h=From:Date:Subject:References:In-Reply-To:To:CC; b=s6kvyYv0IrHovbvZq9KKX2JghoGppsy0vNEtq24IJg1qLNZEasa1rg5nDk/kB+8u/ l0z7yKul1coqQvnm9QF0evvpSs0SdiYu9rFd/It1SjnUIk6PGMGFYGPAxyP5Qkjamk 4KW9JLeedi/00MWhYoG860BqDdcH0dl7i7v5gqZY= Received: from DFLE115.ent.ti.com (dfle115.ent.ti.com [10.64.6.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38S9PAc7013142 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 28 Sep 2023 04:25:10 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 28 Sep 2023 04:25:10 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 28 Sep 2023 04:25:10 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38S9P9Xx121283; Thu, 28 Sep 2023 04:25:10 -0500 From: Jai Luthra Date: Thu, 28 Sep 2023 14:54:31 +0530 Subject: [PATCH v2 6/6] arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A MIME-Version: 1.0 Message-ID: <20230928-mcasp_am62a-v2-6-ce9f0e1ba22b@ti.com> References: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> In-Reply-To: <20230928-mcasp_am62a-v2-0-ce9f0e1ba22b@ti.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , Jai Luthra X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=867; i=j-luthra@ti.com; h=from:subject:message-id; bh=/Lj5kyUdXlkA9yGStAcfh52IUoBdgRQoHn/afCOf6+c=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBlFUZnbUw5nSwPtomUBH4NLaw//CRnbWv9s8MaE 8Ep8DCTFZWJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZRVGZwAKCRBD3pH5JJpx RWIZD/415zV3mz8jK19pj5dxOhPYqM0c67jMJwr5iixRKbcVt3R4kFTonmnPI29S/zTV4s7iymZ /tBLBJ7Un4U0F+VJZ+0kiUjnhUKlL555Yxp1VXSSvJTBlKfFbMGPfE6vIaCG2hXeubsor6CTNup oh3HFiSiI5+Eb09j+EjEXvB9BGAfunZPLqtSQzOphscNH8asVepBhOeUCyLvgtbXEAYD3AKo3+g zX9N6eK9G8XHk5dOr/CWeJWmp4gvB6GkNZpNUXz756WRzCxWHWuADPuzeqVDAGxys6EF2vN3jqQ e4DEaSXII37lEJKEbACNNO3QC9anuNTAHGWiXLwpuW3bt4WycyubMszGQYsm+AqE5fUAIKAA8Dc zCDOUF338oGZryzEm44mbI3zKDBQnk/HiAZfkmzEd5WJH6X8kkHnRK97ULyEkdSAc5Q3isHZx9n 9oCRR6igYNf8x/OIm6TocVTUqdpdH9FPGEAEcQ4G4XW9k9a+qqTy+wc15uZTM1p0CYMggUDIDs+ 2iNPCA7cqzTgpihleTGh7XsTJA3JC5fTx9SmyBpPGSYlLcYZ84gauWOQDv9hgapXrlYePHTT2IY SpVInTK3+eLtBz6DfXslBHU9ENXWhpoMzLuX34gHrbQJ/Qy0/8WEmKFoykFdGtFG/mWG12s562a mOm6IXDmCkH3olg== 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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 28 Sep 2023 02:26:47 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778276420665376142 X-GMAIL-MSGID: 1778276420665376142 SK-AM62A-LP uses TPS6593x PMIC (interfaced over I2C) to power the SoC and various other peripherals on the board [1]. Specifically, the audio codec (TLV320AIC3106) on the board relies on the PMIC for the DVDD (1.8V) supply. [1]: https://www.ti.com/lit/zip/sprr459 Reviewed-by: Devarsh Thakkar Signed-off-by: Jai Luthra --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 66bfbef73324..38f0ce9cd2a3 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -725,6 +725,7 @@ CONFIG_MFD_SEC_CORE=y CONFIG_MFD_SL28CPLD=y CONFIG_RZ_MTU3=y CONFIG_MFD_TPS65219=y +CONFIG_MFD_TPS6594_I2C=m CONFIG_MFD_TI_AM335X_TSCADC=m CONFIG_MFD_ROHM_BD718XX=y CONFIG_MFD_WCD934X=m