X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae57d8838ce086c44a95b54816191ed9e92545b2..e20ce563646f920c27bc8c56ee217d8b7e5e9641:/package/kernel/modules/i2c.mk diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index 14fbcf8e9..9612f965f 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -167,3 +167,19 @@ define KernelPackage/i2c-ibm-iic/description endef $(eval $(call KernelPackage,i2c-ibm-iic)) + +I2C_MV64XXX_MODULES:=\ + CONFIG_I2C_MV64XXX:drivers/i2c/busses/i2c-mv64xxx + +define KernelPackage/i2c-mv64xxx + $(call i2c_defaults,$(I2C_MV64XXX_MODULES),59) + TITLE:=Orion Platform I2C interface support + DEPENDS:=@TARGET_kirkwood||TARGET_orion +kmod-i2c-core +endef + +define KernelPackage/i2c-mv64xxx/description + Kernel module for I2C interface on the Kirkwood and Orion + family processors. +endef + +$(eval $(call KernelPackage,i2c-mv64xxx))