zephyr/drivers/spi
Yaël Boutreux c935508c05 drivers: spi: spi_ll_stm32: set NSS before mode
This commit solves an issue where the NSS must be set before the
mode on the stm32mp157c_dk2, else LL_SPI_SetMode won't affect the
mode registry.
stm32mp1x (and stm32h7) LL function SPI_Init seems to also define
first the NSS then the mode, unlike other STM32 boards where this
is not specified.
Changing the order shouldn't have bad repercussions on other boards,
ZephyrnSPI driver test has been passed successfully on disco_l475_iot1
board.

Signed-off-by: Yaël Boutreux <yael.boutreux@st.com>
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
2019-08-05 13:52:34 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.mcux_dspi
Kconfig.mcux_lpspi
Kconfig.nrfx
Kconfig.sam
Kconfig.sam0
Kconfig.sifive
Kconfig.stm32 drivers: spi: spi_ll_stm32: Add config to manage slave select 2019-08-01 11:58:02 -04:00
spi_cc13xx_cc26xx.c
spi_context.h
spi_dw_regs.h
spi_dw.c boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
spi_dw.h boards: remove quarl_se_c1000 2019-07-29 21:30:25 -07:00
spi_handlers.c
spi_intel_regs.h
spi_intel.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
spi_intel.h
spi_ll_stm32.c drivers: spi: spi_ll_stm32: set NSS before mode 2019-08-05 13:52:34 -05:00
spi_ll_stm32.h
spi_mcux_dspi.c
spi_mcux_lpspi.c
spi_nrfx_spi.c drivers: nrf: Add power management to nrf SPI driver. 2019-07-15 12:05:19 +02:00
spi_nrfx_spim.c drivers: nrf: Add power management to nrf SPIM driver. 2019-07-15 12:05:19 +02:00
spi_nrfx_spis.c
spi_sam.c
spi_sam0.c
spi_sifive.c
spi_sifive.h