From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CA8C13164C3; Wed, 20 May 2026 16:49:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295751; cv=none; b=faicwcqQS+v8sb9yw9OZ1mQlbvOEUW5k5Cuigql56xGk2ummAMBIJji3y0qg0OQzj+iTBfMnIAg4yOMxa2N6mxtzfE3jE2E9PsKFy7VtieUp+0YwCOGd+WpWpKI5Z94GQsXFHXrl0ewMSWtWQSke/tniKQeAa/QLwg0YK13nZ/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779295751; c=relaxed/simple; bh=Ko57DA91ke64pLzkzDt5eTviw7owB7m/MYqnl92kNGY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CLTQxYFcpQZ8BX1XAPq81slFSovFh/+VhVSGTBq2+a1OgidACFnVZmQlJRGYgEaWXNkeHg3iZrDtmy67PsDuis2+8DPXkwxmGqp40bQPXHL03OuWMQvakklzfvM/XmyFDIx75+LZn4BfUZWJE6bmImCfce7sr5Cdxe9TZGHO524= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZFWIT79R; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZFWIT79R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CD981F00893; Wed, 20 May 2026 16:49:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779295750; bh=M12T00R5Ulzz/FRaYxuAPs3OlONhEYvEPLMdRckB890=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZFWIT79RVYqxbwfigkBZZF1V15PfdmAZquXkbY2+ryez0zvsYePo6hUEt2OSueqGi h4gN9seop5PmgXBWgMth+ia4zaIS9xSUIkT+K+HiyA8KXj7+a541XSXcsKv87N7k8V YUnbM6GE7XzaLtNZ0juWQLZae19w8nmo+G+jpzgs= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Annette Kobou , Frieder Schrempf , Frank Li , Sasha Levin Subject: [PATCH 7.0 0538/1146] arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC Date: Wed, 20 May 2026 18:13:08 +0200 Message-ID: <20260520162200.356395858@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162148.390695140@linuxfoundation.org> References: <20260520162148.390695140@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 7.0-stable review patch. If anyone has any objections, please let me know. ------------------ From: Annette Kobou [ Upstream commit 130d90114c5255a7a729158da8fd8298a02017f1 ] 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, 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, simply express this in the DT to create the required dependency. Avoid 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 SoM and BL carrier board") Signed-off-by: Annette Kobou Signed-off-by: Frieder Schrempf Signed-off-by: Frank Li Signed-off-by: Sasha Levin --- 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 = "default"; pinctrl-0 = <&pinctrl_rtc>; interrupts-extended = <&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 = <®_vdd_3v3>; }; }; -- 2.53.0