]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs.
authoradrian <adrian@FreeBSD.org>
Mon, 20 May 2019 17:43:58 +0000 (17:43 +0000)
committeradrian <adrian@FreeBSD.org>
Mon, 20 May 2019 17:43:58 +0000 (17:43 +0000)
commitc94c62b1ae5b8bbc434efdab6f4e2f72e1826778
tree25b903325c90bd9a09bf7e05a11defd606d0cb4c
parentb833ad99216678514b7b4d599afb28762444122f
[mediatek] Add support for non-flash devices on the SPI bus of the Mediatek SoCs.

The existing SPI support only worked for directly attached flash chips.
it didn't implement clock programming or chipselect.  It also supports
transfers with unbalanced tx/rx command sizes.

Submitted by: <yamori813@yahoo.co.jp>
Differential Revision: https://reviews.freebsd.org/D20101
sys/mips/mediatek/mtk_spi_v1.c