2017-03-23 18:32:51

by Rob Herring

[permalink] [raw]
Subject: Re: Query on DT overlay support.

On Thu, Mar 23, 2017 at 8:22 AM, Nava kishore Manne
<[email protected]> wrote:
> Hi,
>
>
>
> This mail is regarding the DT overlay support in the Linux
> kernel
>
> I am able to make the device-tree overlay work out of box by
> using my own dtc complier (I mean I used the dtc compiler
>
> Available here
> http://www.embedded-things.com/bbb/patching-the-device-tree-compiler-for-ubuntu/
> )
>
> When can I expect the same changes in the scripts/dtc in
> mainline????
>
> In case of any support needed for testing I can help on
> testing the same I works in Xilinx and we had a lot of combinations to test
> overlay J

It's already there. Landed in 4.11.

Rob


2017-03-23 19:02:49

by Frank Rowand

[permalink] [raw]
Subject: Re: Query on DT overlay support.

(Adding Pantelis and dgibson to cc.)

On 03/23/17 11:32, Rob Herring wrote:
> On Thu, Mar 23, 2017 at 8:22 AM, Nava kishore Manne
> <[email protected]> wrote:
>> Hi,
>>
>>
>>
>> This mail is regarding the DT overlay support in the Linux
>> kernel
>>
>> I am able to make the device-tree overlay work out of box by
>> using my own dtc complier (I mean I used the dtc compiler
>>
>> Available here
>> http://www.embedded-things.com/bbb/patching-the-device-tree-compiler-for-ubuntu/
>> )
>>
>> When can I expect the same changes in the scripts/dtc in
>> mainline????
>>
>> In case of any support needed for testing I can help on
>> testing the same I works in Xilinx and we had a lot of combinations to test
>> overlay J
>
> It's already there. Landed in 4.11.
>
> Rob
>

One dtc feature that is still missing is what Pantelis calls "syntatic sugar".
His patch for that has not yet been accepted into the dtc project if I have
been following along correctly.

Without the syntactic sugar, the source .dts has to expose the details
of the fragment and __overlay__ nodes.

-Frank