From patchwork Thu Mar 30 10:59:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 13193950 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 0DE58C761A6 for ; Thu, 30 Mar 2023 11:00:44 +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=34hw9BiNCYqFZLCoHa0lbmpUNDcf7KURmWa3OlYwqIc=; b=LTikhA27IMWHoN Ex/BwmtYGvMLFkRB7ctJv5EqZ93cHnJM7aBcgvE1ilU/eeRAVFsvEUBSZ62pwiPKI8mL0cz8VR9tO lIBZRuKbA5g6W/JSv+Bi0a5kCNQU4UZcr6ghQa6jqcnaQ6r46SPvBP1d2J6IZVglKlCIovwY2G+FW vSI9ljECz1vXQ5ZeXZUn6PzZ4qUg7zQQTInBUmlsuTzTzh7zYTpYll4nDno9z60GQIIy+NyCYlt79 D7gy0iEWC39fewjaCJBuWrSWkkXR2T/Im+XGNsp5XITt05BFugSb9HakQHlN6j5c9CU54XBh5/JY5 VajGoZCwQaVFNP1i4aSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phq0Z-003YJ8-2o; Thu, 30 Mar 2023 10:59:55 +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 1phq0T-003YHh-36 for linux-arm-kernel@lists.infradead.org; Thu, 30 Mar 2023 10:59:51 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32UAxXGJ027953; Thu, 30 Mar 2023 05:59:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680173973; bh=ztIlZN8rT9PZjYhYtmtwP6APC5vRSZr684pdKkF3wRU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Xa7905kkannsQx5tmQTY9wk730krnc+GvHifTLhOx+0V8iABDzdX5/gqmar0tEbaM MKNipr3leM10fiyAXlCngHiTsbRTUlY8NIghCTMSUPFSasuQXFXKYZ8UQ0CuKGtOUt +zsPau1tqxtbEdqATkh5MhSuuxtytPBGVrnY9MT4= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32UAxXkG046368 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Mar 2023 05:59:33 -0500 Received: from DFLE113.ent.ti.com (10.64.6.34) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 30 Mar 2023 05:59:33 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE113.ent.ti.com (10.64.6.34) 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; Thu, 30 Mar 2023 05:59:33 -0500 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32UAxQaG002400; Thu, 30 Mar 2023 05:59:30 -0500 From: Vignesh Raghavendra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski CC: Catalin Marinas , Will Deacon , Bjorn Andersson , Arnd Bergmann , , , Subject: [PATCH 1/2] arm64: configs: defconfig: Make TPS65219 regulator built-in Date: Thu, 30 Mar 2023 16:29:20 +0530 Message-ID: <20230330105921.3639185-2-vigneshr@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230330105921.3639185-1-vigneshr@ti.com> References: <20230330105921.3639185-1-vigneshr@ti.com> MIME-Version: 1.0 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-20230330_035950_077995_CB7F9DF5 X-CRM114-Status: GOOD ( 10.97 ) 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 These regulators control SD card power supply and thus need to be built-in to support SD card rootfs, which is common for embedded devkits and EVMs. bloat-o-meter: add/remove: 13/0 grow/shrink: 0/0 up/down: 1724/0 (1724) Total: Before=17068776, After=17070500, chg +0.01% Signed-off-by: Vignesh Raghavendra --- arch/arm64/configs/defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d206a9120ee4..a502d9dc4b57 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -691,7 +691,7 @@ CONFIG_MFD_SPMI_PMIC=y CONFIG_MFD_RK808=y CONFIG_MFD_SEC_CORE=y CONFIG_MFD_SL28CPLD=y -CONFIG_MFD_TPS65219=m +CONFIG_MFD_TPS65219=y CONFIG_MFD_ROHM_BD718XX=y CONFIG_MFD_WCD934X=m CONFIG_REGULATOR_FIXED_VOLTAGE=y @@ -721,7 +721,7 @@ CONFIG_REGULATOR_QCOM_SPMI=y CONFIG_REGULATOR_RK808=y CONFIG_REGULATOR_S2MPS11=y CONFIG_REGULATOR_TPS65132=m -CONFIG_REGULATOR_TPS65219=m +CONFIG_REGULATOR_TPS65219=y CONFIG_REGULATOR_VCTRL=m CONFIG_RC_CORE=m CONFIG_RC_DECODERS=y From patchwork Thu Mar 30 10:59:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vignesh Raghavendra X-Patchwork-Id: 13193949 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 37F79C761A6 for ; Thu, 30 Mar 2023 11:00:38 +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=gbeDQCQh3HlMh/2iYyFpOEpdOEt/TVzndxgIOKDXkU0=; b=Ujj07gdqQXcQmE zUYT46XXWlVGIuZCBL/VgrSDLcHGYUQX/KO6FKNNT5NvyEcUHYhZw3wQ7qlhPQ0kH3z0DNKY5mCcT LL3bHaaPAsQ7gEetAigQyTBkstMsvBkgXsjHv6nQeljUu9r+/7YzzZHKJMeyGsvS73GfVVzHFpCAA F/sK6/H83+Zhqeyepicz2iPQkhTlkS9x6xzhu5FzpIk9VIJuBjXNuY4xEczJSl1AGGkHDYa0BoC31 1k/69/gHNeSO7sL/Kxtqpov7gs59XCWWRXJaS/bE8zUXEFP1pJDi0Et21rj1cL7f/ECcPmNNuUJ8i s5EVh1rQ2/zdoMED31MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1phq0Y-003YIr-2v; Thu, 30 Mar 2023 10:59:54 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1phq0Q-003YGs-2X for linux-arm-kernel@lists.infradead.org; Thu, 30 Mar 2023 10:59:48 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32UAxbbi111162; Thu, 30 Mar 2023 05:59:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680173977; bh=8U97SW0iELIQ4Bzrc6N656YmkNLmEnpIbYP25OEB2SY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=YTAMreWZ4i+gYP4Td1gKtZye8V5CkTCUNrSlZKzU/qnI5rkUPV5Ff82An9k3vzTfq qZTWUZpSVyX3RdxOYjM7rwXq0s0P2MJ5mzrjftLS6KL99pLihiRIJ7RsspvdmInHcN XYG2yjdce6AGq++JRGgwFlLF2WOFo2aR1td7vD0s= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32UAxbFj046397 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 Mar 2023 05:59:37 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Thu, 30 Mar 2023 05:59:36 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) 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.16 via Frontend Transport; Thu, 30 Mar 2023 05:59:36 -0500 Received: from uda0132425.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32UAxQaH002400; Thu, 30 Mar 2023 05:59:33 -0500 From: Vignesh Raghavendra To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski CC: Catalin Marinas , Will Deacon , Bjorn Andersson , Arnd Bergmann , , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am625-beagleplay: Fixup SD card supply regulator Date: Thu, 30 Mar 2023 16:29:21 +0530 Message-ID: <20230330105921.3639185-3-vigneshr@ti.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230330105921.3639185-1-vigneshr@ti.com> References: <20230330105921.3639185-1-vigneshr@ti.com> MIME-Version: 1.0 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-20230330_035946_868479_7FF2E7EC X-CRM114-Status: GOOD ( 11.37 ) 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 The SD card supply is really coming from PMIC LDO1 even though its controllable via GPIO. Signed-off-by: Vignesh Raghavendra --- arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts index f75e79e54dfc..abf997de4279 100644 --- a/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts +++ b/arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts @@ -139,7 +139,7 @@ vdd_sd_dv: regulator-5 { regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; - vin-supply = <&vdd_3v3>; + vin-supply = <&ldo1_reg>; gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; states = <1800000 0x0>, <3300000 0x1>;