zephyr/drivers/gpio
Krzysztof Chruscinski 1089b91ba2 drivers: gpio: nrf: Add mask to track GPIOTE usage
So far, register state was used to determine if GPIOTE channel is busy.
This leads to issues if channel is used in more customized way after
allocation. In particular, if it temporarly disabled since disabled
channel is treated as available and can be allocated to another user.

Added additional mask which tracks allocated channels. After allocation
user can reconfigure the channel.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2020-06-10 11:57:45 +02:00
..
CMakeLists.txt gpio: add driver for MCP23S17 GPIO chip 2020-04-17 05:56:05 -05:00
Kconfig gpio: add driver for MCP23S17 GPIO chip 2020-04-17 05:56:05 -05:00
Kconfig.cc13xx_cc26xx drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.cc32xx drivers: cc32xx: use DT_INST_FOREACH to reduce code duplication 2020-04-26 06:05:10 -05:00
Kconfig.cmsdk_ahb drivers: gpio: cmsdk_ahb: Convert driver to be full DTS based 2020-04-03 04:11:36 -05:00
Kconfig.dw drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.esp32 drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.gecko drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.ht16k33 kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.imx drivers: gpio: gpio_imx: Convert driver to new DT_INST macros 2020-04-04 09:34:00 -05:00
Kconfig.intel drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.litex drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.lmp90xxx kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.mcp23s17 gpio: add driver for MCP23S17 GPIO chip 2020-04-17 05:56:05 -05:00
Kconfig.mcux gpio: mcux: Convert convert to DT_INST defines 2020-04-23 17:07:41 -05:00
Kconfig.mcux_igpio drivers: gpio: mcux_igpio: Convert driver to new DT_INST macros 2020-04-20 11:08:46 -05:00
Kconfig.mcux_lpc drivers: gpio: mcux_lpc: Remove unused Kconfig symbols 2020-04-17 10:16:40 -05:00
Kconfig.mmio32
Kconfig.nrfx drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.pca95xx kconfig: Replace non-defconfig single-symbol 'if's with 'depends on' 2020-02-12 10:32:34 -06:00
Kconfig.rv32m1 drivers: gpio: rv32m1: Convert driver to new DT_INST macros 2020-04-10 14:38:04 -05:00
Kconfig.sam drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.sam0 drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.sifive drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.stellaris drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.stm32 drivers: gpio: cleanup select HAS_DTS_GPIO 2020-04-04 09:27:12 -05:00
Kconfig.sx1509b gpio: gpio_sx1509b: add support for interrupt functionality 2020-04-20 18:51:59 +02:00
Kconfig.xec drivers: gpio: mchp_xec: Convert to using new device tree macros 2020-04-28 07:43:31 -05:00
gpio_cc13xx_cc26xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_cc32xx.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
gpio_cmsdk_ahb.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_cmsdk_ahb.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_dw_registers.h drivers: gpio_dw: update to use new GPIO API 2020-02-05 12:00:36 +01:00
gpio_esp32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_handlers.c drivers: gpio: fix syscall handlers 2020-03-07 09:22:50 +02:00
gpio_ht16k33.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_imx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_intel_apl.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_litex.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_lmp90xxx.c devicetree: allow access to all nodes 2020-05-08 19:37:18 -05:00
gpio_mchp_xec.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcp23s17.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcp23s17.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux_igpio.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mcux_lpc.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_mmio32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_nrfx.c drivers: gpio: nrf: Add mask to track GPIOTE usage 2020-06-10 11:57:45 +02:00
gpio_pca95xx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_rv32m1.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sam.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sam0.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sifive.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stellaris.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_sx1509b.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
gpio_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00