X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=arch%2Fblackfin%2Finclude%2Fasm%2Fbfin5xx_spi.h;h=aaeb4df10d578c6128aa6ef13a6ffb41b91e6a25;hb=0e26da0f2200a2fb51844aaa43e365ea9dd5a93d;hp=1306e6b2294627fa1c07d6aa683c7d29ac19aca6;hpb=30aae739a9eb6db31ad7b08dac44bd302f41c709;p=linux-2.6-omap-h63xx.git diff --git a/arch/blackfin/include/asm/bfin5xx_spi.h b/arch/blackfin/include/asm/bfin5xx_spi.h index 1306e6b2294..aaeb4df10d5 100644 --- a/arch/blackfin/include/asm/bfin5xx_spi.h +++ b/arch/blackfin/include/asm/bfin5xx_spi.h @@ -11,6 +11,8 @@ #ifndef _SPI_CHANNEL_H_ #define _SPI_CHANNEL_H_ +#define MIN_SPI_BAUD_VAL 2 + #define SPI_READ 0 #define SPI_WRITE 1 @@ -110,7 +112,7 @@ struct bfin5xx_spi_master { u16 num_chipselect; u8 enable_dma; - u16 pin_req[4]; + u16 pin_req[7]; }; /* spi_board_info.controller_data for SPI slave devices, @@ -122,6 +124,9 @@ struct bfin5xx_spi_chip { u8 bits_per_word; u8 cs_change_per_word; u16 cs_chg_udelay; /* Some devices require 16-bit delays */ + u32 cs_gpio; + /* Value to send if no TX value is supplied, usually 0x0 or 0xFFFF */ + u16 idle_tx_val; }; #endif /* _SPI_CHANNEL_H_ */