svn commit: r298268 - head/sys/dev/spibus

Ian Lepore ian at freebsd.org
Tue Apr 19 14:41:42 UTC 2016


On Tue, 2016-04-19 at 14:18 +0000, Ruslan Bukin wrote:
> Author: br
> Date: Tue Apr 19 14:18:12 2016
> New Revision: 298268
> URL: https://svnweb.freebsd.org/changeset/base/298268
> 
> Log:
>   Add optional chip_select/deselect methods. This is required
>   when we want to keep CS asserted for multiple transfers.
> 

This is missing a now-required mechanism to arbitrate ownership of the
bus.  If a leaf driver can take over the bus for longer than a single
transfer, then it needs the same kind of logic as the iicbus uses
(well, conceptually the same, it doesn't need the same horrible
implementation).

I also don't see any default implementation of the new methods, or a
commit that adds the new functionality to all existing SPI controller
drivers.

-- Ian



More information about the svn-src-all mailing list