mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
447aef1a19
commit
ae918c02d3
4 changed files with 453 additions and 0 deletions
|
|
@ -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__ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue