From patchwork Mon Aug 19 20:43:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 13768962 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 08693C52D7C for ; Mon, 19 Aug 2024 20:45:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version: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:In-Reply-To:References:List-Owner; bh=/M4mzabDb17GXIAo28ICkg/ib/Ki3WmR2v5LnKU5Bis=; b=tfYARBmcylibyJ3oUcSIEnAkDO L5U4h5DBSKfySWVP/Y1dQ+sO0gIo2cWQzit1k1b/WrO+6MxyYgkoN9xaEUu07sZk7zHz3eQ3JykPk +vcsbyBx/CbS0w4vs0arHSlQiSVUlbvAZRYITLY0o7aAiO4SriLSpmdbElJ7jEQGDcAZgc3a2QTOc hcO2pykL51+qTZRTZyjcrwtuYLz+cuySkOINCbgxLf6nytUMV1ZiAviLGFPfPJyepoEHZbZGuS/XR v6Oc9HCOusJKlKrslmUrucsvXxyPTDdJXK3VTr0Kqw9WFLl+bI3Msb/T0h9YIQRcSFydDemynef/b G8QTh3hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg9FA-00000002uZc-0Eit; Mon, 19 Aug 2024 20:44:48 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg9ET-00000002uU1-0Pfq for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 20:44:06 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 47JKhqOc089762; Mon, 19 Aug 2024 15:43:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1724100232; bh=/M4mzabDb17GXIAo28ICkg/ib/Ki3WmR2v5LnKU5Bis=; h=From:To:CC:Subject:Date; b=lm0aV51/4n+CZyfxkw01lfpJEEQfK2VO7O45ushoAsMCjbKVaH9FptYeaWX1vgWkK G+UkptBXTgvY9b+bYx2N6BNa7Uk9iCI8h5NA27iV34V+OjyKY8GAIBiFh9WLoRGy2Y e7EmjN3wgQUUP8B3gibEk7CpxPQ3LEoF3el5cIlY= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 47JKhqJI006867 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Aug 2024 15:43:52 -0500 Received: from DLEE105.ent.ti.com (157.170.170.35) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 19 Aug 2024 15:43:52 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE105.ent.ti.com (157.170.170.35) 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; Mon, 19 Aug 2024 15:43:51 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 47JKhqSd037534; Mon, 19 Aug 2024 15:43:52 -0500 From: Judith Mendez To: Catalin Marinas , Will Deacon CC: Bjorn Andersson , Geert Uytterhoeven , Dmitry Baryshkov , Krzysztof Kozlowski , Neil Armstrong , , , Nishanth Menon , Vignesh Raghavendra , Bryan Brattlof Subject: [RFC PATCH] arm64: defconfig: Set MFD_TPS6594_I2C as built-in Date: Mon, 19 Aug 2024 15:43:52 -0500 Message-ID: <20240819204352.1423727-1-jm@ti.com> X-Mailer: git-send-email 2.46.0 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-20240819_134405_337080_1F9A735C X-CRM114-Status: GOOD ( 13.42 ) 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 SK-AM62A-LP is a device targeting automotive front-camera applications among other use-cases. It utilizes the TPS6593x PMIC (interfaced over I2C) to power the SoC and various other peripherals on the board [1]. MMCSD requires the PMIC to be setup correctly before setting the bus pins to 1.8V using the TPS6594 driver interfaced over i2c. Currently, the following could be seen when booting the am62ax platform: "platform fa00000.mmc: deferred probe pending: platform: supplier regulator-5 not ready" "vdd_mmc1: disabling" and a failure to boot the SK-AM62A-LP. One solution is to use initramfs [2], but using initramfs increases the boot time for this automotive solution which requires faster boot time parameters. Another solution is to change MFD_TPS6594_I2C to built-in, that way the PMIC is setup and the regulators are ready before MMCSD switches to UHS mode, this is the preferred solution since it does not increase boot time like the initramfs solution does. [1] https://www.ti.com/lit/zip/sprr459 [2] https://lore.kernel.org/linux-devicetree/5f03207b-c29b-4d16-92b0-d14eef77bf17@linaro.org/ Fixes: f9010eb938be ("arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A") Signed-off-by: Judith Mendez --- arch/arm64/configs/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 8400291e289ee6b2bf9779ff1c83a291501f017b diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7d32fca649965..61f767246d3a5 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -756,7 +756,7 @@ CONFIG_RZ_MTU3=y CONFIG_MFD_TI_AM335X_TSCADC=m CONFIG_MFD_TI_LP873X=m CONFIG_MFD_TPS65219=y -CONFIG_MFD_TPS6594_I2C=m +CONFIG_MFD_TPS6594_I2C=y CONFIG_MFD_ROHM_BD718XX=y CONFIG_MFD_WCD934X=m CONFIG_MFD_KHADAS_MCU=m