Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
davinci_spi_platform_data Struct Reference

#include <spi-davinci.h>

Data Fields

u8 version
 
u8 num_chipselect
 
u8 intr_line
 
u8chip_sel
 
bool cshold_bug
 
enum dma_event_q dma_event_q
 

Detailed Description

davinci_spi_platform_data - Platform data for SPI master device on DaVinci

Version
: version of the SPI IP. Different DaVinci devices have slightly varying versions of the same IP. : number of chipselects supported by this SPI master : interrupt line used to connect the SPI IP to the ARM interrupt controller withn the SoC. Possible values are 0 and 1. : list of GPIOs which can act as chip-selects for the SPI. SPI_INTERN_CS denotes internal SPI chip-select. Not necessary to populate if all chip-selects are internal. : set this to true if the SPI controller on your chip requires a write to CSHOLD bit in between transfers (like in DM355). : DMA event queue to use if SPI_IO_TYPE_DMA is used for any device on the bus.

Definition at line 47 of file spi-davinci.h.

Field Documentation

u8* chip_sel

Definition at line 51 of file spi-davinci.h.

bool cshold_bug

Definition at line 52 of file spi-davinci.h.

Definition at line 53 of file spi-davinci.h.

u8 intr_line

Definition at line 50 of file spi-davinci.h.

u8 num_chipselect

Definition at line 49 of file spi-davinci.h.

u8 version

Definition at line 48 of file spi-davinci.h.


The documentation for this struct was generated from the following file: