blob: cc0335b1c951c1983085f23d7f5a097c8bd9cf30 [file] [log] [blame]
/*
* designware.h - platform glue for the Synopsys DesignWare SPI controller
*/
#define CLK_NAME 10
#define TX_FIFO_DEPTH 8
#define RX_FIFO_DEPTH 8
struct spi_controller_pdata {
int use_dma;
int num_chipselects;
int bus_num;
u32 max_freq;
char clk_name[CLK_NAME];
};