zephyr/drivers/gpio
Erwan Gouriou a10d178078 drivers/pinmux: stm32 fix ports_enable array definition
ports_enable array holds port clock information.
It is populated for all SoCs, but ports availability depends on
SoCs. The way it is defined today, location of the port in the
array depends on previous ports definition in SoC CMSIS files.
Though, port index is always the same irrespective of previous
ports availability in the SoC.
This will result in incoherency between port index and clock
information.
Fix this by setting a bogus value if port is not defined.
Return an error if bogus value is read.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2018-07-31 09:45:39 -05:00
..
CMakeLists.txt
gpio_altera_nios2.c
gpio_atmel_sam3.c
gpio_cc32xx.c
gpio_cc2650.c
gpio_cmsdk_ahb.c
gpio_cmsdk_ahb.h
gpio_dw_registers.h
gpio_dw.c
gpio_dw.h
gpio_esp32.c
gpio_fe310.c
gpio_gecko.c drivers: gpio_gecko: Adapt driver for Silabs EFR32 MCUs 2018-07-10 12:53:50 -05:00
gpio_handlers.c
gpio_imx.c
gpio_mcux_igpio.c
gpio_mcux_lpc.c
gpio_mcux.c
gpio_mmio32.c
gpio_nrf5.c drivers: gpio: nrf: remove GPIOTE register structure definition 2018-07-12 18:36:01 +02:00
gpio_pcal9535a.c
gpio_pcal9535a.h
gpio_pulpino.c
gpio_qmsi_ss.c drivers: qmsi: Fix types and u32_t/uint32_t conflicts 2018-07-18 12:32:23 -04:00
gpio_qmsi.c
gpio_sam.c
gpio_sam0.c
gpio_sch.c
gpio_sch.h
gpio_stm32.c
gpio_stm32.h drivers/pinmux: stm32 fix ports_enable array definition 2018-07-31 09:45:39 -05:00
gpio_sx1509b.c
gpio_utils.h
Kconfig drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04: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 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.cc2650 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.cmsdk_ahb drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.dw drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.esp32 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.fe310 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.gecko drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.imx drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -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: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04: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.nrf5 drivers: gpio: nrf5: Fix GPIOTE channel use overlap 2018-07-10 11:25:32 +02:00
Kconfig.pcal9535a drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.pulpino drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.qmsi drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sam drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sam0 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sch drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.stm32 drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.sx1509b drivers: gpio: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00