X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Framips%2Fmodules.mk;h=95dfd78d05e8a0abcdb963f418575a85f3c743ef;hp=c2b6f50624fd023880391d69a6e33dcdefe0291f;hb=c330408ea92d9bf6af187b90d2f3f513d4d8ed8a;hpb=80768ddccd6275d1506badcf57ae31560ca19da2 diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index c2b6f50624..95dfd78d05 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -10,7 +10,7 @@ OTHER_MENU:=Other modules define KernelPackage/pwm-mediatek SUBMENU:=Other modules TITLE:=MT7628 PWM - DEPENDS:=@(TARGET_ramips_mt7628||TARGET_ramips_mt7688) + DEPENDS:=@(TARGET_ramips_mt76x8) KCONFIG:= \ CONFIG_PWM=y \ CONFIG_PWM_MEDIATEK \ @@ -29,7 +29,7 @@ $(eval $(call KernelPackage,pwm-mediatek)) define KernelPackage/sdhci-mt7620 SUBMENU:=Other modules TITLE:=MT7620 SDCI - DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt7628||TARGET_ramips_mt7621||TARGET_ramips_mt7688) +kmod-sdhci + DEPENDS:=@(TARGET_ramips_mt7620||TARGET_ramips_mt76x8||TARGET_ramips_mt7621) +kmod-mmc KCONFIG:= \ CONFIG_MTK_MMC \ CONFIG_MTK_AEE_KDUMP=n \ @@ -48,7 +48,7 @@ define KernelPackage/i2c-ralink $(call i2c_defaults,$(I2C_RALINK_MODULES),59) TITLE:=Ralink I2C Controller DEPENDS:=kmod-i2c-core @TARGET_ramips \ - @!(TARGET_ramips_mt7621||TARGET_ramips_mt7628||TARGET_ramips_mt7688) + @!(TARGET_ramips_mt7621||TARGET_ramips_mt76x8) endef define KernelPackage/i2c-ralink/description @@ -58,6 +58,22 @@ endef $(eval $(call KernelPackage,i2c-ralink)) +I2C_MT7621_MODULES:= \ + CONFIG_I2C_MT7621:drivers/i2c/busses/i2c-mt7621 + +define KernelPackage/i2c-mt7628 + $(call i2c_defaults,$(I2C_MT7621_MODULES),59) + TITLE:=MT7628/88 I2C Controller + DEPENDS:=kmod-i2c-core \ + @(TARGET_ramips_mt76x8) +endef + +define KernelPackage/i2c-mt7628/description + Kernel modules for enable mt7621 i2c controller. +endef + +$(eval $(call KernelPackage,i2c-mt7628)) + define KernelPackage/dma-ralink SUBMENU:=Other modules TITLE:=Ralink GDMA Engine @@ -104,10 +120,12 @@ define KernelPackage/sound-mt7620 KCONFIG:= \ CONFIG_SND_RALINK_SOC_I2S \ CONFIG_SND_SIMPLE_CARD \ + CONFIG_SND_SIMPLE_CARD_UTILS \ CONFIG_SND_SOC_WM8960 FILES:= \ $(LINUX_DIR)/sound/soc/ralink/snd-soc-ralink-i2s.ko \ $(LINUX_DIR)/sound/soc/generic/snd-soc-simple-card.ko \ + $(LINUX_DIR)/sound/soc/generic/snd-soc-simple-card-utils.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko AUTOLOAD:=$(call AutoLoad,90,snd-soc-wm8960 snd-soc-ralink-i2s snd-soc-simple-card) $(call AddDepends/sound)