Skip to content

Commit 7a76074

Browse files
DragonBlueprobimarko
authored andcommitted
ramips: modules: build I2C driver package for MT7621
Some MT7621 devices also have I2C peripherals. Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: openwrt/openwrt#22213 Signed-off-by: Robert Marko <robimarko@gmail.com>
1 parent 2433572 commit 7a76074

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

target/linux/ramips/modules.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ I2C_MT7621_MODULES:= \
8484

8585
define KernelPackage/i2c-mt7628
8686
$(call i2c_defaults,$(I2C_MT7621_MODULES),59)
87-
TITLE:=MT7628/88 I2C Controller
87+
TITLE:=MT7621/MT7628/MT7688 I2C Controller
8888
DEPENDS:=+kmod-i2c-core \
89-
@(TARGET_ramips_mt76x8)
89+
@(TARGET_ramips_mt7621||TARGET_ramips_mt76x8)
9090
endef
9191

9292
define KernelPackage/i2c-mt7628/description
93-
Kernel modules for enable mt7621 i2c controller.
93+
Driver support for I2C controller in the MediaTek
94+
MT7621/MT7628/MT7688 SoCs.
9495
endef
9596

9697
$(eval $(call KernelPackage,i2c-mt7628))

0 commit comments

Comments
 (0)