diff options
author | Okan Sahin <okan.sahin@analog.com> | 2023-07-29 15:56:33 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-07-29 15:56:33 +0200 |
commit | 659ad5f7efece8f92213ca069c494a37507c8c67 (patch) | |
tree | c2374277464dbf473b0720debfdfb069dab9eace /drivers/gpio/Kconfig | |
parent | dt-bindings: gpio: ds4520: Add ADI DS4520 (diff) | |
download | linux-659ad5f7efece8f92213ca069c494a37507c8c67.tar.xz linux-659ad5f7efece8f92213ca069c494a37507c8c67.zip |
gpio: ds4520: Add ADI DS4520 GPIO Expander Support
The DS4520 is a 9-bit nonvolatile (NV) I/O expander.
It offers users a digitally programmable alternative
to hardware jumpers and mechanical switches that are
being used to control digital logic node.
Signed-off-by: Okan Sahin <okan.sahin@analog.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 61a8d07e5a1c..c5324e44b74e 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig @@ -1029,6 +1029,17 @@ config GPIO_FXL6408 To compile this driver as a module, choose M here: the module will be called gpio-fxl6408. +config GPIO_DS4520 + tristate "DS4520 I2C GPIO expander" + select REGMAP_I2C + select GPIO_REGMAP + help + GPIO driver for ADI DS4520 I2C-based GPIO expander. + Say yes here to enable the GPIO driver for the ADI DS4520 chip. + + To compile this driver as a module, choose M here: the module will + be called gpio-ds4520. + config GPIO_GW_PLD tristate "Gateworks PLD GPIO Expander" depends on OF_GPIO |