diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2011-04-21 11:45:23 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2011-04-21 11:45:23 +0000 |
commit | 015b010f90daa928dbcba6c5c8dfb4085b41695d (patch) | |
tree | 4965132c38610fa2c5bbb70481436137a225dd52 /target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch | |
parent | 6986b1b7c2aa4835bd173e3bc25a38c3f0245dee (diff) | |
download | mtk-20170518-015b010f90daa928dbcba6c5c8dfb4085b41695d.zip mtk-20170518-015b010f90daa928dbcba6c5c8dfb4085b41695d.tar.gz mtk-20170518-015b010f90daa928dbcba6c5c8dfb4085b41695d.tar.bz2 |
linux/ar71xx: add 2.6.38 preliminary support
SVN-Revision: 26746
Diffstat (limited to 'target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch')
-rw-r--r-- | target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch b/target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch new file mode 100644 index 0000000..109e815 --- /dev/null +++ b/target/linux/ar71xx/patches-2.6.38/153-spi-rb4xx-cpld-driver.patch @@ -0,0 +1,26 @@ +--- a/drivers/spi/Kconfig ++++ b/drivers/spi/Kconfig +@@ -450,6 +450,13 @@ config SPI_TLE62X0 + sysfs interface, with each line presented as a kind of GPIO + exposing both switch control and diagnostic feedback. + ++config SPI_RB4XX_CPLD ++ tristate "MikroTik RB4XX CPLD driver" ++ depends on AR71XX_MACH_RB4XX ++ help ++ SPI driver for the Xilinx CPLD chip present on the ++ MikroTik RB4xx boards. ++ + # + # Add new SPI protocol masters in alphabetical order above this line + # +--- a/drivers/spi/Makefile ++++ b/drivers/spi/Makefile +@@ -61,6 +61,7 @@ spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ) + # ... add above this line ... + + # SPI protocol drivers (device/link on bus) ++obj-$(CONFIG_SPI_RB4XX_CPLD) += spi_rb4xx_cpld.o + obj-$(CONFIG_SPI_SPIDEV) += spidev.o + obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o + # ... add above this line ... |