Skip to content

Commit bc8ef12

Browse files
tagunilkartben
authored andcommitted
drivers: spi: dw: select PINCTRL if necessary
DesignWare SPI driver may use pinctrl configuration if it's provided for the nodes. Signed-off-by: Ilya Tagunov <[email protected]>
1 parent 4a92220 commit bc8ef12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/Kconfig.dw

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ menuconfig SPI_DW
88
bool "Designware SPI controller driver"
99
default y
1010
depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED
11+
select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_SNPS_DESIGNWARE_SPI),pinctrl-0)
1112
help
1213
Enable support for Designware's SPI controllers.
1314

0 commit comments

Comments
 (0)