diff options
author | Andrei Konovalov <akonovalov@ru.mvista.com> | 2007-07-17 04:04:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 10:23:05 -0700 |
commit | ae918c02d365c884bccb193960db41364868bb7b (patch) | |
tree | 5de1aea4e976c01e50e8bd0640835f719297c464 /arch/ppc/syslib | |
parent | 447aef1a19135a69bfd725c33f7e753740cb8447 (diff) | |
download | kernel_samsung_crespo-ae918c02d365c884bccb193960db41364868bb7b.zip kernel_samsung_crespo-ae918c02d365c884bccb193960db41364868bb7b.tar.gz kernel_samsung_crespo-ae918c02d365c884bccb193960db41364868bb7b.tar.bz2 |
SPI master driver for Xilinx virtex
Simple SPI master driver for Xilinx SPI controller.
No support for multiple masters.
Not using level 1 drivers from EDK.
[akpm@linux-foundation.org: uninlining]
Signed-off-by: Yuri Frolov <yfrolov@ru.mvista.com>
Signed-off-by: Andrei Konovalov <akonovalov@ru.mvista.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ppc/syslib')
-rw-r--r-- | arch/ppc/syslib/virtex_devices.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/syslib/virtex_devices.h b/arch/ppc/syslib/virtex_devices.h index 3d4be14..9f38d92 100644 --- a/arch/ppc/syslib/virtex_devices.h +++ b/arch/ppc/syslib/virtex_devices.h @@ -31,4 +31,11 @@ void __init virtex_early_serial_map(void); */ int virtex_device_fixup(struct platform_device *dev); +/* SPI Controller IP */ +struct xspi_platform_data { + s16 bus_num; + u16 num_chipselect; + u32 speed_hz; +}; + #endif /* __ASM_VIRTEX_DEVICES_H__ */ |