Hi Darius, On Thu, 13 Mar 2008 18:07:45 +0200, Darius wrote: > Almost written from scratch - only small piece of code leaved from old > driver, witch never was originally in vanilla kernel. > SMB is NOT supported currently.
Assuming that you mean SMBus, it is in fact almost supported, because i2c-core can emulate most of SMBus over I2C. Just add I2C_FUNC_SMBUS_EMUL to i2c_imx_func() and you're done. If the device doesn't support zero-byte messages, you might have to remove I2C_FUNC_SMBUS_QUICK but that's about it. > Tested on the MXLADS v2.0 board with i2c client driver (driver for > NT7651 LCD controller). All works fine, stable. You really need to read Documentation/CodingStyle and adjust your code accordingly before I will consider merging your patch. scripts/checkpatch.pl is your friend too. -- Jean Delvare _______________________________________________ i2c mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/i2c
