Skip to content

Commit

Permalink
drivers: gpio: retire pca953x driver
Browse files Browse the repository at this point in the history
pca953x driver can be replaced by pca_series driver, which covers a
larger number of devices.

Signed-off-by: Chekhov Ma <[email protected]>
  • Loading branch information
CkovMk committed Sep 11, 2024
1 parent ccc4357 commit 30051d9
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 587 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
};

gpio_exp0: tca9538@70 {
compatible = "ti,tca9538";
compatible = "nxp,pca9538";
reg = <0x70>;
gpio-controller;
#gpio-cells = <2>;
Expand Down
2 changes: 1 addition & 1 deletion boards/ezurio/bt610/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ config BT_CTLR
default BT

config I2C
default $(dt_compat_on_bus,$(DT_COMPAT_TI_TCA9538),i2c)
default $(dt_compat_on_bus,$(DT_COMPAT_NXP_PCA9538),i2c)

endif # BOARD_BT610
1 change: 0 additions & 1 deletion drivers/gpio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ zephyr_library_sources_ifdef(CONFIG_GPIO_NRFX gpio_nrfx.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_NUMAKER gpio_numaker.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_NUMICRO gpio_numicro.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_NXP_S32 gpio_nxp_s32.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA953X gpio_pca953x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA95XX gpio_pca95xx.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCAL64XXA gpio_pcal64xxa.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCA_SERIES gpio_pca_series.c)
Expand Down
1 change: 0 additions & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ source "drivers/gpio/Kconfig.nrfx"
source "drivers/gpio/Kconfig.numaker"
source "drivers/gpio/Kconfig.numicro"
source "drivers/gpio/Kconfig.nxp_s32"
source "drivers/gpio/Kconfig.pca953x"
source "drivers/gpio/Kconfig.pca95xx"
source "drivers/gpio/Kconfig.pca_series"
source "drivers/gpio/Kconfig.pcal64xxa"
Expand Down
23 changes: 0 additions & 23 deletions drivers/gpio/Kconfig.pca953x

This file was deleted.

Loading

0 comments on commit 30051d9

Please sign in to comment.