drivers: pinctrl: silabs: Add pinctrl driver for digital bus
Silicon Labs Series 2 and newer devices do alternate function configuration fundamentally differently from Series 0 and 1. Pin routing is done in a centralized fashion in the GPIO peripheral, as opposed to having ROUTE registers in every peripheral. The concept of alternate function location numbers also does not exist, functions are directly assigned to GPIOs by their port and pin number. This commit adds a new pinctrl driver for devices that use DBUS. It fully makes use of pinctrl design principles as outlined in the Zephyr documentation. The previous driver hard-codes pin properties such as filter and pull-up/down in the driver itself, while the new driver leaves this up to the user as configurable DeviceTree properties. The previous driver has hard-coded support for UART, SPI and I2C, while the new driver has generic support for all DBUS signals. Signed-off-by: Aksel Skauge Mellbye <aksel.mellbye@silabs.com>
This commit is contained in:
parent
f5409bd3de
commit
f3246cda17
11 changed files with 7835 additions and 1 deletions
|
@ -57,6 +57,7 @@ source "drivers/pinctrl/Kconfig.xlnx"
|
|||
source "drivers/pinctrl/Kconfig.xmc4xxx"
|
||||
source "drivers/pinctrl/Kconfig.nxp_s32"
|
||||
source "drivers/pinctrl/Kconfig.gecko"
|
||||
source "drivers/pinctrl/Kconfig.silabs_dbus"
|
||||
source "drivers/pinctrl/Kconfig.ti_k3"
|
||||
source "drivers/pinctrl/Kconfig.emsdp"
|
||||
source "drivers/pinctrl/Kconfig.ti_cc32xx"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue