]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC
authorAnnette Kobou <annette.kobou@kontron.de>
Mon, 9 Mar 2026 08:57:43 +0000 (09:57 +0100)
committerFrank Li <Frank.Li@nxp.com>
Fri, 27 Mar 2026 13:52:28 +0000 (09:52 -0400)
commit130d90114c5255a7a729158da8fd8298a02017f1
tree34eccd5c9a3db0a5c0474349f0584598369b4fb8
parentd213404642af732fe73f35dfd1c7ed6801556362
arm64: dts: imx8mp-kontron: Fix boot order for PMIC and RTC

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 <annette.kobou@kontron.de>
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm64/boot/dts/freescale/imx8mp-kontron-osm-s.dtsi