From da6bf1956004bd8908162bb06dff4ce4f7742e11 Mon Sep 17 00:00:00 2001 From: TOKITA Hiroshi Date: Wed, 25 Dec 2024 02:17:40 +0900 Subject: [PATCH] drivers: spi: pl022: Enable PINCTRL conjuction with dt prop 'pinctrl-0' If there is a pinctrl-0 property, PINCTRL will be enabled in conjunction with it. Signed-off-by: TOKITA Hiroshi --- drivers/spi/Kconfig.pl022 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig.pl022 b/drivers/spi/Kconfig.pl022 index 65a0d0aedc3..4a0b00a74c9 100644 --- a/drivers/spi/Kconfig.pl022 +++ b/drivers/spi/Kconfig.pl022 @@ -4,7 +4,7 @@ config SPI_PL022 default y depends on DT_HAS_ARM_PL022_ENABLED - select PINCTRL if DT_HAS_RASPBERRYPI_PICO_SPI_ENABLED + select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_ARM_PL022),pinctrl-0) bool "ARM PL022 SPI driver" if SPI_PL022