• Home
  • Raw
  • Download

Lines Matching +full:spi +full:- +full:slave

1 PXA2xx SPI on SSP driver HOWTO
4 synchronous serial port into a SPI master controller
5 (see Documentation/spi/spi-summary). The driver has the following features
7 - Support for any PXA2xx SSP
8 - SSP PIO and SSP DMA data transfers.
9 - External and Internal (SSPFRM) chip selects.
10 - Per slave device (chip) configuration.
11 - Full suspend, freeze, resume support.
15 (pump_transfer) is responsible for queuing SPI transactions and setting up and
19 -----------------------------------
20 Typically a SPI master is defined in the arch/.../mach-*/board-*.c as a
22 found in include/linux/spi/pxa2xx_spi.h:
30 slave device (chips) attached to this SPI master.
38 ------------------
60 .name = "pxa2xx-spi", /* MUST BE THIS VALUE, so device match driver */
78 Declaring Slave Devices
79 -----------------------
80 Typically each SPI slave (chip) is defined in the arch/.../mach-*/board-*.c
81 using the "spi_board_info" structure found in "linux/spi/spi.h". See
82 "Documentation/spi/spi-summary" for additional information.
84 Each slave device attached to the PXA must provide slave specific configuration
86 "include/linux/spi/pxa2xx_spi.h". The pxa2xx_spi master controller driver
87 will uses the configuration whenever the driver communicates with the slave
112 to determine the correct value. An SSP configured for byte-wide transfers would
118 dependent on the SPI bus speed ("spi_board_info.max_speed_hz") and the specific
119 slave device. Please note that the PXA2xx SSP 1 does not support trailing byte
120 timeouts and must busy-wait any trailing bytes.
128 function for asserting/deasserting a slave device chip select. If the field is
132 NOTE: the SPI driver cannot control the chip select if SSPFRM is used, so the
138 NSSP SLAVE SAMPLE
139 -----------------
144 /* Chip Select control for the CS8415A SPI slave device */
153 /* Chip Select control for the CS8405A SPI slave device */
186 .irq = STREETRACER_APCI_IRQ, /* Slave device interrupt */
194 .irq = STREETRACER_APCI_IRQ, /* Slave device interrupt */
206 -----------------------
232 ---------