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";