aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/spibus/spibusvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Add IRQ resource to SPIBUSEmmanuel Vadot2020-12-171-0/+1
| | | | | | | | | | | | | | Add capability to SPIBUS to have child device with IRQ. For example many ADC chip have a dedicated pin to signal "data ready" and the host can just wait for a interrupt to go out and read the result. It is the same code as in R282674 and R282702 for IICBUS by Michal Meloun Submitted by: Oskar Holmund <oskar.holmlund@ohdata.se> Differential Revision: https://reviews.freebsd.org/D27396 Notes: svn path=/head/; revision=368725
* Regularize my copyright noticeWarner Losh2019-12-041-2/+1
| | | | | | | | | | | | o Remove All Rights Reserved from my notices o imp@FreeBSD.org everywhere o regularize punctiation, eliminate date ranges o Make sure that it's clear that I don't claim All Rights reserved by listing All Rights Reserved on same line as other copyright holders (but not me). Other such holders are also listed last where it's clear. Notes: svn path=/head/; revision=355394
* Generate a spibus_set_[ivarname]() convenience function for each ivar,Ian Lepore2018-04-071-1/+7
| | | | | | | now that they can be set. Notes: svn path=/head/; revision=332231
* Provide public declarations for ofw_spibus_driver and ofw_spibus_devclassIan Lepore2018-02-181-0/+2
| | | | | | | so other drivers can refer to them in DRIVER_MODULE() decls. Notes: svn path=/head/; revision=329539
* ofw_spi: Parse property for the SPI mode and CS polarity.Emmanuel Vadot2016-12-181-0/+2
| | | | | | | | | | | | As cs is stored in a uint32_t, use the last bit to store the active high flag as it's unlikely that we will have that much CS. Reviewed by: loos MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D8614 Notes: svn path=/head/; revision=310229
* [spibus] add initial placeholders for transfer mode and frequency.Adrian Chadd2016-05-261-1/+12
| | | | | | | | | | This doesn't yet implement it in the controllers or the transfer calls, but it's a start. Obtained from: loos (frequency), ray/zrouter (transfer mode) Notes: svn path=/head/; revision=300710
* Add copyright statement I should have had on these files in 2006,Warner Losh2015-02-181-1/+27
| | | | | | | based on the spibus_if.m file. Notes: svn path=/head/; revision=278957
* Add an OFW SPI compatible bus. Fix the spibus probe to returnLuiz Otavio O Souza2013-10-241-0/+3
| | | | | | | | | | | | BUS_PROBE_GENERIC and not BUS_PROBE_SPECIFIC (0) so the OFW SPI bus can attach when enabled. Export the spibus devclass_t and driver_t declarations. Submitted by: ray Approved by: adrian (mentor) Notes: svn path=/head/; revision=257064
* Replace `inline static' by `static inline'.Ed Schouten2011-12-131-1/+1
| | | | | | | | | If I interpret the C standard correctly, the storage specifier should be placed before the inline keyword. While at it, replace __inline by inline in the files affected. Notes: svn path=/head/; revision=228471
* Fix comments.Olivier Houchard2006-07-171-1/+1
| | | | Notes: svn path=/head/; revision=160452
* MFp4:Warner Losh2006-07-141-0/+28
Initial spibus support. Seems to be OK, but needs some polish. # someone should write a bit-bang spi parallel port interface :-) Notes: svn path=/head/; revision=160370