Messages in this thread | | | Date | Wed, 28 Nov 2012 18:09:07 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH] add hardware I2C support for ARM IMX23 |
| |
Hi,
(adding the i2c list)
On Wed, Nov 28, 2012 at 05:44:49PM +0100, Sander van Ginkel wrote: > tested with: > CONFIG_I2C_MXS=m > CONFIG_I2C_MXS=y > > in combination with CONFIG_GPIO_MXS enabled and disabled > > used kernels: 3.6 and 3.7.0-rc6 > > My I2C slave is a PCF8575 i/o expander with some LEDs at the output. > These are controlled through sysfs.
Thanks, this is useful info.
> Just tested with "i2cdetc -y -r 0" that crashes with "BUG: soft > lockup - CPU#0 stuck for 22s!" > according to the docs (IMX23RM.pdf) the interrupts for I2C are 26 > and 27 that why I assigned these two in the dts.
You might want to try my for-next branch or wait for 3.8-rc1, maybe the DMA termination patch helps? Also enabling I2C debug messages is probably worth it.
Regards,
Wolfram
-- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ | [unhandled content-type:application/pgp-signature] | |