LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Platform device style question
@ 2006-08-24 17:53 Ben Warren
  2006-08-24 18:06 ` Vitaly Bordug
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Warren @ 2006-08-24 17:53 UTC (permalink / raw)
  To: linuxppc-embedded

Hello,

A 'newbie-to-platform-devices' question:

In a patch that Kumar just sent for a compact flash device, the resource
data (I/O addresses, IRQ # etc.) are retrieved from the platform system.
I guess I can either modify the device tree in U-boot by adding
additional nodes, or instantiate a platform device in Linux __init code
based on static information.  The former gives the advantage of having
the bootloader pass the info to the OS.  (Somebody please correct me if
I'm off-base here!)  

Are device trees meant to only contain information about the CPU and
tightly-coupled peripherals, or is it considered OK-form to also include
board-level hardware info?  I guess they can really hold anything, but
I'm trying to figure out the original intent.

regards,
Ben

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

end of thread, other threads:[~2006-08-24 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 17:53 Platform device style question Ben Warren
2006-08-24 18:06 ` Vitaly Bordug
2006-08-24 18:43   ` Ben Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox