All of lore.kernel.org
 help / color / mirror / Atom feed
* Device trees and systems-on-a-chip
@ 2011-09-23 17:13 Linas Vepstas (Code Aurora)
  2011-09-23 20:56 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Linas Vepstas (Code Aurora) @ 2011-09-23 17:13 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-arch, linux-hexagon


Arnd,

Here:  http://lwn.net/Articles/457635/  you say:  "If the device tree
vision comes true, a single board will actually be able to use the
same device tree binary on either one, independent of which CPU
actually runs the kernel."

In my case, the hexagon and the arm cores will perceive the same
devices at different addresses; there are also devices attached to one
core that aren't attached to the other.  So either we have two DT's,
one for each core, or we have one DT with subsections for each core.    

I haven't yet looked to see how the DT's are being designed, but I have
this sneaking suspicion that the second alternative is not being
pursued ...

--linas

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

* Re: Device trees and systems-on-a-chip
  2011-09-23 17:13 Device trees and systems-on-a-chip Linas Vepstas (Code Aurora)
@ 2011-09-23 20:56 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2011-09-23 20:56 UTC (permalink / raw)
  To: Linas Vepstas (Code Aurora); +Cc: linux-arch, linux-hexagon

On Friday 23 September 2011 12:13:00 Linas Vepstas wrote:
> Here:  http://lwn.net/Articles/457635/  you say:  "If the device tree
> vision comes true, a single board will actually be able to use the
> same device tree binary on either one, independent of which CPU
> actually runs the kernel."
> 
> In my case, the hexagon and the arm cores will perceive the same
> devices at different addresses; there are also devices attached to one
> core that aren't attached to the other.  So either we have two DT's,
> one for each core, or we have one DT with subsections for each core.    
> 
> I haven't yet looked to see how the DT's are being designed, but I have
> this sneaking suspicion that the second alternative is not being
> pursued ...

Hi Linas,

You can have .dtsi include files that describe the common parts and
just put the child buses at different addresses or leave them out
from a main .dts source file.
I think it should all work out. If not, there is still the option
of adding features to dtc to allow what you need.

	Arnd

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

end of thread, other threads:[~2011-09-23 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-23 17:13 Device trees and systems-on-a-chip Linas Vepstas (Code Aurora)
2011-09-23 20:56 ` Arnd Bergmann

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.