This patch is to update the GPIO configs to fix the following build warnings:

  WARNING:
    [INFO]: config 'CONFIG_GPIO_SYSFS' was set, but it wasn't assignable, check 
(parent) dependencies

  WARNING:
    [INFO]: the following symbols were not found in the active configuration:
     - CONFIG_GPIO_S32GEN1

The reason is that CONFIG_GPIO_SYSFS is deprecated and depends on EXPERT in
v5.15 kernel, so update CONFIG_GPIO_SYSFS to CONFIG_GPIO_CDEV. And the
CONFIG_GPIO_S32GEN1 is replaced by CONFIG_GPIO_S32CC, so update it too.

Signed-off-by: Zhantao Tang <[email protected]>
---
 bsp/nxp-s32g/nxp-s32g.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bsp/nxp-s32g/nxp-s32g.cfg b/bsp/nxp-s32g/nxp-s32g.cfg
index ae0d1460..b426e2e0 100644
--- a/bsp/nxp-s32g/nxp-s32g.cfg
+++ b/bsp/nxp-s32g/nxp-s32g.cfg
@@ -53,8 +53,8 @@ CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y
 CONFIG_SPI=y
 CONFIG_SPI_FSL_DSPI=y
 CONFIG_SPI_SPIDEV=y
-CONFIG_GPIO_SYSFS=y
-CONFIG_GPIO_S32GEN1=y
+CONFIG_GPIO_CDEV=y
+CONFIG_GPIO_S32CC=y
 
 #PCIE
 CONFIG_PCI=y
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#11279): 
https://lists.yoctoproject.org/g/linux-yocto/message/11279
Mute This Topic: https://lists.yoctoproject.org/mt/90983446/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to