]> git.baikalelectronics.ru Git - kernel.git/commit
spi: dw: Discard DW SSI chip type storages
authorBaikal Electronics <support@baikalelectronics.ru>
Sun, 20 Sep 2020 11:28:52 +0000 (14:28 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 29 Sep 2020 16:22:25 +0000 (17:22 +0100)
commit63bef9102bb2e4831835b8602968f0192e02e621
tree8762df087a48ae1ed7a1de1920ae8c64d51d8cb4
parentd7f4818d274170fbd9cdb781ff6b054d9f5f9d36
spi: dw: Discard DW SSI chip type storages

Keeping SPI peripheral devices type is pointless since first it hasn't
been functionally utilized by any of the client drivers/code and second it
won't work for Microwire type at the very least. Moreover there is no
point in setting up the type by means of the chip-data in the modern
kernel. The peripheral devices with specific interface type need to be
detected in order to activate the corresponding frame format. It most
likely will require some peripheral device specific DT property or
whatever to find out the interface protocol. So let's remove the serial
interface type fields from the DW APB SSI controller and the SPI
peripheral device private data.

Note we'll preserve the explicit SSI_MOTO_SPI interface type setting up to
signify the only currently supported interface protocol.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20200920112914.26501-9-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-dw-core.c
drivers/spi/spi-dw.h