From patchwork Tue Aug 8 11:03:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 13345961 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 B8686C001DB for ; Tue, 8 Aug 2023 11:04:27 +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: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=zZTBNy4CXRu6HDFcDO784U7sJIpVcSiWTL4mwwomy7U=; b=dNZSvntu5KBCCo KJGq1MrNIT1ZaZyEK+nYg+xIp00V+Cvg5bv2bYvjBS9bJWpmuujcG+f/GgVfpZiOCGSAEPaRwcuDu OcCdx9X1h2Q5iOH2ySNHDONbl6ZlczsItT4mpm4EhPujej7bhlsSPXy/afC81p6M3J2vFWjVSts8x Z7ogOkossJ2pQ9yT1ByIrgE21f53sbmQkOSrye4XElvSda1zk0zARee+8wcYXyCiMBl39TUZu50Jp QfcRLGn/IDgWDkVULZcTr+yxk3Fu96a+Sh12Jy7kLgv0CbLhRhbUQXoDr9C1Ht6Ukz0wLQ6hZtVd9 Ot9U0c361shl3s8O3CJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTKVM-002R1B-24; Tue, 08 Aug 2023 11:04:00 +0000 Received: from aposti.net ([89.234.176.197]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTKVJ-002R0c-0u for linux-arm-kernel@lists.infradead.org; Tue, 08 Aug 2023 11:03:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1691492629; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=KRC2QmTX7VAPdlYPacftr2tGKJxHpsE85DryjUqJOVk=; b=QKfcTLQkVQXBTcA0qv79E6CyOi10fwQRVLPAtuMExcG99mIUACe1XBvU2bBfKQbH9OP2Ke 6/x17eV+ZkWyqJ+fq+0RIKrux0nPvwCorjhMFGCKlARrV/N8qaF78QTYYqP4D7gtmEWzew FK2rDp619YNiOQj3hx9tzOlYxtlANJY= From: Paul Cercueil To: Krzysztof Kozlowski , Rob Herring , Conor Dooley , Alim Akhtar Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil , stable@vger.kernel.org Subject: [PATCH] ARM: dts: exynos/i9100: Unconditionally enable LDO12 Date: Tue, 8 Aug 2023 13:03:41 +0200 Message-Id: <20230808110341.57891-1-paul@crapouillou.net> MIME-Version: 1.0 X-Spam: Yes X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230808_040357_504609_817CE31A X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. 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 kernel hangs for a good 12 seconds without any info being printed to dmesg, very early in the boot process, if this regulator is not enabled. Force-enable it to work around this issue, until we know more about the underlying problem. Signed-off-by: Paul Cercueil Fixes: 8620cc2f99b7 ("ARM: dts: exynos: Add devicetree file for the Galaxy S2") Cc: # v5.8+ --- arch/arm/boot/dts/exynos4210-i9100.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts index a9ec1f6c1dea..a076a1dfe41f 100644 --- a/arch/arm/boot/dts/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/exynos4210-i9100.dts @@ -527,6 +527,14 @@ vtcam_reg: LDO12 { regulator-name = "VT_CAM_1.8V"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + + /* + * Force-enable this regulator; otherwise the + * kernel hangs very early in the boot process + * for about 12 seconds, without apparent + * reason. + */ + regulator-always-on; }; vcclcd_reg: LDO13 {