Thread (24 messages) 24 messages, 5 authors, 2012-07-18

Re: linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

From: Shawn Guo <hidden>
Date: 2012-07-18 05:12:53
Also in: linux-arm-kernel, linux-next, lkml

On Tue, Jul 17, 2012 at 04:20:01PM +0100, Mark Brown wrote:
Looking at what's specified in the platform data in the current kernel
it seems like there's a mixture of things in there that are board and
silicon specific.  We've got parameters like the the speed mode and
timeout which are reasonably board specific but we've also got things
like the FIFO sizes which shouldn't be at all board specific and slsu
which really looks like it's something that that the driver ought to be
able to figure out for itself.
I have an IP block getting different FIFO size on different IMX SoCs.
We could introduce a new compatible string for driver to figure it out,
but I think the simpler way is just have the data encoded in device
tree.  In any case DT is not completely limited in encoding board
specific data.  Today, we have IO region and interrupt number of
hardware blocks encoded in DT, and to me, FIFO size could just be
another aspect of hardware block we could choose to encode in DT.

-- 
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