From patchwork Wed Dec 6 22:15:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 13482322 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 3CDF5C4167B for ; Wed, 6 Dec 2023 22:16:43 +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=fwtNfVFCIUGSd0VU9DbClXKWY4w2jegkd6r6XMhZyuM=; b=uHW6jg18LjfH9Z wAEyRb/TKfTrAit5hme53OjgmtHZJZNnbDPWakxknSb3jv02agl+Z1OKx6vECr6wMZj1ETT5M2ew6 2ocU1rh3B9fFBL03vWlxNh36r7HllaDM+8D7zrhlEuA5uTp3/HgBTrsr9mY1vdFUg5fVPHq4UfELQ iriJjHr4thCvmjYtvaxkSJTNHsMgjiAmJl+HoEBj/RqgkiEIdksYyytsKURXoRHZgkCoAowXVbNas VdZIAK4ijIM00FtyjQeNkIr5Mu/1WFxmrQV7kFxprkHRNYu1Z085fOVBj8uGHtd/xfbRVq3yPPtS+ QG2fWHBHFLeXKT4xikCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rB0Bo-00BOKJ-2j; Wed, 06 Dec 2023 22:16:20 +0000 Received: from aposti.net ([89.234.176.197]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rB0Bm-00BOJV-1M for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 22:16:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1701900965; 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: in-reply-to:in-reply-to:references:references; bh=DeOfiwPqUJFIvt+4ZOkSbwzl+rjE80SmmjKvk0CB4Ks=; b=Qwz79I/VCFDPi94zJjv74DUJAf1YJuPc7LpjnG7RQlkzqrRFAAPIR9wO5LaD+csZ5jmWFI zgztbxfKKGx9TadvY0Lg+7n0GO0mFR7Ty4LlC2254p7pY11r9PejoZD54IvuJPJh7H3w3l rr89iXVhaZxp1FODgHczgMbtSP7Y7WU= From: Paul Cercueil To: Rob Herring , Krzysztof Kozlowski , 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 1/3] ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12 Date: Wed, 6 Dec 2023 23:15:54 +0100 Message-ID: <20231206221556.15348-2-paul@crapouillou.net> In-Reply-To: <20231206221556.15348-1-paul@crapouillou.net> References: <20231206221556.15348-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-20231206_141618_612765_0FE2AB58 X-CRM114-Status: UNSURE ( 9.49 ) 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/samsung/exynos4210-i9100.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts b/arch/arm/boot/dts/samsung/exynos4210-i9100.dts index a9ec1f6c1dea..a076a1dfe41f 100644 --- a/arch/arm/boot/dts/samsung/exynos4210-i9100.dts +++ b/arch/arm/boot/dts/samsung/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 {