mxc: i2c register mapped twice?

Ben Dooks ben-linux at fluff.org
Thu Jan 6 20:31:32 EST 2011


On 06/01/11 12:26, Richard Zhao wrote:
> Hi Sascha,
> 
> I just realized i2c registers are mapped twice. It's first static mapped at
> mx5x_io_desc and second mapped in driver.
> Drivers always feel happy to receive physical address in resource, and ioremap
> it itself. We might static map too many register regions in machine level?
> I'm sure it's not just i2c.

either cleanup the mapping, or add a custom ioremap() to return this
region for the drivers.



More information about the linux-arm-kernel mailing list