spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllers
authorBert Vermeulen <bert@biot.com>
Wed, 20 Jan 2021 13:59:28 +0000 (14:59 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2021 18:45:57 +0000 (18:45 +0000)
commita8af5cc2ff1e804694629a8ef320935629dd15ba
tree1737a9e3e598fe26329cb1cf5105bb8811d74a22
parent6d2386e36440165da782dbc5c0de40f31665e108
spi: realtek-rtl: Add support for Realtek RTL838x/RTL839x SPI controllers

This driver likely also supports earlier (RTL8196) and later (RTL93xx)
SoCs.

The SPI hardware in these SoCs is specifically intended for connecting NOR
bootflash chips, and only used for that in dozens of examined devices.
However boiled down to basics, it's really just a half-duplex SPI
controller.

The hardware appears to have a vestigial second chip-select control, but
it hasn't been seen in the wild and is thus not supported.

Signed-off-by: Bert Vermeulen <bert@biot.com>
Link: https://lore.kernel.org/r/20210120135928.246054-3-bert@biot.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Makefile
drivers/spi/spi-realtek-rtl.c [new file with mode: 0644]