zephyr/drivers/spi
Chuck Jordan 0a5bc3b0d9 spi: DW IP can have 16 slaves + SINGLE_LINE IRQ configured in soc.h
A recent submission caused a build error for DW
CONFIG_SPI_DW_INTERRUPT_SINGLE_LINE because the symbols
CONFIG_SPI_<0,1>_IRQ went missing from Kconfig.
I think these should probably NOT be configurable, because
on an SOC, interrupt lines are hard. So I'm changing
the names back to SPI_DW_PORT_<0,1>_IRQ, with there
definitions originatig in the soc.h file.

Also, on DesignWare ARC EM Starterkit, the SPI interface
has 6 slave selects, but IP itself can handle up to 16.
Why does this start from 1 and not 0? Argh!

DBG_COUNTER_RESULT() should expand to 0 when not used.

Also, don't check version from DesignWare IP because
it can be different for each target.

spi_dw_isr() requires a cast when converting arg to dev.

Change-Id: I83d55e0405583e7cafab80b09cbef44e0f96fcb8
Signed-off-by: Chuck Jordan <cjordan@synopsys.com>
2016-05-18 22:32:30 +00:00
..
Kconfig spi: use syslog infratructure for debugging 2016-05-12 10:57:27 +00:00
Kconfig.dw
Makefile
spi_dw_quark_se_ss_regs.h
spi_dw_regs.h
spi_dw.c spi: DW IP can have 16 slaves + SINGLE_LINE IRQ configured in soc.h 2016-05-18 22:32:30 +00:00
spi_dw.h
spi_intel.c spi: use syslog infratructure for debugging 2016-05-12 10:57:27 +00:00
spi_intel.h
spi_k64_priv.h
spi_k64.c
spi_qmsi.c