X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ff79543946d5dcc99b9678101fca537e5bd6c1ce..9c26cd0e621418d3b12022f91bbc10d95841d629:/package/kernel/modules/i2c.mk diff --git a/package/kernel/modules/i2c.mk b/package/kernel/modules/i2c.mk index 9612f965f..e4d714e90 100644 --- a/package/kernel/modules/i2c.mk +++ b/package/kernel/modules/i2c.mk @@ -183,3 +183,19 @@ define KernelPackage/i2c-mv64xxx/description endef $(eval $(call KernelPackage,i2c-mv64xxx)) + + +I2C_AT91_MODULES:=\ + CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91 + +define KernelPackage/at91-i2c + $(call i2c_defaults,$(I2C_AT91_MODULES),55) + TITLE:=I2C (TWI) master driver for Atmel AT91 + DEPENDS:=@TARGET_at91 +kmod-i2c-core +endef + +define KernelPackage/at91-i2c/description + Kernel module to use the I2C (TWI) master driver for Atmel AT91 +endef + +$(eval $(call KernelPackage,at91-i2c))