On Mon, May 16, 2016 at 10:18 PM, Pantelis Antoniou <pantelis.antoniou@xxxxxxxxxxxx> wrote: > Add unittests for target-root based overlays. > > Signed-off-by: Pantelis Antoniou <pantelis.antoniou@xxxxxxxxxxxx> > --- > drivers/of/unittest-data/testcases.dts | 5 + > drivers/of/unittest-data/tests-overlay.dtsi | 48 +++++++ > drivers/of/unittest.c | 213 ++++++++++++++++++++++++++++ > 3 files changed, 266 insertions(+) > > diff --git a/drivers/of/unittest-data/testcases.dts b/drivers/of/unittest-data/testcases.dts > index 74e8805..a6ded1b6 100644 > --- a/drivers/of/unittest-data/testcases.dts > +++ b/drivers/of/unittest-data/testcases.dts > @@ -80,5 +80,10 @@ > target = <0x00000000 0x00000004>; > }; > }; > + overlay18 { > + fragment@0 { Warning (unit_address_vs_reg): Node .../fragment@0 has a unit name, but no reg property (I didn't really run dtc, just copying a warning message from somewhere else) > + target = <0x00000000>; > + }; > + }; > }; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html