brcm63xx: update development kernel to linux 3.14
[openwrt/svn-archive/archive.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 define KernelPackage/usb-rt305x-dwc_otg
9 TITLE:=RT305X USB controller driver
10 DEPENDS:=@TARGET_ramips_rt305x
11 KCONFIG:= \
12 CONFIG_DWC_OTG \
13 CONFIG_DWC_OTG_HOST_ONLY=y \
14 CONFIG_DWC_OTG_DEVICE_ONLY=n \
15 CONFIG_DWC_OTG_DEBUG=n
16 FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
17 AUTOLOAD:=$(call AutoLoad,54,dwc_otg,1)
18 $(call AddDepends/usb)
19 endef
20
21 define KernelPackage/usb-rt305x-dwc_otg/description
22 This driver provides USB Device Controller support for the
23 Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs.
24 endef
25
26 $(eval $(call KernelPackage,usb-rt305x-dwc_otg))
27
28 OTHER_MENU:=Other modules
29 define KernelPackage/sdhci-mt7620
30 SUBMENU:=Other modules
31 TITLE:=MT7620 SDCI
32 DEPENDS:=@TARGET_ramips_mt7620a +kmod-sdhci
33 KCONFIG:= \
34 CONFIG_MMC_SDHCI_MT7620
35 FILES:= \
36 $(LINUX_DIR)/drivers/mmc/host/sdhci-mt7620.ko
37 AUTOLOAD:=$(call AutoProbe,sdhci-mt7620,1)
38 endef
39
40 $(eval $(call KernelPackage,sdhci-mt7620))
41
42 I2C_RALINK_MODULES:= \
43 CONFIG_I2C_RALINK:drivers/i2c/busses/i2c-ralink
44
45 define KernelPackage/i2c-ralink
46 $(call i2c_defaults,$(I2C_RALINK_MODULES),59)
47 TITLE:=Ralink I2C Controller
48 DEPENDS:=@TARGET_ramips kmod-i2c-core
49 endef
50
51 define KernelPackage/i2c-ralink/description
52 Kernel modules for enable ralink i2c controller.
53 endef
54
55 $(eval $(call KernelPackage,i2c-ralink))
56
57 define KernelPackage/sound-mt7620
58 TITLE:=MT7620 PCM/I2S Alsa Driver
59 DEPENDS:=@TARGET_ramips_mt7620a +kmod-sound-soc-core +kmod-regmap
60 KCONFIG:= \
61 CONFIG_SND_MT7620_SOC_I2S \
62 CONFIG_SND_MT7620_SOC_WM8960
63 FILES:= \
64 $(LINUX_DIR)/sound/soc/ralink/snd-soc-mt7620-i2s.ko \
65 $(LINUX_DIR)/sound/soc/ralink/snd-soc-mt7620-wm8960.ko \
66 $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko
67 AUTOLOAD:=$(call AutoLoad,90,snd-soc-wm8960 snd-soc-mt7620-i2s snd-soc-mt7620-wm8960)
68 $(call AddDepends/sound)
69 endef
70
71 define KernelPackage/sound-mt7620/description
72 Alsa modules for ralink i2s controller.
73 endef
74
75 $(eval $(call KernelPackage,sound-mt7620))