[PATCH 4/4] spi: bcm2835aux: fix CPOL/CPHA setting

Stefan Wahren info at lategoodbye.de
Tue Feb 9 12:21:15 PST 2016


Hi Stephan,

Am 09.02.2016 um 19:10 schrieb stephanolbrich at gmx.de:
> From: Stephan Olbrich <stephanolbrich at gmx.de>
>
> The auxiliary spi supports only CPHA=0 modes as the first bit is
> always output to the pin before the first clock cycle. In CPHA=1
> modes the first clock edge outputs the second bit hence the slave
> can never read the first bit.

in case auxiliary spi isn't able to handle all modes shouldn't we report 
this to the upper layers?

Regards



More information about the linux-arm-kernel mailing list