]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-blackfin/bfin5xx_spi.h
rtc: use the IRQ callback interface in (old) RTC driver
[linux-2.6-omap-h63xx.git] / include / asm-blackfin / bfin5xx_spi.h
index 95c1c952e7c1420a42c33f354fe11372affa4e79..1a0b57f6a3d4549c4411243d432cd1009dcf37ad 100644 (file)
@@ -21,8 +21,6 @@
 #ifndef _SPI_CHANNEL_H_
 #define _SPI_CHANNEL_H_
 
-#define SPI0_REGBASE       0xffc00500
-
 #define SPI_READ              0
 #define SPI_WRITE             1
 
 struct bfin5xx_spi_master {
        u16 num_chipselect;
        u8 enable_dma;
+       u16 pin_req[4];
 };
 
 /* spi_board_info.controller_data for SPI slave devices,
@@ -164,7 +163,7 @@ struct bfin5xx_spi_chip {
        u8 enable_dma;
        u8 bits_per_word;
        u8 cs_change_per_word;
-       u8 cs_chg_udelay;
+       u16 cs_chg_udelay; /* Some devices require 16-bit delays */
 };
 
 #endif /* _SPI_CHANNEL_H_ */