From 1c5cd92e12e5354bb1e27e71718e9beb80c23a51 Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Sun, 23 Dec 2018 14:20:13 -0600 Subject: [PATCH] soc: nordic: default GPIO when SPI enabled SPI devices almost always require chip selects, which are configured through GPIOs. Make the GPIO infrastructure available by default when SPI is enabled. Signed-off-by: Peter A. Bigot --- soc/arm/nordic_nrf/Kconfig.defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soc/arm/nordic_nrf/Kconfig.defconfig b/soc/arm/nordic_nrf/Kconfig.defconfig index 4ca5dacae1f..c5294880832 100644 --- a/soc/arm/nordic_nrf/Kconfig.defconfig +++ b/soc/arm/nordic_nrf/Kconfig.defconfig @@ -26,4 +26,11 @@ config ENTROPY_NRF5_RNG endif # ENTROPY_GENERATOR +if SPI + +config GPIO + default y + +endif # SPI + endif # SOC_FAMILY_NRF