• Maksim Kiselev's avatar
    spi: sun6i: add support for R329/D1/R528/T113s SPI controllers · 046484cb
    Maksim Kiselev authored
    These SoCs has two SPI controllers. One of it is quite similar to previous
    ones, but with internal clock divider removed; the other added MIPI DBI
    Type-C offload based on the first one.
    
    Add basical support for these controllers. As we're not going to
    support the DBI functionality now, just implement the two kinds of
    controllers as the same.
    
    Co-developed-by: Icenowy Zheng <icenowy@aosc.io
    Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com
    Reviewed-by: Andre Przywara <andre.przywara@arm.com
    Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com
    Link: https://lore.kernel.org/r/20230510081121.3463710-5-bigunclemax@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org
    046484cb
spi-sun6i.c 19.6 KB