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.

[[email protected]: uninlining]
Signed-off-by: Yuri Frolov <[email protected]>
Signed-off-by: Andrei Konovalov <[email protected]>
Cc: Kumar Gala <[email protected]>
Cc: David Brownell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Andrei Konovalov 2007-07-17 04:04:11 -07:00 • committed by Linus Torvalds
commit ae918c02d3
4 changed files with 453 additions and 0 deletions

View file

@ -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__ */