Author: wigyori
Date: 2014-12-12 12:39:22 +0100 (Fri, 12 Dec 2014)
New Revision: 43648

Modified:
   trunk/target/linux/mxs/config-3.14
   trunk/target/linux/mxs/modules.mk
Log:
mxs: i2c changes
 - add package for i2c module
 - remove i2c debug

Signed-off-by: Michael Heimpold <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>



Modified: trunk/target/linux/mxs/config-3.14
===================================================================
--- trunk/target/linux/mxs/config-3.14  2014-12-12 11:10:04 UTC (rev 43647)
+++ trunk/target/linux/mxs/config-3.14  2014-12-12 11:39:22 UTC (rev 43648)
@@ -157,15 +157,12 @@
 CONFIG_I2C_BOARDINFO=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_COMPAT=y
-CONFIG_I2C_DEBUG_ALGO=y
-CONFIG_I2C_DEBUG_BUS=y
-CONFIG_I2C_DEBUG_CORE=y
 CONFIG_I2C_MUX=y
 # CONFIG_I2C_MUX_GPIO is not set
 # CONFIG_I2C_MUX_PCA9541 is not set
 # CONFIG_I2C_MUX_PCA954x is not set
 CONFIG_I2C_MUX_PINCTRL=y
-CONFIG_I2C_MXS=y
+# CONFIG_I2C_MXS is not set
 CONFIG_IIO=y
 CONFIG_IIO_BUFFER=y
 CONFIG_IIO_KFIFO_BUF=y

Modified: trunk/target/linux/mxs/modules.mk
===================================================================
--- trunk/target/linux/mxs/modules.mk   2014-12-12 11:10:04 UTC (rev 43647)
+++ trunk/target/linux/mxs/modules.mk   2014-12-12 11:39:22 UTC (rev 43648)
@@ -99,3 +99,18 @@
 endef
 
 $(eval $(call KernelPackage,spi-mxs))
+
+I2C_MXS_MODULES:= \
+  CONFIG_I2C_MXS:drivers/i2c/busses/i2c-mxs
+
+define KernelPackage/i2c-mxs
+  $(call i2c_defaults,$(I2C_MXS_MODULES),55)
+  TITLE:=Freescale i.MX23/28 I2C driver
+  DEPENDS:=@TARGET_mxs +kmod-i2c-core
+endef
+
+define KernelPackage/i2c-mxs/description
+    Kernel module for Freescale i.MX23/28 I2C controller
+endef
+
+$(eval $(call KernelPackage,i2c-mxs))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to