[OpenWrt-Devel] Adding CONFIG_I2C_CHARDEV

2014-05-14 Thread Drasko DRASKOVIC
Hi all,
I want to enable i2c support to my ATH9 Carambola2 device, but I can
not reach kernel's CONFIG_I2C_CHARDEV=y from menuconfig.

Is it OK to chage this directly via `make target/linux/clean` or
kernel config should be affected only via main menuconfig (the one
from OpenWrt root)?

Best regards,
Drasko
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Adding CONFIG_I2C_CHARDEV

2014-05-14 Thread Florian Fainelli
Hi,

2014-05-14 16:01 GMT-07:00 Drasko DRASKOVIC drasko.drasko...@gmail.com:
 Hi all,
 I want to enable i2c support to my ATH9 Carambola2 device, but I can
 not reach kernel's CONFIG_I2C_CHARDEV=y from menuconfig.

 Is it OK to chage this directly via `make target/linux/clean` or
 kernel config should be affected only via main menuconfig (the one
 from OpenWrt root)?

CONFIG_I2C_CHARDEV is enabled when using kmod-i2c-core, did you try
installing kmod-i2c-core for your platform?
-- 
Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Adding CONFIG_I2C_CHARDEV

2014-05-14 Thread Drasko DRASKOVIC
Yes, it is enabled.

I did not test all though, I wanted to ask first ;). I hade before one
OpenWrt version with broken buildroot, so I remember that I had this
problem.

Thanks for the answer, I thought that it was automatic.

BR,
Drasko

On Thu, May 15, 2014 at 1:07 AM, Florian Fainelli flor...@openwrt.org wrote:
 Hi,

 2014-05-14 16:01 GMT-07:00 Drasko DRASKOVIC drasko.drasko...@gmail.com:
 Hi all,
 I want to enable i2c support to my ATH9 Carambola2 device, but I can
 not reach kernel's CONFIG_I2C_CHARDEV=y from menuconfig.

 Is it OK to chage this directly via `make target/linux/clean` or
 kernel config should be affected only via main menuconfig (the one
 from OpenWrt root)?

 CONFIG_I2C_CHARDEV is enabled when using kmod-i2c-core, did you try
 installing kmod-i2c-core for your platform?
 --
 Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel