Configurable Serial Peripheral Interface (CSPI) Driver
i.MX51 EVK Linux Reference Manual
Freescale Semiconductor
26-3
26.2.2
Software Limitations
The CSPI driver limitations are as follows:
•
Does not currently have SPI slave logic implementation
•
Does not support a single client connected to multiple masters
•
Does not currently implement the user space interface with the help of the device node entry but
supports
sysfs
interface
26.2.3
Standard Operations
The CSPI driver is responsible for implementing standard entry points for init, exit, chip select and
transfer. The driver implements the following functions:
•
Init function
mxc_spi_init()
—Registers the
device_driver
structure.
•
Probe function
mxc_spi_probe()
—Performs initialization and registration of the SPI device
specific structure with SPI core driver. The driver probes for memory and IRQ resources.
Configures the IOMUX to enable CSPI I/O pins, requests for IRQ and resets the hardware.
•
Chip select function
mxc_spi_chipselect()
—Configures the hardware CSPI for the current SPI
device. Sets the word size, transfer mode, data rate for this device.
•
SPI transfer function
mxc_spi_transfer()
—Handles data transfers operations.
•
SPI setup function
mxc_spi_setup()
—Initializes the current SPI device.
•
SPI driver ISR
mxc_spi_isr()
—Called when the data transfer operation is completed and an
interrupt is generated.
Summary of Contents for i.MX51 EVK
Page 1: ...Part Number 924 76374 Rev 10 11 01 11 2010 i MX51 EVK Linux Reference Manual...
Page 14: ...i MX51 EVK Linux Reference Manual xiv Freescale Semiconductor...
Page 18: ...i MX51 EVK Linux Reference Manual xviii Freescale Semiconductor...
Page 24: ...i MX51 EVK Linux Reference Manual xxiv Freescale Semiconductor...
Page 38: ...Machine Specific Layer MSL i MX51 EVK Linux Reference Manual 2 8 Freescale Semiconductor...
Page 52: ...MC13892 Digitizer Driver i MX51 EVK Linux Reference Manual 5 4 Freescale Semiconductor...
Page 64: ...TV Encoder TVE Driver i MX51 EVK Linux Reference Manual 10 4 Freescale Semiconductor...
Page 82: ...Video for Linux Two V4L2 Driver i MX51 EVK Linux Reference Manual 12 8 Freescale Semiconductor...
Page 86: ...i MX5 Dual Display i MX51 EVK Linux Reference Manual 13 4 Freescale Semiconductor...
Page 100: ...X Windows Acceleration i MX51 EVK Linux Reference Manual 16 6 Freescale Semiconductor...
Page 118: ...Low Level Keypad Driver i MX51 EVK Linux Reference Manual 20 6 Freescale Semiconductor...
Page 134: ...Security Drivers i MX51 EVK Linux Reference Manual 22 10 Freescale Semiconductor...
Page 148: ...Inter IC I2C Driver i MX51 EVK Linux Reference Manual 24 4 Freescale Semiconductor...
Page 178: ...ARC USB Driver i MX51 EVK Linux Reference Manual 29 10 Freescale Semiconductor...
Page 194: ...OProfile i MX51 EVK Linux Reference Manual 33 6 Freescale Semiconductor...