Skip to content

Commit

Permalink
drivers: gpio: retire pca95xx driver
Browse files Browse the repository at this point in the history
pca95xx 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 18, 2024
1 parent 53f547b commit 02778b2
Show file tree
Hide file tree
Showing 13 changed files with 10 additions and 943 deletions.
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
1 change: 0 additions & 1 deletion drivers/gpio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ 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)
Expand Down
1 change: 0 additions & 1 deletion drivers/gpio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ 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"
Expand Down
27 changes: 0 additions & 27 deletions drivers/gpio/Kconfig.pca95xx

This file was deleted.

Loading

0 comments on commit 02778b2

Please sign in to comment.