zephyr/drivers/gpio
Ayush Singh 18c569829a drivers: gpio: davinci: Match GPIO address with Linux
Currently, the Zephyr dt requires address to the direction register
instead of the base GPIO address. usually means base address + 0x10 when
compared with Linux.

To make things more consistent between linux and zephyr, handle the
direction offset in the driver itself. This also lays the foundation for
supporting more than 32 GPIOs per port in the future by introducing
offsets for all the banks.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2025-05-28 08:14:18 +02:00
..
CMakeLists.txt drivers: gpio: mspm0: Add a gpio support for MSPM0 family 2025-05-21 08:04:32 +02:00
gpio_ad559x.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_adp5585.c drivers: gpio: adp5585: fix wrong reg during pin configure 2025-03-10 08:59:26 +01:00
gpio_ads1x4s0x.c drivers: adc: ads1x4s0x: Rename files, preparing for adding new devices 2025-01-31 09:39:07 +01:00
gpio_altera_pio.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_ambiq.c drivers: gpio: Add support for Apollo510 GPIO 2025-04-21 20:04:31 +02:00
gpio_andes_atcgpio100.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_aw9523b.c drivers: gpio: Add support for Awinic AW9523B GPIO controller 2024-12-05 07:44:58 +01:00
gpio_axp192.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_b91.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_bcm2711.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_bd8lb600fs.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_brcmstb.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_cc13xx_cc26xx.c Revert "drivers: gpio_cc13xx_cc26xx: Update for latest sdk" 2025-03-17 13:55:34 +01:00
gpio_cc23x0.c drivers: gpio: Wrap driver instances in device API macro 2025-02-12 16:06:25 +01:00
gpio_cc32xx.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_cmsdk_ahb.c drivers: pinctrl: add pinctrl driver for Arm mps2 2025-04-07 15:18:10 +02:00
gpio_creg_gpio.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_cy8c95xx.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_davinci.c drivers: gpio: davinci: Match GPIO address with Linux 2025-05-28 08:14:18 +02:00
gpio_dw_registers.h
gpio_dw.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_dw.h
gpio_efinix_sapphire.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_emul_sdl_bottom.c
gpio_emul_sdl_bottom.h
gpio_emul_sdl.c
gpio_emul.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_ene_kb1200.c driver: gpio: ene_kb1200 gpio initial level 2025-02-14 00:44:57 +01:00
gpio_eos_s3.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_esp32_lp.c drivers: gpio: Add LP GPIO 2025-04-25 14:06:18 +02:00
gpio_esp32.c drivers: gpio: esp32: Add ESP32_ prefix to CPU_ID() macro 2025-04-08 08:57:57 +02:00
gpio_fxl6408.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_gd32.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_gecko.c drivers: gpio: gecko: add check for interrupt configuration 2025-02-21 15:14:07 +00:00
gpio_grgpio2.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_grgpio.h
gpio_handlers.c
gpio_hogs.c
gpio_ifx_cat1.c drivers: allow disabling gpio interrupt in ifx-cat1 gpio driver 2025-05-02 10:39:45 +02:00
gpio_imx.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_intel.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_iproc.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_ite_it8xxx2_v2.c drivers/gpio: ite: Validate num_pins to prevent untrusted loop bound 2025-02-08 10:09:20 +01:00
gpio_ite_it8xxx2.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_ite_it51xxx.c dts: ite: it51xxx: Change the base address of voltage selection 2025-05-07 13:33:14 +02:00
gpio_ite_it8801.c drivers/gpio: ite: it8801: Fix the GPIO output configure issue 2025-03-10 08:59:46 +01:00
gpio_kscan_ite_it8xxx2.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_litex.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_lmp90xxx.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_lpc11u6x.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_max32.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_max149x6.h drivers: gpio: Remove logically dead code for MAX149x6 2025-01-09 08:20:55 +01:00
gpio_max2219x.c drivers: gpio: max22190: add max22199 extended support 2025-03-27 03:49:44 +01:00
gpio_max14906.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_max14906.h drivers: gpio: Add MAX14906 industrial input/output 2024-10-08 17:01:44 +02:00
gpio_max14916.c drivers: gpio: extend max14916 to max14915 2025-03-07 19:51:07 +01:00
gpio_max14916.h drivers: gpio: Add MAX14916 industrial output 2024-10-08 17:01:44 +02:00
gpio_max14917.c drivers: gpio: add max14917 2025-03-25 22:13:01 +01:00
gpio_max14917.h drivers: gpio: add max14917 2025-03-25 22:13:01 +01:00
gpio_max22017.c drivers: Update APIs to use DEVICE_API macro 2025-01-24 01:15:19 +01:00
gpio_mchp_mec5.c drivers: Update APIs to use DEVICE_API macro 2025-01-24 01:15:19 +01:00
gpio_mchp_mss.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_mchp_xec_v2.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_mchp_xec.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_mcp23sxx.c drivers: gpio: mcp23xxx: Fix to allow the use of multiple models 2024-12-16 13:09:38 +01:00
gpio_mcp23xxx.c driver: gpio: mcp23xxx: increase reset pin pulse duration 2025-01-17 20:07:02 +01:00
gpio_mcp23xxx.h drivers: mcp23xxx: add support for open-drain chip variants 2024-08-09 09:55:30 +02:00
gpio_mcp230xx.c drivers: gpio: mcp23xxx: Fix to allow the use of multiple models 2024-12-16 13:09:38 +01:00
gpio_mcux_igpio.c drivers: gpio: gpio_mcux_igpio: add pull strength configuration 2025-04-10 18:05:26 +02:00
gpio_mcux_lpc.c drivers: gpio: Setup the pinctrl in the NXP LPC GPIO driver 2025-05-19 21:55:15 +02:00
gpio_mcux_rgpio.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_mcux.c drivers: gpio: gpio_mcux: remove including fsl_gpio.h file 2025-02-10 22:27:34 +01:00
gpio_mfxstm32l152.c drivers: gpio: Wrap driver instances in device API macro 2025-02-12 16:06:25 +01:00
gpio_mmio32.c drivers: gpio: unnamed parameters not allowed 2025-02-17 21:15:35 +01:00
gpio_mspm0.c drivers: gpio: mspm0: Add a gpio support for MSPM0 family 2025-05-21 08:04:32 +02:00
gpio_nct38xx_alert.c drivers,test: use the new DT_FOREACH_PROP_ELEM_SEP 2025-02-04 09:18:55 +01:00
gpio_nct38xx_port.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_nct38xx.c
gpio_nct38xx.h
gpio_neorv32.c drivers: gpio: neorv32: add interrupt support 2025-05-06 13:01:20 +02:00
gpio_npcx.c driver: gpio: npcx: use CONFIG_GPIO_LOG_LEVEL 2024-12-19 04:18:34 +01:00
gpio_npm1300.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_npm2100.c drivers: gpio: npm2100: properly handle I2C write return value 2025-01-30 16:20:45 +01:00
gpio_npm6001.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_nrfx.c drivers: gpio_nrfx: Add missing break statements in gpio_pin_get_config 2025-05-26 13:17:01 +02:00
gpio_numaker.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_numicro.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_nxp_s32.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_pca95xx.c drivers: gpio: pca95xx: Remove unused functions 2025-02-13 16:42:35 +01:00
gpio_pca953x.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_pca6416.c drivers/gpio: Fix issue in gpio_pca6416 2025-05-19 16:49:07 +01:00
gpio_pca_series.c drivers: gpio: pca series: dereference pointer in assignment 2025-05-13 22:20:10 -04:00
gpio_pcal64xxa.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_pcf857x.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_psoc6.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_rcar.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_renesas_ra_ioport.c drivers: gpio: Only configs for VBATT pin when RA MCU support 2025-02-14 17:15:43 +01:00
gpio_renesas_rx.c drivers: gpio: Support GPIO driver for Renesas RX MCU 2025-05-02 09:18:16 +02:00
gpio_renesas_rz.c drivers: gpio: rz: Mass renaming 2025-05-09 12:51:11 +02:00
gpio_renesas_rz.h drivers: gpio: rz: Mass renaming 2025-05-09 12:51:11 +02:00
gpio_renesas_rza2m.c drivers: gpio: Add support for RZ/A2M 2025-04-25 14:05:01 +02:00
gpio_renesas_rza2m.h drivers: gpio: Add support for RZ/A2M 2025-04-25 14:05:01 +02:00
gpio_rp1.c drivers: gpio: add RP1 GPIO driver 2024-12-06 12:14:37 +01:00
gpio_rpi_pico.c drivers: gpio: rpi_pico: Add support for RP2350B 2025-03-10 11:20:30 +01:00
gpio_rt1718s_port.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_rt1718s.c
gpio_rt1718s.h style: drivers: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
gpio_rts5912.c drivers: gpio: Fix GPIO initial status 2025-05-22 04:51:57 +02:00
gpio_rv32m1.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_rzt2m.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sam0.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sam4l.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sam.c soc: atmel: samx7x: refactor SoC support for the Atmel SAM E70/V71 2025-01-16 22:39:25 +01:00
gpio_sc18im704.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sedi.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_shell.c drivers: gpio: shell: fix warning 2025-03-17 02:21:37 +01:00
gpio_si32.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sifive.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_silabs_siwx91x_uulp.c drivers: gpio: Introduce support for SiWx91x 2025-02-11 22:07:11 +01:00
gpio_silabs_siwx91x.c drivers: gpio: Introduce support for SiWx91x 2025-02-11 22:07:11 +01:00
gpio_smartbond.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sn74hc595.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_stellaris.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_stm32.c gpio: stm32: initialise according to zephyr,pm-device-runtime-auto 2025-05-02 09:15:26 +02:00
gpio_stm32.h drivers: gpio: stm32: Cleanup unused defines 2025-03-26 16:21:34 +01:00
gpio_stmpe1600.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sx1509b.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_sy1xx.c drivers: gpio: fixed - pin toggle (output reading) 2025-03-25 00:32:01 +01:00
gpio_tca6424a.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_test.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_tle9104.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_xlnx_axi.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
gpio_xlnx_ps_bank.c drivers: gpio: xlnx_ps: Do not clear GPIO states on initialization 2025-05-07 00:01:57 +02:00
gpio_xlnx_ps_bank.h drivers: gpio: xlnx_ps: switch driver over to DEVICE_MMIO mapping 2024-12-19 19:56:23 +01:00
gpio_xlnx_ps.c drivers: gpio: xlnx_ps: switch driver over to DEVICE_MMIO mapping 2024-12-19 19:56:23 +01:00
gpio_xlnx_ps.h drivers: gpio: xlnx_ps: switch driver over to DEVICE_MMIO mapping 2024-12-19 19:56:23 +01:00
gpio_xmc4xxx.c drivers: gpio: Place API into iterable section 2024-12-02 22:05:59 +00:00
Kconfig drivers: gpio: mspm0: Add a gpio support for MSPM0 family 2025-05-21 08:04:32 +02:00
Kconfig.ad559x
Kconfig.adp5585
Kconfig.ads1x4s0x drivers: adc: ads1x4s0x: Rename files, preparing for adding new devices 2025-01-31 09:39:07 +01:00
Kconfig.altera
Kconfig.ambiq drivers: gpio: ambiq: need to select AMBIQ_HAL_USE_GPIO 2025-05-23 11:04:34 +02:00
Kconfig.andes_atcgpio100
Kconfig.aw9523b drivers: gpio: Add support for Awinic AW9523B GPIO controller 2024-12-05 07:44:58 +01:00
Kconfig.axp192
Kconfig.b91
Kconfig.bcm2711
Kconfig.bd8lb600fs
Kconfig.brcmstb
Kconfig.cc13xx_cc26xx
Kconfig.cc23x0 drivers: gpio: Add support for cc23x0 GPIO 2025-02-04 11:56:05 +01:00
Kconfig.cc32xx
Kconfig.cmsdk_ahb
Kconfig.creg_gpio
Kconfig.cy8c95xx
Kconfig.davinci drivers: gpio: davinci: Select PINCTRL 2025-02-14 10:48:20 +01:00
Kconfig.dw
Kconfig.efinix_sapphire
Kconfig.emul
Kconfig.emul_sdl
Kconfig.ene
Kconfig.eos_s3
Kconfig.esp32 drivers: gpio: Add LP GPIO 2025-04-25 14:06:18 +02:00
Kconfig.fxl6408
Kconfig.gd32
Kconfig.gecko
Kconfig.grgpio
Kconfig.ifx_cat1
Kconfig.imx
Kconfig.intel
Kconfig.iproc
Kconfig.it8xxx2
Kconfig.it51xxx drivers/gpio: Add GPIO driver of it51xxx 2025-04-08 10:48:26 +02:00
Kconfig.it8801 drivers: gpio: it8801: Add I2C-based GPIO device driver 2024-12-03 19:56:50 +01:00
Kconfig.litex
Kconfig.lmp90xxx
Kconfig.lpc11u6x
Kconfig.max32
Kconfig.max2219x drivers: gpio: max22190: add max22199 extended support 2025-03-27 03:49:44 +01:00
Kconfig.max14906 drivers: gpio: Add MAX14906 industrial input/output 2024-10-08 17:01:44 +02:00
Kconfig.max14916 drivers: gpio: extend max14916 to max14915 2025-03-07 19:51:07 +01:00
Kconfig.max14917 drivers: gpio: add max14917 2025-03-25 22:13:01 +01:00
Kconfig.max22017 drivers: gpio: add MAX22017 gpio support 2025-01-21 07:07:33 +01:00
Kconfig.mchp_mss
Kconfig.mcp23xxx drivers: add bindings for all existing mcp23xxx variants 2024-08-09 09:55:30 +02:00
Kconfig.mcux
Kconfig.mcux_igpio
Kconfig.mcux_lpc boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.mcux_rgpio
Kconfig.mec5 drivers: gpio: mec5: Microchip MEC5 HAL based GPIO driver 2024-12-23 17:11:22 +01:00
Kconfig.mfxstm32l152 driver: gpio: mfxstm32l152: add driver for STM32L152 based MFX 2025-01-24 19:15:46 +01:00
Kconfig.mmio32
Kconfig.mspm0 drivers: gpio: mspm0: Add a gpio support for MSPM0 family 2025-05-21 08:04:32 +02:00
Kconfig.nct38xx
Kconfig.neorv32
Kconfig.npcx
Kconfig.npm1300
Kconfig.npm2100 drivers: gpio: npm2100: Add driver for npm2100 pmic 2024-12-04 14:19:53 -05:00
Kconfig.npm6001
Kconfig.nrfx
Kconfig.numaker boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.numicro boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.nxp_s32
Kconfig.pca95xx
Kconfig.pca953x
Kconfig.pca6416 drivers: gpio: add driver for PCA6416 IO expander 2025-02-08 00:31:28 +01:00
Kconfig.pca_series drivers: gpio: extend pca_series driver to pca953x and pca955x 2024-09-11 09:38:04 +02:00
Kconfig.pcal64xxa
Kconfig.pcf857x
Kconfig.psoc6 Documentation: Update documenation for Infineon boards 2024-11-14 20:36:38 -06:00
Kconfig.rcar
Kconfig.renesas_ra_ioport drivers: gpio: Only configs for VBATT pin when RA MCU support 2025-02-14 17:15:43 +01:00
Kconfig.renesas_rx drivers: gpio: Support GPIO driver for Renesas RX MCU 2025-05-02 09:18:16 +02:00
Kconfig.renesas_rz drivers: gpio: Add support for RZ/A3UL 2025-03-19 03:34:15 +01:00
Kconfig.renesas_rza2m drivers: gpio: Add support for RZ/A2M 2025-04-25 14:05:01 +02:00
Kconfig.rp1 drivers: gpio: add RP1 GPIO driver 2024-12-06 12:14:37 +01:00
Kconfig.rpi_pico drivers: gpio: rpi_pico: Add support for RP2350B 2025-03-10 11:20:30 +01:00
Kconfig.rt1718s
Kconfig.rts5912 drivers: kconfig: Fix bleeding options 2025-01-31 11:50:12 +01:00
Kconfig.rv32m1
Kconfig.rzt2m
Kconfig.sam
Kconfig.sam0
Kconfig.sc18im704
Kconfig.sedi
Kconfig.si32 drivers: gpio: Add initial SiM3U1xx support 2024-08-26 18:51:36 +02:00
Kconfig.sifive
Kconfig.siwx91x drivers: gpio: Introduce support for SiWx91x 2025-02-11 22:07:11 +01:00
Kconfig.smartbond
Kconfig.sn74hc595 drivers: gpio: sn74hc595: fix terminology for GPIO expander 2025-05-06 12:00:31 +02:00
Kconfig.stellaris
Kconfig.stm32
Kconfig.stmpe1600
Kconfig.sx1509b
Kconfig.sy1xx drivers: gpio: add gpio support for sy1xx 2025-01-21 09:12:55 +01:00
Kconfig.tca6424a
Kconfig.test
Kconfig.tle9104
Kconfig.wch_ch32v00x drivers: add the gpio driver for wch ch32v003 2024-11-26 14:41:46 +00:00
Kconfig.xec
Kconfig.xlnx
Kconfig.xlnx_ps
Kconfig.xmc4xxx
wch_gpio_ch32v00x.c modules: Update hal_wch 2025-05-24 18:03:53 +02:00