[PATCH 3/3] arm64: dts: juno/rtsm: re-structure motherboard includes
Sudeep Holla
sudeep.holla at arm.com
Thu May 10 03:07:09 PDT 2018
On 10/05/18 10:49, Liviu Dudau wrote:
> On Wed, May 09, 2018 at 05:44:51PM +0100, Sudeep Holla wrote:
>> It is a bit unorthodox to just include a file in the middle of a another
>> DTS file, it breaks the pattern from other device trees and also makes
>> it really hard to reference things across the files with phandles.
>>
>> Restructure the include for the Juno/RTSM motherboards to happen at the
>> top of the file, reference the target nodes directly, and indent the
>> motherboard .dtsi files to reflect their actual depth in the hierarchy.
>>
>> This is a purely syntactic change that result in the same DTB files from
>> the DTS/DTSI files. This is based on similar patch from Linus Walleij
>> for ARM Vexpress platforms.
>
> A bit of bikeshedding here: the reason I've used the DT /include/
> here was that on decompilation of the DTB the nodes would have been in
> the natural order and easier to look for issues. Those were the early
> days and I can accept that the general practice has changed and we're
> using now the C preprocessor more. I don't have any strong feelings on
> how the DT looks nowadays, so:
>
I can understand. After this patch applied, I did hit an issue with
timer registration. I just posted a patch [1]
>>
>> Cc: Liviu Dudau <liviu.dudau at arm.com>
>
> Acked-by: Liviu Dudau <liviu.dudau at arm.com>
>
Thanks for all the acks.
--
Regards,
Sudeep
[1]
https://lkml.kernel.org/r/1525881728-4858-1-git-send-email-sudeep.holla@arm.com
More information about the linux-arm-kernel
mailing list