]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Retrieve the bus clock speed and mode (polarity/phase) from the child device
authorian <ian@FreeBSD.org>
Sat, 23 Jun 2018 23:44:36 +0000 (23:44 +0000)
committerian <ian@FreeBSD.org>
Sat, 23 Jun 2018 23:44:36 +0000 (23:44 +0000)
commitabe7718837b75c43be1d89784de3c1555278afcf
treeb7b288ec937f8d3a3c9ae105a0e04f63357d3178
parentaef3ba882d8cf3af033bd1a2109ea5b8623ba5e4
Retrieve the bus clock speed and mode (polarity/phase) from the child device
and set up the hardware accordingly on each transfer.  This replaces the old
configuration done via sysctl, and allows both fdt configuration data and
userland control via the spigen device to work.

Submitted by: Bob Frazier
Differential Revision: https://reviews.freebsd.org/D15031
sys/arm/broadcom/bcm2835/bcm2835_spi.c