diff options
author | John Crispin <john@openwrt.org> | 2015-03-12 10:06:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-12 10:06:17 +0000 |
commit | 8c19f53007643b4b089bbf7592ffa5385caaf19a (patch) | |
tree | 2fccbcf85da3c9f03ff76c86acd7cf715c779314 /target/linux/ramips/modules.mk | |
parent | 470e89f977ac170da86453cad90d334dfef41275 (diff) | |
download | upstream-8c19f53007643b4b089bbf7592ffa5385caaf19a.tar.gz upstream-8c19f53007643b4b089bbf7592ffa5385caaf19a.tar.bz2 upstream-8c19f53007643b4b089bbf7592ffa5385caaf19a.zip |
ralink: MT7621 add i2c controller driver
ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.
Signed-off-by: daixj <fl.service@t-firefly.com>
SVN-Revision: 44690
Diffstat (limited to 'target/linux/ramips/modules.mk')
-rw-r--r-- | target/linux/ramips/modules.mk | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index 550a8c2930..d72e0aa88b 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -27,7 +27,7 @@ I2C_RALINK_MODULES:= \ define KernelPackage/i2c-ralink $(call i2c_defaults,$(I2C_RALINK_MODULES),59) TITLE:=Ralink I2C Controller - DEPENDS:=@TARGET_ramips kmod-i2c-core + DEPENDS:=@TARGET_ramips @(!TARGET_ramips_mt7621) kmod-i2c-core endef define KernelPackage/i2c-ralink/description @@ -36,6 +36,24 @@ endef $(eval $(call KernelPackage,i2c-ralink)) + +I2C_MT7621_MODULES:= \ + CONFIG_I2C_MT7621:drivers/i2c/busses/i2c-mt7621 + +define KernelPackage/i2c-mt7621 + $(call i2c_defaults,$(I2C_MT7621_MODULES),59) + TITLE:=MT7621 I2C Controller + DEPENDS:=@TARGET_ramips @TARGET_ramips_mt7621 kmod-i2c-core +endef + +define KernelPackage/i2c-mt7621/description + Kernel modules for enable mt7621 i2c controller. +endef + +$(eval $(call KernelPackage,i2c-mt7621)) + + + define KernelPackage/sound-mt7620 TITLE:=MT7620 PCM/I2S Alsa Driver DEPENDS:=@TARGET_ramips_mt7620 +kmod-sound-soc-core +kmod-regmap |