Skip to content
Commit 2b9d6a18 authored by Maksim Kiselev's avatar Maksim Kiselev Committed by Andre Przywara
Browse files

spi: sunxi: Add support for R329/D1/R528/T113 SPI controller



These SoCs have two SPI controllers that are quite similar to the SPI
on previous Allwinner SoCs. The main difference is that new SoCs
don't have a clock divider (SPI_CCR register) inside SPI IP.

Instead SPI sample mode should be configured depending on the input clock.

For now SPI input clock source selection is not supported by this driver,
and only HOSC@24MHz can be used as input clock. Therefore, according to
the, manual we could change the SPI sample mode from delay half
cycle(default) to normal.

This patch adds a quirk for this kind of SPI controllers

Signed-off-by: default avatarMaksim Kiselev <bigunclemax@gmail.com>
Tested-by: default avatarSam Edwards <CFSworks@gmail.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent eac52e4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment