Commit bc8ef124 authored by Ilya Tagunov's avatar Ilya Tagunov Committed by Benjamin Cabé
Browse files

drivers: spi: dw: select PINCTRL if necessary

DesignWare SPI driver may use pinctrl configuration if it's provided
for the nodes.

Signed-off-by: default avatarIlya Tagunov <Ilya.Tagunov@synopsys.com>
parent 4a92220d
Loading
Loading
Loading
Loading
+1 −0
Changes for drivers/spi/Kconfig.dw: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ menuconfig SPI_DW
	bool "Designware SPI controller driver"
	default y
	depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED
	select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_SNPS_DESIGNWARE_SPI),pinctrl-0)
	help
	  Enable support for Designware's SPI controllers.