From nobody Fri Apr 3 09:29:00 2026 Received: from mail2.fris.de (mail.fris.de [116.203.77.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD77631A7F8; Wed, 18 Feb 2026 13:31:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.77.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771421467; cv=none; b=kmBdlQqAgA0nu+64yOeRFnNMDhAN4zvw6vquW+DnCnzx7BM8yxbBlbvMH/NdWRszFHza2wlI3IF+e+f5pUDEsE59mPBLnSTECnd90NdVCiYq0s0559LoHT/j0f6tRXjWS9TU8dD0L64Ob+F1Qj74YszJAF4+r53N37s3S2F5FLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771421467; c=relaxed/simple; bh=cuQvL8BI8iOkp/0NVSsyyYOrJzK1E4le2JhX4MjuvdA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nJ+5pMeMzDhues8S434fWZzLCOnmir0s88GTcgUxa3u3prdD8/L0zEkHBNclfC/BYWhvqdgs57aYYTNC8WAb8rZON1nvkGb0v4L0tFCH/AWXSfGUgLY4+e3/Nlnux0aJoJtsbJ8Symyz6H/N7dSTkDhG5cfd/CYcpA1F9lFC/lc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de; spf=pass smtp.mailfrom=fris.de; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b=Ud6sNglD; arc=none smtp.client-ip=116.203.77.234 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fris.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fris.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fris.de header.i=@fris.de header.b="Ud6sNglD" From: Frieder Schrempf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=mail; t=1771421127; 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=WOmq4oIh50CVOlYgICncz5bv3GLxzZaAhwh07HpubHg=; b=Ud6sNglDE/M4quzvkVUl9ctLNQQRyC3b0bqyX1JCEJ5NbvOUOehiskILyFIUaOWIQ3TZTg GUjlqfdQicx5qhIkCpfvzTqtw6wlkPNae2hUYzPKCufT6q2xTN/IyWzQOrRYdKZ7EdlDPF m8lhc/VASPWqlC5ArDnvPus7ZjXEk+zCr029tGYn9DEj2cJ2mgH7GivDq+l9fc9zJUAqzi kUSQ4h7ITbfUAG6/o39r9rA2a8XvF8EZwNroagMVM0SR+jvjzdBKTJpRdgZmkfIk4aqs0y 2WoVxLn8D6kFyMgtgRblRQngADzf8sM9JbfvP3HkC5uT1wX7ZwgAj7o3XgoAzg== To: Conor Dooley , devicetree@vger.kernel.org, Frank Li , Frieder Schrempf , imx@lists.linux.dev, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Annette Kobou , Fabio Estevam , Pengutronix Kernel Team Subject: [PATCH 3/4] arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC Date: Wed, 18 Feb 2026 14:25:07 +0100 Message-ID: <20260218132519.74570-4-frieder@fris.de> In-Reply-To: <20260218132519.74570-1-frieder@fris.de> References: <20260218132519.74570-1-frieder@fris.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spam: Yes Content-Type: text/plain; charset="utf-8" From: Annette Kobou The PMIC provides a level-shifter for the I2C lines to the RTC. As the level shifter needs to be enabled before the RTC can be accessed, we need to make sure that the PMIC driver is probed first. As the PMIC also provides the supply voltage for the RTC through the 3.3V regulator, we can simply express this in the DT to create the required dependency. This fixes sporadic boot hangs that occurred when the RTC was accessed before the level-shifter was enabled. Fixes: 946ab10e3f40f ("arm64: dts: Add support for Kontron OSM-S i.MX8MP So= M and BL carrier board") Signed-off-by: Annette Kobou Signed-off-by: Frieder Schrempf --- arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi b/arch= /arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi index b97bfeb1c30f8..bc1a261bb000e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi @@ -330,6 +330,12 @@ rv3028: rtc@52 { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_rtc>; interrupts-extended =3D <&gpio3 24 IRQ_TYPE_LEVEL_LOW>; + /* + * While specifying the vdd-supply is normally not strictly necessary, + * here it also makes sure that the PMIC driver enables the level- + * shifter for the RTC before the RTC is probed. + */ + vdd-supply =3D <®_vdd_3v3>; }; }; =20 --=20 2.52.0