mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 03:52:37 +00:00
spi: sun6i: add dual and quad SPI modes support for R329/D1/R528/T113s
Listed SoCs have SPI controllers that can operate in dual or quad modes. This patch adds dual/quad mode bits for spi_master on these SoCS. Signed-off-by: Maksim Kiselev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
@@ -761,6 +761,7 @@ static const struct sun6i_spi_cfg sun8i_h3_spi_cfg = {
|
||||
|
||||
static const struct sun6i_spi_cfg sun50i_r329_spi_cfg = {
|
||||
.fifo_depth = SUN8I_FIFO_DEPTH,
|
||||
.mode_bits = SPI_RX_DUAL | SPI_TX_DUAL | SPI_RX_QUAD | SPI_TX_QUAD,
|
||||
};
|
||||
|
||||
static const struct of_device_id sun6i_spi_match[] = {
|
||||
|
||||
Reference in New Issue
Block a user