From patchwork Fri Mar 24 08:55:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jai Luthra X-Patchwork-Id: 13186552 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 EA39EC6FD20 for ; Fri, 24 Mar 2023 08:56:30 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=IbEk0szZHqlx30Syue2f6HX/0UYC5GRlXkbD2spjVgE=; b=p4ph2CuyUmtYib Pf9OMf9pveh9KblJ8WBrIyfSvrgn0cPXVLlxIRP7g7Rc5e/pQVSOR0+a+k68GW/ewlanZ7rFePxJQ NujB9Q6xrXNfpv0JoDd14jhC8tWCGy6AR6VYxhfmHNp3HltI0Iu8EyPNXva52vJeN2EoeAJcxWnIs Ckh75RjaEG2ZYFEIxy1bWSE7Lnpb0XczdDFSTPfyfWsvzAc7AA9zN6HSwjV38kciykOuAux8zGq2I rMMVt3irhblyxC8bx7A0vOWELgPV7gTuO/6e/oKKV1Yhtz1IUNIC6yxsuo92f/sjRYi2E7floM38Y Q4fhZcVNOGHU4UmAsuQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pfdD8-003w0p-0U; Fri, 24 Mar 2023 08:55:46 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pfdCx-003vwJ-2o for linux-arm-kernel@lists.infradead.org; Fri, 24 Mar 2023 08:55:37 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32O8tSQ2109226; Fri, 24 Mar 2023 03:55:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1679648128; bh=iex5qyliMq2Kt/A4FkjflgasDUlNCyGEwIwcs3aI2A0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VtllT93aQuIB/+kKofQdQpZAJ9cbQhcJS/h48E0X5tU/d2fanG17m18nmkKy8Pc1P 4V8KXDII6TJq2o1Ll+Axf4jGHLZH6N+QGi/hKFwH+QEIIIs/07qAxmfnJp9EjtPOJm p08oRKxL5uu23c26VIZh7FzayPChL+5wllR3sHEI= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32O8tS9j009032 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Mar 2023 03:55:28 -0500 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 24 Mar 2023 03:55:28 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE108.ent.ti.com (157.170.170.38) 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; Fri, 24 Mar 2023 03:55:27 -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 32O8tR7w049526; Fri, 24 Mar 2023 03:55:27 -0500 From: Jai Luthra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Catalin Marinas , Will Deacon CC: , , , Andrew Davis , Jayesh Choudhary , Devarsh Thakkar , Aradhya Bhatia , Jai Luthra Subject: [PATCH v7 5/6] arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators Date: Fri, 24 Mar 2023 14:25:19 +0530 Message-ID: <20230313-mcasp_upstream-v7-5-88168d0df9b8@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230313-mcasp_upstream-v7-0-88168d0df9b8@ti.com> References: <20230313-mcasp_upstream-v7-0-88168d0df9b8@ti.com> MIME-Version: 1.0 X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1485; i=j-luthra@ti.com; h=from:subject:message-id; bh=89iMQQ1UzhGpsP8Ub7JZE+Zeru9HloZUwbHrSaYxdwE=; b=owEBbQKS/ZANAwAIAUPekfkkmnFFAcsmYgBkHWSJ+0wvbsSLXIYgJpleGOcV9B2CgUJ5UxPb5 nqtZv21CtCJAjMEAAEIAB0WIQRN4NgY5dV16NRar8VD3pH5JJpxRQUCZB1kiQAKCRBD3pH5JJpx RWIoEACGWTL2bOtTS/k2p/K3I8dLcnEShGKI4sHyZUUWNaAQUVOuBS+XuVEB7QHs1Z72MYt24WF dK7zCYJlDi770dfjCYknaNDbSuLah53CiiMuPi6gNz08VWspwVjIrBszPdUIi1nsJlYE8OYe2cH mWNDw5t9r7F+crxM0gKRPyRj2w9UmnxvtsEAtv77yl/j//uyh6fxPpZE70cnU7AbUAcr/23QftF cruendclHoraLU4S2/8gQZXV4JtBdpiWKgLnS0I/Hw3qMWZuA39uj/KRTAXDgsST0Gb8S1FVqqN QLdkLrfih77gGyCnpq2gE5Ru0kulL4Z9/Lk//RCUkQzCeto375oxL5YvcfpKi/qXR3n8s9cl2lZ APAaNHCwoq2NKRBGwWYQgNF2kgYPVnbffVJFug3pBlT/IcIgyRqd0pF3nIY2lMPobEHtVH3tlav TEko6QmNMe3/JUktHe2A/0QbK0YdH/XzMsmyM9Mshgnv7yYf38oddt7frgQ9DxBxktKrqHY/5qO lZNHpf8INVXQzr81CoonaR87v1Y0dLBhhe4sAQRGu3DehJeKPksYNs5SHsA6t7dTHZyuWR2N12B bGrWRq7e4RGuZxrfH84tp0LHYGE73X4luBHNw+Njrfau54N/HPi7tJ+b55hwRxSK5daV3EsMWL/ NlJZIVNsQFOO8FA== 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-20230324_015536_002372_483EFB79 X-CRM114-Status: GOOD ( 10.95 ) 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 f6a67f072dca..2296d656323c 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts @@ -77,10 +77,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>; @@ -99,6 +99,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";