• Rich Felker's avatar
    spi: add driver for J-Core SPI controller · 2cb1b3b3
    Rich Felker authored
    The J-Core "spi2" device is a PIO-based SPI master controller. It
    differs from "bitbang" devices in that that it's clocked in hardware
    rather than via soft clock modulation over gpio, and performs
    byte-at-a-time transfers between the cpu and SPI controller.
    
    This driver will be extended to support future versions of the J-Core
    SPI controller with DMA transfers when they become available.
    Signed-off-by: default avatarRich Felker <dalias@libc.org>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    2cb1b3b3
spi-jcore.c 5.29 KB