drivers: spi_nrfx_spis: Enable required SPI_SLAVE option in Kconfig

This is a follow-up to commit fa609e5844.

This driver implements SPI slave operations only and cannot be used
without the corresponding Kconfig option enabled.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
Andrzej Głąbek 2023-08-11 15:46:43 +02:00 committed by Carles Cufí
commit 45dcc6c5db

View file

@ -30,6 +30,7 @@ config SPI_NRFX_SPIM
config SPI_NRFX_SPIS config SPI_NRFX_SPIS
def_bool y def_bool y
depends on DT_HAS_NORDIC_NRF_SPIS_ENABLED depends on DT_HAS_NORDIC_NRF_SPIS_ENABLED
select SPI_SLAVE
select NRFX_SPIS0 if HAS_HW_NRF_SPIS0 select NRFX_SPIS0 if HAS_HW_NRF_SPIS0
select NRFX_SPIS1 if HAS_HW_NRF_SPIS1 select NRFX_SPIS1 if HAS_HW_NRF_SPIS1
select NRFX_SPIS2 if HAS_HW_NRF_SPIS2 select NRFX_SPIS2 if HAS_HW_NRF_SPIS2