]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: toradex-smarc-imx95: Add gpio-hog support
authorFranz Schnyder <franz.schnyder@toradex.com>
Mon, 30 Mar 2026 07:59:42 +0000 (09:59 +0200)
committerFabio Estevam <festevam@nabladev.com>
Thu, 2 Apr 2026 12:11:08 +0000 (09:11 -0300)
On the SMARC iMX95 the WiFI UART and JTAG signals are shared. The
WIFI_UART_EN signal is used to select between these two modes.
Currently, there is no hog present in the device tree but the
configuration needs to be added, as once the device tree comes from
mainline Linux, a hog will drive WIFI_UART_EN high to select by
default the UART function during boot.

Enable CONFIG_GPIO_HOG to apply gpio-hog definitions in the device tree.

Signed-off-by: Franz Schnyder <franz.schnyder@toradex.com>
configs/toradex-smarc-imx95_defconfig

index c8da431d1c77805dfdeb1be133add567a472f050..61abeff1afb633fa69764986e385507451951b46 100644 (file)
@@ -125,6 +125,7 @@ CONFIG_SPL_FIRMWARE=y
 # CONFIG_SCMI_AGENT_SMCCC is not set
 CONFIG_IMX_SM_CPU=y
 CONFIG_IMX_SM_LMM=y
+CONFIG_GPIO_HOG=y
 CONFIG_IMX_RGPIO2P=y
 CONFIG_DM_PCA953X=y
 CONFIG_SPL_DM_PCA953X=y