GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
IMX_SPI(4) FreeBSD Kernel Interfaces Manual IMX_SPI(4)

imx_spi
device driver for the NXP i.MX family Serial Peripheral Interface (SPI)

To compile this driver into the kernel, place the following line in your kernel configuration file:
device imx_spi

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

imx_spi_load="YES"

The imx_spi driver provides support for the ‘ECSPI’ (Enhanced Configurable SPI) hardware present on the NXP i.MX family of processors. While the ECSPI hardware supports both master and slave mode, this driver currently operates only in master mode.

Due to hardware quirks, the imx_spi driver requires that all chip select pins be configured as GPIO pins. Use the FDT property ‘cs-gpios’ to specify which pins to use as chip selects. You may use any GPIO pins, including the ones that the hardware would normally use as SPI select pins; just configure them as GPIO in the fdt_pinctrl(4) data.

The following variables are available via sysctl(8), and as loader(8) tunables:
dev.imx_spi.%d.debug
Output debugging info when non-zero. A value of 1 displays information about bus transfers, 2 adds information about bus clock frequency and chip select activity, and 3 adds information about interrupt handling.

fdt(4), fdt_pinctrl(4), sysctl(8)

The imx_spi driver first appeared in FreeBSD 12.0.
July 9, 2018 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.