2 # Copyright (C) 2006-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 OTHER_MENU
:=Other modules
9 define KernelPackage
/sdhci-mt7620
10 SUBMENU
:=Other modules
12 DEPENDS
:=@
(TARGET_ramips_mt7620||TARGET_ramips_mt7628||TARGET_ramips_mt7621||TARGET_ramips_mt7688
) +kmod-sdhci
15 CONFIG_MTK_AEE_KDUMP
=n \
16 CONFIG_MTK_MMC_CD_POLL
=n
18 $(LINUX_DIR
)/drivers
/mmc
/host
/mtk-mmc
/mtk_sd.ko
19 AUTOLOAD
:=$(call AutoProbe
,mtk_sd
,1)
22 $(eval
$(call KernelPackage
,sdhci-mt7620
))
24 I2C_RALINK_MODULES
:= \
25 CONFIG_I2C_RALINK
:drivers
/i2c
/busses
/i2c-ralink
27 define KernelPackage
/i2c-ralink
28 $(call i2c_defaults
,$(I2C_RALINK_MODULES
),59)
29 TITLE
:=Ralink I2C Controller
30 DEPENDS
:=@TARGET_ramips @
(!TARGET_ramips_mt7621
) kmod-i2c-core
33 define KernelPackage
/i2c-ralink
/description
34 Kernel modules for enable ralink i2c controller.
37 $(eval
$(call KernelPackage
,i2c-ralink
))
40 I2C_MT7621_MODULES
:= \
41 CONFIG_I2C_MT7621
:drivers
/i2c
/busses
/i2c-mt7621
43 define KernelPackage
/i2c-mt7621
44 $(call i2c_defaults
,$(I2C_MT7621_MODULES
),59)
45 TITLE
:=MT7621 I2C Controller
46 DEPENDS
:=@TARGET_ramips @TARGET_ramips_mt7621 kmod-i2c-core
49 define KernelPackage
/i2c-mt7621
/description
50 Kernel modules for enable mt7621 i2c controller.
53 $(eval
$(call KernelPackage
,i2c-mt7621
))
57 define KernelPackage
/sound-mt7620
58 TITLE
:=MT7620 PCM
/I2S Alsa Driver
59 DEPENDS
:=@TARGET_ramips_mt7620
+kmod-sound-soc-core
+kmod-regmap
61 CONFIG_SND_MT7620_SOC_I2S \
62 CONFIG_SND_MT7620_SOC_WM8960
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
)
71 define KernelPackage
/sound-mt7620
/description
72 Alsa modules for ralink i2s controller.
75 $(eval
$(call KernelPackage
,sound-mt7620
))