Thread (1 message) 1 message, 1 author, 2012-07-28

[PATCH 2/2 V3] MXS: Implement DMA support into mxs-i2c

From: Shawn Guo <hidden>
Date: 2012-07-28 08:02:50
Also in: linux-devicetree, linux-i2c

Possibly related (same subject, not in this thread)

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
integration level.

-- 
Regards,
Shawn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help