All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] What is the preferred way to share ADC unit between hwmon and input(ts) drivers?
@ 2011-04-25  0:37 Ilya Yanok
  2011-04-25  5:25 ` Kurt Van Dijck
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Ilya Yanok @ 2011-04-25  0:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

we are working with Freescale i.MX25 SoC which has the same register
space for ADC and touch-screen controller (AFAIK, that's pretty common
situation).
So, to add both input and hwmon drivers we need to serialize the
register accesses. I was thinking about adding some middle-layer to
perform the actual conversion. The question is what is the preferred way
to add such a middle layer? Should we use a multi-function device driver
for this or just some platform-specific code (as S3C does)? Or maybe
there is another way?
We hope to push our changes upstream so I'd like to know how such thing
is supposed to be implemented.

Thanks.

Regards, Ilya.

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2011-05-10  9:51 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-25  0:37 [RFC] What is the preferred way to share ADC unit between hwmon and input(ts) drivers? Ilya Yanok
2011-04-25  5:25 ` Kurt Van Dijck
2011-05-05 23:41   ` Ilya Yanok
2011-04-25 11:02 ` Mark Brown
2011-05-05 23:43   ` Ilya Yanok
2011-05-06 13:43   ` Jonathan Cameron
2011-05-06 14:13     ` Ithamar R. Adema
2011-05-06 14:23       ` Mark Brown
2011-05-06 15:15         ` Jonathan Cameron
2011-05-06 15:56           ` Mark Brown
2011-05-06 16:29             ` Jonathan Cameron
2011-05-06 17:20               ` Mark Brown
2011-05-09 13:25                 ` Jonathan Cameron
2011-05-09 14:39                   ` Mark Brown
2011-05-09 16:35                     ` Jonathan Cameron
2011-05-09 16:35                       ` Jonathan Cameron
2011-05-09 19:54                       ` Mark Brown
2011-05-09 19:54                         ` Mark Brown
2011-05-10  9:51                         ` Jonathan Cameron
2011-05-10  9:51                           ` Jonathan Cameron
2011-05-06 15:21         ` Ithamar R. Adema
2011-05-07 18:11 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.