zephyr/drivers/gpio
Erwan Gouriou 94bf757d68 drivers/gpio: stm32: Fix gpio_stm32_configure
Behavior of function gpio_stm32_configure has been modified
during driver factorization. Various gpio settings (speed, mode, ..)
are applied conditionally while they used to be applied in sequence,
unconditionally before this change. As a consequence some
combinations of configurations are no more applied (like speed for
alternate mode). This of course has impact in some use cases.
Rework functions in order to apply settings unconditionally. Take
advantage of the change to reduce code size.

This change impacts all SoCs except F1 series.

Fixes #12544

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2019-01-23 04:03:30 -06:00
..
CMakeLists.txt drivers: gpio: Add support for Stellaris gpio controller driver. 2019-01-08 13:30:26 -06:00
gpio_altera_nios2.c
gpio_atmel_sam3.c
gpio_cc32xx.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_cc2650.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_cmsdk_ahb.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
gpio_cmsdk_ahb.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio_dw_registers.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio_dw.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
gpio_dw.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio_esp32.c irq: Fix irq_lock api usage 2018-08-16 19:47:41 -07:00
gpio_gecko.c soc: silabs_exx32: Add SWO logger support 2019-01-09 15:30:59 +01:00
gpio_handlers.c syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
gpio_imx.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_intel_apl.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
gpio_mcux_igpio.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_mcux_lpc.c
gpio_mcux.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_mmio32.c
gpio_nrfx.c drivers: gpio_nrfx: Remove undesired NRF_P0 definition 2018-12-13 07:35:28 -06:00
gpio_pcal9535a.c drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
gpio_pcal9535a.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio_pulpino.c dts: pulpino: Add device tree support for GPIO controller 2018-10-04 07:48:32 -05:00
gpio_qmsi_ss.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_qmsi.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_sam0.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
gpio_sam.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
gpio_sch.c drivers: Modify drivers to use DEVICE_AND_API_INIT() 2019-01-15 10:39:34 -08:00
gpio_sch.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio_shell.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_sifive.c drivers: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
gpio_stellaris.c drivers: gpio: Add support for Stellaris gpio controller driver. 2019-01-08 13:30:26 -06:00
gpio_stm32.c drivers/gpio: stm32: Fix gpio_stm32_configure 2019-01-23 04:03:30 -06:00
gpio_stm32.h soc: arm: st_stm32: Using LL library to implement gpio functions 2019-01-10 13:09:19 -06:00
gpio_sx1509b.c
gpio_utils.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
Kconfig drivers: gpio: Add support for Stellaris gpio controller driver. 2019-01-08 13:30:26 -06:00
Kconfig.altera_nios2 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.atmel_sam3 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.cc32xx gpio: ti cc32xx: Add device tree support for GPIO 2018-11-05 11:08:35 -06:00
Kconfig.cc2650 Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.cmsdk_ahb drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.dw drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.esp32 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.gecko soc: silabs_exx32: Add independent Kconfig options for HAL libraries 2019-01-08 13:31:42 -06:00
Kconfig.imx drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.intel doc: fix kconfig misspellings 2018-11-02 17:58:16 -04:00
Kconfig.mcux drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mcux_igpio drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.mcux_lpc drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mmio32 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.nrfx drivers: nrf: Enable nRF drivers by default in Kconfig 2018-12-21 21:01:37 +01:00
Kconfig.pcal9535a drivers: gpio: Migrate to new logging subsys 2018-10-08 17:49:12 -04:00
Kconfig.pulpino dts: pulpino: Add device tree support for GPIO controller 2018-10-04 07:48:32 -05:00
Kconfig.qmsi drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.sam drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.sam0 drivers: gpio: Select HAS_DTS_GPIO in various drivers 2018-09-28 11:44:03 -05:00
Kconfig.sch Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.sifive gpio: sifive: Add device tree support for GPIO generation 2018-10-05 13:21:49 -05:00
Kconfig.stellaris drivers: gpio: Add support for Stellaris gpio controller driver. 2019-01-08 13:30:26 -06:00
Kconfig.stm32 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sx1509b drivers: boards: Merge HAS_DTS_I2C_DEVICE with HAS_DTS_I2C 2018-10-01 21:15:06 -05:00