zephyr/drivers/pinmux
Erwan Gouriou 097cb02e59 drivers/pinmux: stm32f1: Rework pinmux remap information encoding
Aim of this change is to remove the need for the pinmux driver
on stm32f1 series to access the base address of the pinmux owner
device.

This is achieved by a modification in the device tree pin definition.
Instead of providing a generic information on type of the remap
(such as NO_REMAP, PARTIAL_REMAP, FULL_REMAP), the remap field
encodes all the information required to perform the remap register
configuration:
-Address of the targeted remap register in AFIO peripheral
-Position of the remap configuration in the remap register
-Mask used for the remap configuration encoding
-Value of the expected remap configuration.

All the possible remap configurations are encoded and predefined
in a new stm32f1-afio.h dt-bindings include.

To match this new configuration, all stm32f1 -pinctrl.dtsi should
be regenerated to use these new remap definitions.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2021-11-23 10:37:01 -05:00
..
CMakeLists.txt Revert "drivers: pinmux: build as static library" 2021-09-28 14:33:16 +02:00
dummy.c
Kconfig drivers: pinmux: introduce new Telink B91 Pinmux driver 2021-07-21 05:37:12 -04:00
Kconfig.b91 drivers: pinmux: introduce new Telink B91 Pinmux driver 2021-07-21 05:37:12 -04:00
Kconfig.beetle
Kconfig.cc13xx_cc26xx
Kconfig.esp32 drivers: gpio_esp32: added support for esp32c3 2021-10-05 19:24:38 -04:00
Kconfig.hsdk
Kconfig.intel_s1000
Kconfig.it8xxx2
Kconfig.lpc11u6x
Kconfig.mcux
Kconfig.mcux_lpc
Kconfig.rv32m1
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32 drivers: pinmux: stm32: remove unused init priority 2021-10-07 15:38:53 -04:00
Kconfig.xec
pinmux_b91.c drivers: pinmux: introduce new Telink B91 Pinmux driver 2021-07-21 05:37:12 -04:00
pinmux_cc13xx_cc26xx.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_esp32.c drivers: esp32: uart: use hal functions 2021-11-03 16:47:32 -04:00
pinmux_hsdk.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_intel_s1000.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_ite_it8xxx2.c ite: drivers/adc: create pinmux phandle to the ADC driver node 2021-06-11 15:47:25 +02:00
pinmux_lpc11u6x.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_mchp_xec.c Microchip: MEC172x: Update pinmux driver 2021-08-03 19:04:56 -04:00
pinmux_mcux_lpc.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_mcux.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_rv32m1.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_sam0.c soc: atmel_sam0: common: Add soc_port 2021-07-30 14:37:20 -05:00
pinmux_sifive.c drivers: pinmux: remove usage of device_pm_control_nop 2021-04-28 16:43:29 -04:00
pinmux_stm32.c drivers/pinmux: stm32f1: Rework pinmux remap information encoding 2021-11-23 10:37:01 -05:00
pinmux_stm32.h drivers/pinmux: stm32f1: Rework pinmux remap information encoding 2021-11-23 10:37:01 -05:00