zephyr/drivers/spi
Wayne Ren 3f24975514 drivers: spi: fix the bug of slave selection in spi_dw
According to data sheet of dw_spi, ser reg is used to
select spi device/slave.

one bit in ser maps to one spi device/slave, i.e..
cs 0 ---> bit 0
cs 1 ---> bit 1
cs 2 ---> bit 2

the original code has a bug. the config->slave cannot
directly be written into ser. It should be mapped to
the correct bits through 1 << config->slave.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
2018-05-14 17:23:03 -04:00
..
CMakeLists.txt drivers: spi: Add shim for nrfx SPIS driver 2018-04-13 17:04:16 +02:00
Kconfig spi: Fix missing "depends on !HAS_DTS_SPI" 2018-05-10 15:43:42 -05:00
Kconfig.dw
Kconfig.mcux_dspi spi: Refactor mcux dspi shim driver to use clock control interface 2018-05-10 15:43:42 -05:00
Kconfig.nrfx drivers: spi: Add missing periods in Kconfig.nrfx 2018-04-13 17:04:16 +02:00
Kconfig.sam0
Kconfig.stm32
spi_context.h drivers/spi: Slave async calls require recv frames as successful status 2018-04-13 16:02:03 +02:00
spi_dw_quark_se_ss_regs.h
spi_dw_regs.h
spi_dw.c drivers: spi: fix the bug of slave selection in spi_dw 2018-05-14 17:23:03 -04:00
spi_dw.h
spi_handlers.c drivers: Perform a runtime check if a driver is capable of an operation 2018-04-26 02:57:12 +05:30
spi_intel_regs.h
spi_intel.c
spi_intel.h
spi_ll_stm32.c
spi_ll_stm32.h
spi_mcux_dspi.c spi: Refactor mcux dspi shim driver to use clock control interface 2018-05-10 15:43:42 -05:00
spi_nrfx_spi.c drivers: spi: Correct a typo in spi_nrfx_spi.c 2018-04-13 10:26:28 +02:00
spi_nrfx_spim.c
spi_nrfx_spis.c drivers: spi: Add shim for nrfx SPIS driver 2018-04-13 17:04:16 +02:00
spi_sam0.c