Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 60792
b: refs/heads/master
c: ae918c0
h: refs/heads/master
v: v3
  • Loading branch information
Andrei Konovalov authored and Linus Torvalds committed Jul 17, 2007
1 parent 39f392e commit f530dcf
Show file tree
Hide file tree
Showing 5 changed files with 454 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 447aef1a19135a69bfd725c33f7e753740cb8447
refs/heads/master: ae918c02d365c884bccb193960db41364868bb7b
7 changes: 7 additions & 0 deletions trunk/arch/ppc/syslib/virtex_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
11 changes: 11 additions & 0 deletions trunk/drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,17 @@ config SPI_S3C24XX_GPIO
GPIO lines to provide the SPI bus. This can be used where
the inbuilt hardware cannot provide the transfer mode, or
where the board is using non hardware connected pins.

config SPI_XILINX
tristate "Xilinx SPI controller"
depends on SPI_MASTER && XILINX_VIRTEX && EXPERIMENTAL
select SPI_BITBANG
help
This exposes the SPI controller IP from the Xilinx EDK.

See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
Product Specification document (DS464) for hardware details.

#
# Add new SPI master controllers in alphabetical order above this line
#
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/spi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ obj-$(CONFIG_SPI_MPC52xx_PSC) += mpc52xx_psc_spi.o
obj-$(CONFIG_SPI_MPC83xx) += spi_mpc83xx.o
obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o
obj-$(CONFIG_SPI_S3C24XX) += spi_s3c24xx.o
obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o
# ... add above this line ...

# SPI protocol drivers (device/link on bus)
Expand Down
Loading

0 comments on commit f530dcf

Please sign in to comment.