All of lore.kernel.org
 help / color / mirror / Atom feed
* multiple drivers for same hardware
@ 2012-01-13 18:52 Kumar Gala
       [not found] ` <316952FA-B163-46F8-B4B5-8CC0B97EAEB9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2012-01-13 18:52 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Discuss

We have some scenarios in which we might have 2 different drivers (one in kernel or one user space as an example) and wanted to see how we'd convey in the device tree which driver should "claim" the specific device instance.

>From glancing at the OF specs it seems we could utilize the precedence order of compatible as a means to specify.  So something like:

[ bind with UIO instead of standard driver ]

	compatible = "gianfar-lnx-uio", "gianfar";

vs [ bind with stock kernel driver ]
	compatible = "gianfar";

The other thought I had was introducing a new property like:

	linux-drv = "gianfar-uio";
	compatible = "gianfar";

thoughts?

- k

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

end of thread, other threads:[~2012-01-16 16:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 18:52 multiple drivers for same hardware Kumar Gala
     [not found] ` <316952FA-B163-46F8-B4B5-8CC0B97EAEB9-XVmvHMARGAS8U2dJNN8I7kB+6BGkLq7r@public.gmane.org>
2012-01-13 19:21   ` Mitch Bradley
2012-01-16 16:21   ` Stuart Yoder

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.