From 50a212ec906f7524620675f0c57357691c26c81f Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 16 Oct 2024 01:20:19 +0000 Subject: [PATCH] 修改GPIO导出默认初始值 --- kernel/drivers/gpio/Kconfig | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/gpio/Kconfig b/kernel/drivers/gpio/Kconfig index 20bff29..a937d2b 100644 --- a/kernel/drivers/gpio/Kconfig +++ b/kernel/drivers/gpio/Kconfig @@ -99,7 +99,7 @@ tristate config GPIO_REGMAP - depends on REGMAP + select REGMAP tristate # put drivers in the right section, in alphabetical order @@ -984,6 +984,14 @@ help Select this to enable the MC9S08DZ60 GPIO driver +config GPIO_NCA9539 + tristate "NCA9539 I2C GPIO expander" + depends on I2C || COMPILE_TEST + select REGMAP_I2C + help + Say yes here to support the NCA9539 series of I2C Expanders. + GPIO expanders used for additional digital outputs or inputs. + config GPIO_PCA953X tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" select REGMAP_I2C -- Gitblit v1.6.2