[PATCH] arm/dt: Add SoC detection macros
Arnd Bergmann
arnd at arndb.de
Sun Sep 18 06:56:59 EST 2011
On Saturday 17 September 2011 20:19:07 Jean-Christophe PLAGNIOL-VILLARD wrote:
>
> I agree about it I just mean that if you have the same board with 2 SoC which
> are pin to pin compatible detect the soc type will be usefull as the soc
> resource may not be the same
In that scenario, you would put all SOC specific data into one .dtsi
file and all board data into another .dtsi file and then create a
description for the combination using a trivial .dts file with two
include statements. This is all solved outside of the kernel already,
so there is no need for infrastructure in the kernel.
Arnd
More information about the devicetree-discuss
mailing list