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: 74441 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480193vqo; Fri, 24 Mar 2023 02:10:47 -0700 (PDT) X-Google-Smtp-Source: AKy350YvM8TovGjwfwEqbTpahthRXgUUVshQQskD8bwm3vkwtFT9fvDNFrcPMFCF9HWaLujWz/0Y X-Received: by 2002:a17:902:f9cf:b0:19c:b7da:fbdf with SMTP id kz15-20020a170902f9cf00b0019cb7dafbdfmr1806927plb.26.1679649047726; Fri, 24 Mar 2023 02:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679649047; cv=none; d=google.com; s=arc-20160816; b=wWe3yx7Mm8qs1ri5nloN5IHQJTZBejHBX8rOqFc/k00G3CL7pp3Gb0Q01yRBHsT+g2 tNIFBIsFG1uu7e2j9G4bO7odndjBp1hm+M6Pf1PsQs57UqP5624zBsQuXegcC92I7hxn gM7jp0TZFMMxT5sSSOwJ2Yvd30BejC4QNcIzBapj3eN638MCWjQd2d0pSiAGxSnNgIni ZeTbkJH/ZyMtNGlUE4opkrExs5v4EEVzLi2rRrgYYb7y22dIEey1/iYl4gXIu+BpuinE Bo+5m//1knD/qGuPZYqG18tyffGPLtbh9qyLqODSe8MpCZ/4kDb2OkByqkKhoVQ5XAep 8tpg== 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=iex5qyliMq2Kt/A4FkjflgasDUlNCyGEwIwcs3aI2A0=; b=d0mkzSjWdZ0VSfClM/dKt1CBYFqPqwhGKywAnnywu99fzbA0/RyffVlD593MWASop8 LAHXo3Gi4VAT/E3ukerN2RR/EAKUwSutktESF6p9Jp86G6ejzO5vt/KTMcytrbkCSTzv azgta1WwaDApQFK+3VIc8/uRlSChgFdsMbQ0tBSrOZiutJCahJf8E0jUsnHqjFP7iaZk YOQQHkPlqoLRfRUWS3pI2AWJOiM1DJ/c2ogI82GqEjNWLgkOFs105O1DYz8wf1kSFEV5 rUNPOyxOJGKTW/J2jafgSl88fo8rq2pOX2iY+z9Mowe0WV16tTQ3MiZtSLkcWsSQuxbf fPDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VtllT93a; 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 kr16-20020a170903081000b0019e88453482si19621914plb.306.2023.03.24.02.10.34; Fri, 24 Mar 2023 02:10:47 -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=VtllT93a; 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 S231954AbjCXIzx (ORCPT + 99 others); Fri, 24 Mar 2023 04:55:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231918AbjCXIzj (ORCPT ); Fri, 24 Mar 2023 04:55:39 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB4C1CBF2; Fri, 24 Mar 2023 01:55:38 -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 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-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=unavailable 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?1761239679743796848?= X-GMAIL-MSGID: =?utf-8?q?1761239679743796848?= 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";