[PATCH 2/2 V3] MXS: Implement DMA support into mxs-i2c
shawn.guo at linaro.org
Sat Jul 28 04:02:50 EDT 2012
On Sat, Jul 21, 2012 at 02:44:06PM +0200, Wolfram Sang wrote:
> Yet, if I know the compatible property for the mxs I2C driver, and also
> know the CPU type (be it MX23 or MX28), I can deduce from that a lot of
> information, including DMA channel. That is fix. Why encode it?
The driver shouldn't know the CPU type but just the IP type/version.
We can definitely have "fsl,imx23-i2c" and "fsl,imx28-i2c" compatible
strings for iMX23 and iMX28 respectively if the I2C controller on these
two SoC differs on the IP inside aspects. But we shouldn't do that
for IO region, interrupt number, DMA channel such differences at SoC
More information about the linux-arm-kernel