* Re: [PATCH] add hardware I2C support for ARM IMX23
[not found] ` <50B63F81.4050008@van-ginkel.eu>
@ 2012-11-28 17:09 ` Wolfram Sang
2012-11-28 17:34 ` sander van ginkel
[not found] ` <20121128170907.GC4659-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2012-11-28 17:09 UTC (permalink / raw)
To: Sander van Ginkel
Cc: linux-kernel, kernel, shawn.guo, linux-arm-kernel, linux-i2c
[-- Attachment #1: Type: text/plain, Size: 977 bytes --]
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/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] add hardware I2C support for ARM IMX23
2012-11-28 17:09 ` [PATCH] add hardware I2C support for ARM IMX23 Wolfram Sang
@ 2012-11-28 17:34 ` sander van ginkel
[not found] ` <20121128170907.GC4659-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
1 sibling, 0 replies; 3+ messages in thread
From: sander van ginkel @ 2012-11-28 17:34 UTC (permalink / raw)
To: Wolfram Sang; +Cc: linux-kernel, kernel, shawn.guo, linux-arm-kernel, linux-i2c
Citeren "Wolfram Sang" <w.sang@pengutronix.de>:
>
> 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/ |
>
Ok I will dig into this, your for-next branch contains the DMA
termination patch, I presume?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] add hardware I2C support for ARM IMX23
[not found] ` <20121128170907.GC4659-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2012-11-30 16:32 ` sander van ginkel
0 siblings, 0 replies; 3+ messages in thread
From: sander van ginkel @ 2012-11-30 16:32 UTC (permalink / raw)
To: Wolfram Sang
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
kernel-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-QSEj5FYQhm4dnm+yROfE0A,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-i2c-u79uwXL29TY76Z2rM5mHXA
> 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/ |
>
I've tested your git tree, with the same config as I used for the
3.7.0-rc6 release (IMX i2c build in)
It's not a 100% fix
If I do "i2cdetect -y -r 0" with 3.7.0-rc6, i2cdetect gets confused
and the kernel keeps dumping "mxs-i2c 80058000.i2c: Failed to get PIO
reg. write descriptor."
If I do the same with your git release I get the same result, but only
when i2cdetect is running. When it's finished or I terminate, the
kprint will also disappear.
So there is some improvement but not 100% yet.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-30 16:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20121128152403.45224dvyaufb1j7n@62.129.139.42>
[not found] ` <20121128150851.GA4659@pengutronix.de>
[not found] ` <20121128171039.14705ltphptrp5kv@62.129.139.42>
[not found] ` <20121128162452.GB4659@pengutronix.de>
[not found] ` <50B63F81.4050008@van-ginkel.eu>
2012-11-28 17:09 ` [PATCH] add hardware I2C support for ARM IMX23 Wolfram Sang
2012-11-28 17:34 ` sander van ginkel
[not found] ` <20121128170907.GC4659-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2012-11-30 16:32 ` sander van ginkel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).