Skip to content

DMA capable SPI master driver #567

Closed
@notro

Description

@notro

Is there any interest in pulling a spi-bcm2708 driver that can do DMA?

Source: https://github.com/notro/spi-bcm2708/blob/master/spi-bcm2708.c
Some info: https://github.com/notro/spi-bcm2708/wiki

The driver has been used since September 2013 in the prebuilt FBTFT kernel without issues. The kernel has been downloaded thousands of times as part of the FBTFT images, and also directly from github using rpi-update.

There is one part missing however, the driver doesn't support 9-bit transfers.
I was the one adding that functionality to the current driver, but left it out of this one.
Argumentation: https://github.com/notro/spi-bcm2708/wiki#lossi-mode

Note: The client has to support SPI DMA to make use of the feature.
Example: https://github.com/notro/fbtft/blob/master/fbtft-io.c#L29

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions