2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 define KernelPackage
/mmc-spi
12 TITLE
:=MMC
/SD over SPI Support
13 DEPENDS
:=+kmod-mmc
+kmod-crc-itu-t
+kmod-crc7
14 KCONFIG
:=CONFIG_MMC_SPI \
17 FILES
:=$(LINUX_DIR
)/drivers
/mmc
/host
/mmc_spi.
$(LINUX_KMOD_SUFFIX
)
18 AUTOLOAD
:=$(call AutoLoad
,90,mmc_spi
)
21 define KernelPackage
/mmc-spi
/description
22 Kernel support for MMC
/SD over SPI
25 $(eval
$(call KernelPackage
,mmc-spi
))
28 define KernelPackage
/spi-bitbang
30 TITLE
:=Serial Peripheral Interface bitbanging library
31 KCONFIG
:=CONFIG_SPI_BITBANG \
34 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_bitbang.
$(LINUX_KMOD_SUFFIX
)
35 AUTOLOAD
:=$(call AutoLoad
,91,spi_bitbang
)
38 define KernelPackage
/spi-bitbang
/description
39 This package contains the SPI bitbanging library
42 $(eval
$(call KernelPackage
,spi-bitbang
))
45 define KernelPackage
/spi-gpio-old
47 TITLE
:=Old GPIO based bitbanging SPI controller
(DEPRECATED
)
48 DEPENDS
:=@GPIO_SUPPORT
+kmod-spi-bitbang
49 KCONFIG
:=CONFIG_SPI_GPIO_OLD
50 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_gpio_old.
$(LINUX_KMOD_SUFFIX
)
51 AUTOLOAD
:=$(call AutoLoad
,92,spi_gpio_old
)
54 define KernelPackage
/spi-gpio-old
/description
55 This package contains the GPIO based bitbanging SPI controller driver
58 $(eval
$(call KernelPackage
,spi-gpio-old
))
60 define KernelPackage
/spi-gpio
62 TITLE
:=GPIO-based bitbanging SPI Master
63 DEPENDS
:=@GPIO_SUPPORT
+kmod-spi-bitbang
64 KCONFIG
:=CONFIG_SPI_GPIO
65 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_gpio.
$(LINUX_KMOD_SUFFIX
)
66 AUTOLOAD
:=$(call AutoLoad
,92,spi_gpio
)
69 define KernelPackage
/spi-gpio
/description
70 This package contains the GPIO-based bitbanging SPI Master
73 $(eval
$(call KernelPackage
,spi-gpio
))
75 define KernelPackage
/spi-dev
77 TITLE
:=User mode SPI device driver
78 KCONFIG
:=CONFIG_SPI_SPIDEV \
81 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spidev.
$(LINUX_KMOD_SUFFIX
)
82 AUTOLOAD
:=$(call AutoLoad
,93,spidev
)
85 define KernelPackage
/spi-dev
/description
86 This package contains the user mode SPI device driver
89 $(eval
$(call KernelPackage
,spi-dev
))
92 define KernelPackage
/spi-vsc7385
94 TITLE
:=Vitesse VSC7385 ethernet switch driver
95 DEPENDS
:=@TARGET_ar71xx
96 KCONFIG
:=CONFIG_SPI_VSC7385
97 FILES
:=$(LINUX_DIR
)/drivers
/spi
/spi_vsc7385.
$(LINUX_KMOD_SUFFIX
)
98 AUTOLOAD
:=$(call AutoLoad
,93,spi_vsc7385
)
101 define KernelPackage
/spi-vsc7385
/description
102 This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
105 $(eval
$(call KernelPackage
,spi-vsc7385
))