drivers: all: cc12xx_cc26xx: select PINCTRL

select PINCTRL when needed instead of relying on board-level options.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2024-12-02 09:45:18 +01:00 committed by Benjamin Cabé
commit 813fc4d6bb
4 changed files with 4 additions and 0 deletions

View file

@ -5,5 +5,6 @@ config I2C_CC13XX_CC26XX
bool "TI SimpleLink CC13xx / CC26xx I2C driver"
default y
depends on DT_HAS_TI_CC13XX_CC26XX_I2C_ENABLED
select PINCTRL
help
Enable support for I2C on the TI SimpleLink CC13xx / CC26xx series.

View file

@ -5,5 +5,6 @@ config PWM_CC13XX_CC26XX_TIMER
bool "TI SimpleLink CC13xx/CC26xx GPT timer PWM driver"
default y
depends on DT_HAS_TI_CC13XX_CC26XX_TIMER_PWM_ENABLED
select PINCTRL
help
Enables TI SimpleLink CC13xx/CC26xx GPT timer PWM driver.

View file

@ -9,5 +9,6 @@ config UART_CC13XX_CC26XX
depends on DT_HAS_TI_CC13XX_CC26XX_UART_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
select PINCTRL
help
Enable the TI SimpleLink CC13xx / CC26xx UART driver.

View file

@ -7,5 +7,6 @@ config SPI_CC13XX_CC26XX
bool "TI SimpleLink CC13xx / CC26xx SPI driver"
default y
depends on DT_HAS_TI_CC13XX_CC26XX_SPI_ENABLED
select PINCTRL
help
Enable support for the TI SimpleLink CC13xx / CC26xx SPI peripheral