zephyr/drivers/pinctrl/Kconfig.silabs_dbus
Aksel Skauge Mellbye f3246cda17 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>
2024-11-27 22:51:55 -05:00

11 lines
328 B
Plaintext

# Copyright (c) 2022 Silicon Labs
# SPDX-License-Identifier: Apache-2.0
config PINCTRL_SILABS_DBUS
bool "Silabs DBUS pin controller driver"
default y
depends on DT_HAS_SILABS_DBUS_PINCTRL_ENABLED
help
Silabs DBUS pin controller driver. This driver is used by series
using the DBUS (Digital Bus) for pin multiplexing.