Thread (8 messages) 8 messages, 6 authors, 2012-08-04

Sharing resources between several drivers.

From: Bedia, Vaibhav <hidden>
Date: 2012-07-30 12:00:45

On Sat, Jul 28, 2012 at 19:37:54, Shawn Guo wrote:
On Fri, Jul 27, 2012 at 09:03:33AM +0000, Bedia, Vaibhav wrote:
quoted
On Fri, Jul 27, 2012 at 13:29:21, javier Martin wrote:
quoted
Hi,
we are trying to support pinctrl for i.MX21, i.MX1 and i.MX27.

In these chips, gpio and pinctrl use the same HW memory area
registers. This means that we have to request the same memory area
from two different drivers (gpio and pinctrl) but we don't know how to
do that.

A similar example available is mxs, but it only works with device
tree, so this problem is avoided.  However, some of these chips
I am curious as to how device tree solves the access issues for
a shared resource.
Although pinctrl and gpio share the same IO region, they are accessing
different registers, so there should be no access issues.
Ok that makes sense. Thanks for clarifying.

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