ralink: drop dwc_otg support. dwc2 seems stable
[openwrt/openwrt.git] / target / linux / ramips / modules.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 OTHER_MENU:=Other modules
9 define KernelPackage/sdhci-mt7620
10 SUBMENU:=Other modules
11 TITLE:=MT7620 SDCI
12 DEPENDS:=@TARGET_ramips_mt7620a +kmod-sdhci
13 KCONFIG:= \
14 CONFIG_MMC_SDHCI_MT7620
15 FILES:= \
16 $(LINUX_DIR)/drivers/mmc/host/sdhci-mt7620.ko
17 AUTOLOAD:=$(call AutoProbe,sdhci-mt7620,1)
18 endef
19
20 $(eval $(call KernelPackage,sdhci-mt7620))
21
22 I2C_RALINK_MODULES:= \
23 CONFIG_I2C_RALINK:drivers/i2c/busses/i2c-ralink
24
25 define KernelPackage/i2c-ralink
26 $(call i2c_defaults,$(I2C_RALINK_MODULES),59)
27 TITLE:=Ralink I2C Controller
28 DEPENDS:=@TARGET_ramips kmod-i2c-core
29 endef
30
31 define KernelPackage/i2c-ralink/description
32 Kernel modules for enable ralink i2c controller.
33 endef
34
35 $(eval $(call KernelPackage,i2c-ralink))
36
37 define KernelPackage/sound-mt7620
38 TITLE:=MT7620 PCM/I2S Alsa Driver
39 DEPENDS:=@TARGET_ramips_mt7620a +kmod-sound-soc-core +kmod-regmap
40 KCONFIG:= \
41 CONFIG_SND_MT7620_SOC_I2S \
42 CONFIG_SND_MT7620_SOC_WM8960
43 FILES:= \
44 $(LINUX_DIR)/sound/soc/ralink/snd-soc-mt7620-i2s.ko \
45 $(LINUX_DIR)/sound/soc/ralink/snd-soc-mt7620-wm8960.ko \
46 $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko
47 AUTOLOAD:=$(call AutoLoad,90,snd-soc-wm8960 snd-soc-mt7620-i2s snd-soc-mt7620-wm8960)
48 $(call AddDepends/sound)
49 endef
50
51 define KernelPackage/sound-mt7620/description
52 Alsa modules for ralink i2s controller.
53 endef
54
55 $(eval $(call KernelPackage,sound-mt7620))