public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Sharing *.dtsi between Linux architectures?
@ 2013-07-12 19:58 Stephen Warren
  2013-07-12 20:17 ` Rob Herring
  2013-07-12 22:26 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Warren @ 2013-07-12 19:58 UTC (permalink / raw)
  To: linux-arm-kernel

Is there a (possibly just proposed) mechanism in place to allow *.dts
from multiple Linux architectures to share common *.dtsi files?

As an example, consider two SoCs that are identical except for the CPU
complex. One uses an ARMv7 CPU (DTs in arch/arm/boot/dts/) and the other
uses some ARMv8 CPU (DTs in arch/am64/boot/dts/). It'd be useful to
define all the SoC components in some common .dtsi file to avoid
duplication, and have both arch/arm/boot/dts/tegraXXX.dtsi and
arch/arm64/boot/dts/tegraYYY.dtsi include that and add the relevant
CPU-related nodes.

I could imagine creating one of the following paths for this purpose:

arch/common/dts/
include/dt-common/
include/dtsi/

... or perhaps re-using the existing:

include/dt-bindings/

... although my original intent for that last location was just to house
header files that define constants that are part of binding definitions,
rather than actual structural content.

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

end of thread, other threads:[~2013-07-12 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 19:58 Sharing *.dtsi between Linux architectures? Stephen Warren
2013-07-12 20:17 ` Rob Herring
2013-07-12 20:23   ` Jean-Christophe PLAGNIOL-VILLARD
2013-07-12 22:26 ` Russell King - ARM Linux

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