Thread (46 messages) flat view 46 messages, 7 authors, 2008-07-18

Re: [alsa-devel] [PATCH v2 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

From: Timur Tabi <hidden>
Date: 2008-07-14 18:53:45
Also in: alsa-devel

Mark Brown wrote:
quoted
The only problem with this is that the OF probing code in the kernel binds
drivers to device tree nodes.  So when a driver claims a node, no other driver
will be probed with it.
quoted
So we can't have generic nodes that classify the motherboard and just let
everyone get probed on it.
My suggestion is that you change this for the root node. 
That's an interesting idea.
It's already
got the information required in there, it's just there's no way to use
it to load modules at the minute.
Correct.
 You could presumably read the
information out of the device tree using existing APIs to check you're
running on the right board once code is loaded?
Yes.  The driver <-> node binding is only for probing.  Any driver can scan the
entire tree at any time.

-- 
Timur Tabi
Linux kernel developer at Freescale
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help