summaryrefslogtreecommitdiffstats
path: root/arch/ppc/syslib/virtex_devices.h
diff options
context:
space:
mode:
authorAndrei Konovalov <akonovalov@ru.mvista.com>2007-07-17 04:04:11 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-17 10:23:05 -0700
commitae918c02d365c884bccb193960db41364868bb7b (patch)
tree5de1aea4e976c01e50e8bd0640835f719297c464 /arch/ppc/syslib/virtex_devices.h
parent447aef1a19135a69bfd725c33f7e753740cb8447 (diff)
downloadlinux-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/virtex_devices.h')
-rw-r--r--arch/ppc/syslib/virtex_devices.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ppc/syslib/virtex_devices.h b/arch/ppc/syslib/virtex_devices.h
index 3d4be1412f60..9f38d92ae536 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__ */