Re: mc13xxx-core: kernel hangs after 'regmap_read'

From: Uwe Kleine-König
Date: Thu May 24 2012 - 02:46:46 EST


Hello,

On Thu, May 24, 2012 at 02:39:00PM +0800, Shawn Guo wrote:
> On Thu, May 24, 2012 at 01:07:43AM -0300, Fabio Estevam wrote:
> > I am trying to understand why mx31pdk still fails.
> >
> So different from imx51-babbage which uses MC13892, mx31pdk uses
> MC13783? But both chips should have the same regmap, right?
They are similar. One difference is the protocol used. MC13783 only
speaks spi, MC13892 can do both, spi and i2c. Does someone has a working
MC13892 that uses spi?

For debugging I'd instrument the spi driver to log and compare what is
read and written to the data registers before and after the introduction
of the regmap stuff.

Best regards
Uwe

--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/