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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"