]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ramips: modules: build I2C driver package for MT7621 22213/head
authorShiji Yang <yangshiji66@outlook.com>
Sat, 28 Feb 2026 10:36:36 +0000 (18:36 +0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 3 Mar 2026 12:07:58 +0000 (13:07 +0100)
Some MT7621 devices also have I2C peripherals.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/22213
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ramips/modules.mk

index 286457c25e2d6dd56f28c8d698a64606503f4d87..5175be85c00c2d152442089da5308f317ed0b0ad 100644 (file)
@@ -84,13 +84,14 @@ I2C_MT7621_MODULES:= \
 
 define KernelPackage/i2c-mt7628
   $(call i2c_defaults,$(I2C_MT7621_MODULES),59)
-  TITLE:=MT7628/88 I2C Controller
+  TITLE:=MT7621/MT7628/MT7688 I2C Controller
   DEPENDS:=+kmod-i2c-core \
-       @(TARGET_ramips_mt76x8)
+       @(TARGET_ramips_mt7621||TARGET_ramips_mt76x8)
 endef
 
 define KernelPackage/i2c-mt7628/description
- Kernel modules for enable mt7621 i2c controller.
+  Driver support for I2C controller in the MediaTek
+  MT7621/MT7628/MT7688 SoCs.
 endef
 
 $(eval $(call KernelPackage,i2c-mt7628))