From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH v2 5/6] of: unittest: Unit-tests for target root overlays. Date: Tue, 17 May 2016 14:37:42 +0200 Message-ID: References: <1463429892-3369-1-git-send-email-pantelis.antoniou@konsulko.com> <1463429892-3369-6-git-send-email-pantelis.antoniou@konsulko.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1463429892-3369-6-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pantelis Antoniou Cc: Rob Herring , Frank Rowand , Matt Porter , Grant Likely , Koen Kooi , Guenter Roeck , Marek Vasut , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Pantelis Antoniou List-Id: devicetree@vger.kernel.org On Mon, May 16, 2016 at 10:18 PM, Pantelis Antoniou wrote: > Add unittests for target-root based overlays. > > Signed-off-by: Pantelis Antoniou > --- > 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-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html