Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-16 Thread Viresh Kumar
On 09-02-21, 15:40, Viresh Kumar wrote: > And after decent amount of effort understanding how to do this, I > finally did it in a not so efficient way, I am sure you can help > improving it :) Ping! Also, where do we send patches for dt-schema ? Which list ? > Author: Viresh Kumar > Date:

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-09 Thread Viresh Kumar
On 08-02-21, 08:21, Rob Herring wrote: > We may need to turn off > checks in overlays for required properties as they may be incomplete. > We already do that on disabled nodes. And after decent amount of effort understanding how to do this, I finally did it in a not so efficient way, I am sure

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-08 Thread Viresh Kumar
On 08-02-21, 08:21, Rob Herring wrote: > In string 'm' replace '.dtb' with '-dtbs'. Then we get the value of > that variable. Ah, thanks. I was able to get everything to work as expected now :) > > ifneq ($(CHECK_DTBS),) > > extra-y += $(patsubst %.dtb,%.dt.yaml, $(dtb-y)) > > +extra-y +=

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-08 Thread Rob Herring
On Mon, Feb 8, 2021 at 5:18 AM Viresh Kumar wrote: > > On 03-02-21, 19:54, Rob Herring wrote: > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > > index b00855b247e0..886d2e6c58f0 100644 > > --- a/scripts/Makefile.lib > > +++ b/scripts/Makefile.lib > > @@ -66,6 +66,9 @@ multi-used

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-08 Thread Viresh Kumar
On 03-02-21, 19:54, Rob Herring wrote: > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index b00855b247e0..886d2e6c58f0 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -66,6 +66,9 @@ multi-used := $(multi-used-y) $(multi-used-m) > real-obj-y := $(foreach m,

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-03 Thread Viresh Kumar
On 03-02-21, 19:54, Rob Herring wrote: > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index b00855b247e0..886d2e6c58f0 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -66,6 +66,9 @@ multi-used := $(multi-used-y) $(multi-used-m) > real-obj-y := $(foreach m,

Re: [PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-02-03 Thread Rob Herring
On Fri, Jan 29, 2021 at 12:54:10PM +0530, Viresh Kumar wrote: > Now that fdtoverlay is part of the kernel build, start using it to test > the unitest overlays we have by applying them statically. Create two new > base files static_base_1.dts and static_base_2.dts which includes other > .dtsi

[PATCH V7 6/6] of: unittest: Statically apply overlays using fdtoverlay

2021-01-28 Thread Viresh Kumar
Now that fdtoverlay is part of the kernel build, start using it to test the unitest overlays we have by applying them statically. Create two new base files static_base_1.dts and static_base_2.dts which includes other .dtsi files. Some unittest overlays deliberately contain errors that unittest