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: 13402393 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B6B66CE7B11 for ; Thu, 28 Sep 2023 09:26:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References:Message-ID :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uGZdveyjAD87N/o/IhsGDQ/OIKbJpD2k42M0xOx4KLk=; b=Rv7dlQBq0uyyCF rpUXfI04Vp9/D/ZGvRGVgmSP1AUKc2xLyhymFMAM9ZOEJmRBziwrTrkMZkCHS7LUL5SsHhvGo1k+D JVKYi3j23Rly2EQCKvVibvXP4hD+snc8G/Dcl6nMJ15/tlkX+HetYSb0lQgVkFbowHbYqOfNwxHEF JntSLEeTRSJHSpZQ0aX2LJnjiyXXRuhtxCkb1ND3xeG+6JxFzfS6WnIVa7TK7xXiyAp4lDV9pRHG6 z7hmAngMjM3DPEnKv+yr9iYpqSONlrWS0fnnw6ouBCZKgHAbuEfymHCYzCzJMZdI82rafqmf0hyS7 sJ5LR1TTbhSBc7oMhwJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qlnH5-002jE4-1d; Thu, 28 Sep 2023 09:25:35 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qlnGo-002j36-2H for linux-arm-kernel@lists.infradead.org; Thu, 28 Sep 2023 09:25:20 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230928_022518_974547_B361E74D X-CRM114-Status: GOOD ( 11.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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";