Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drivers: gpio: retire pca95xx and pca953x driver #78274

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -212,12 +212,12 @@
};

gpio_exp0: tca9538@70 {
compatible = "ti,tca9538";
compatible = "nxp,pca9538";
reg = <0x70>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
nint-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
int-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
};
};

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
4 changes: 2 additions & 2 deletions boards/ezurio/bt610/bt610.dts
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@
pinctrl-1 = <&i2c0_sleep>;
pinctrl-names = "default", "sleep";
gpio_exp0: tca9538@70 {
compatible = "ti,tca9538";
compatible = "nxp,pca9538";
reg = <0x70>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
nint-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
int-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
};

Expand Down
3 changes: 2 additions & 1 deletion boards/microchip/mec15xxevb_assy6853/mec15xxevb_assy6853.dts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
pinctrl-names = "default";

pca9555@26 {
compatible = "nxp,pca95xx";
compatible = "nxp,pca9555";

/* Depends on JP53 for device address.
* Pin 1-2 = A0, pin 3-4 = A1, pin 5-6 = A2.
Expand All @@ -106,6 +106,7 @@
* resulting in device address 0x26.
*/
reg = <0x26>;
ngpios = <16>;

gpio-controller;
#gpio-cells = <2>;
Expand Down
3 changes: 2 additions & 1 deletion boards/microchip/mec172xevb_assy6906/mec172xevb_assy6906.dts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
pinctrl-names = "default";

pca9555@26 {
compatible = "nxp,pca95xx";
compatible = "nxp,pca9555";

/* Depends on JP53 for device address.
* Pin 1-2 = A0, pin 3-4 = A1, pin 5-6 = A2.
Expand All @@ -160,6 +160,7 @@
* resulting in device address 0x26.
*/
reg = <0x26>;
ngpios = <16>;

gpio-controller;
#gpio-cells = <2>;
Expand Down
9 changes: 9 additions & 0 deletions doc/releases/release-notes-4.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ Drivers and Sensors

* GPIO

* pca_series: modified ``pca_series`` driver to unify support to tca and pca series I2C-based
gpio expanders.

* pca953x: removed and replaced with an API equivalent driver ``pca_series``.

* pca95xx: removed and replaced with an API equivalent driver ``pca_series``.

* pcal64xxa: removed and replaced with an API equivalent driver ``pca_series``.

* Hardware info

* I2C
Expand Down
3 changes: 0 additions & 3 deletions drivers/gpio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,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)
zephyr_library_sources_ifdef(CONFIG_GPIO_PCF857X gpio_pcf857x.c)
zephyr_library_sources_ifdef(CONFIG_GPIO_PSOC6 gpio_psoc6.c)
Expand Down
3 changes: 0 additions & 3 deletions drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,7 @@ 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"
source "drivers/gpio/Kconfig.pcf857x"
source "drivers/gpio/Kconfig.psoc6"
source "drivers/gpio/Kconfig.rcar"
Expand Down
23 changes: 0 additions & 23 deletions drivers/gpio/Kconfig.pca953x

This file was deleted.

27 changes: 0 additions & 27 deletions drivers/gpio/Kconfig.pca95xx

This file was deleted.

3 changes: 3 additions & 0 deletions drivers/gpio/Kconfig.pca_series
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ menuconfig GPIO_PCA_SERIES
default y
depends on DT_HAS_NXP_PCA9538_ENABLED || DT_HAS_NXP_PCA9539_ENABLED || \
DT_HAS_NXP_PCA9554_ENABLED || DT_HAS_NXP_PCA9555_ENABLED || \
DT_HAS_NXP_PCA9574_ENABLED || DT_HAS_NXP_PCA9575_ENABLED || \
DT_HAS_NXP_PCAL9538_ENABLED || DT_HAS_NXP_PCAL9539_ENABLED || \
DT_HAS_NXP_PCAL6408A_ENABLED || DT_HAS_NXP_PCAL6416A_ENABLED || \
DT_HAS_NXP_PCAL6524_ENABLED || DT_HAS_NXP_PCAL6534_ENABLED
depends on I2C
help
Expand Down
20 changes: 0 additions & 20 deletions drivers/gpio/Kconfig.pcal64xxa

This file was deleted.

Loading
Loading