From 153255f15b3f76e57db5de77e5ebb2976506ed93 Mon Sep 17 00:00:00 2001 From: Jiafei Pan Date: Mon, 13 May 2024 10:47:49 +0800 Subject: [PATCH] board: mimx93_evk_a55: disable gpio expander by default This commit is to fix some GPIO test case build issue: https://github.com/zephyrproject-rtos/zephyr/issues/72619 In fact, the issue is introduce by expander GPIO PR: https://github.com/zephyrproject-rtos/zephyr/pull/69330 It is used to add GPIO expander support, in this PR, dts node layout is: lpi2c { MFD driver { gpio driver { } } } The initial idea is to disable all these node by default in order to keep a minimal default image, but expander GPIO PR only disabled lpi2c and MFD driver node, but enabled gpio driver node, so gpio driver will report building error as it depends on expander and i2c which are disabled, so this fix is to disable gpio node. If we want to use expander gpio, we need to enable i2c, expander and gpio nodes simultaneously. Some GPIO test cases have been enabled on i.mx93 EVK board by enabling onchip GPIO controller in the overlay, for example: tests/drivers/gpio/gpio_basic_api/boards/imx93_evk_mimx9352_a55.overlay Signed-off-by: Jiafei Pan --- boards/nxp/imx93_evk/imx93_evk_mimx9352_a55.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/boards/nxp/imx93_evk/imx93_evk_mimx9352_a55.dts b/boards/nxp/imx93_evk/imx93_evk_mimx9352_a55.dts index 40faba84117..cd025a547e7 100644 --- a/boards/nxp/imx93_evk/imx93_evk_mimx9352_a55.dts +++ b/boards/nxp/imx93_evk/imx93_evk_mimx9352_a55.dts @@ -119,6 +119,7 @@ line-name = "exp_sel"; output-low; }; + status = "disabled"; }; }; };