From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 18DC4B2E for ; Wed, 18 Oct 2017 13:07:29 +0000 (UTC) Received: from li42-95.members.linode.com (li42-95.members.linode.com [209.123.162.95]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 0417D140 for ; Wed, 18 Oct 2017 13:07:27 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) From: Pantelis Antoniou In-Reply-To: Date: Wed, 18 Oct 2017 15:59:00 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20171017114823.58476908@bbrezillon> <1508257276.74236.38.camel@freebsd.org> <2D4E6B6D-8F07-46D0-BB36-D97916802893@linaro.org> To: Grant Likely Cc: "devicetree@vger.kernel.org" , Kumar Gala , "ksummit-discuss@lists.linuxfoundation.org" , Ian Lepore , "devicetree-spec@vger.kernel.org" , "Bird, Timothy" Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Grant, > On Oct 18, 2017, at 15:14 , Grant Likely = wrote: >=20 > On Tue, Oct 17, 2017 at 8:03 PM, Bird, Timothy = wrote: >>> -----Original Message----- >>> =46rom Geert Uytterhoeven on Tuesday, October 17, 2017 10:24 AM >>> On Tue, Oct 17, 2017 at 7:02 PM, Kumar Gala = wrote: >>>> I think this also gets to having bindings described in a structured = way so >>> they can be utilized for validation of dts files. We are doing a = little of this in >>> Zephyr since we are using a structured binding spec to generate code = from >>> .dts (since we don=E2=80=99t utilize a runtime dtb). >>>=20 >>> So you are basically generating board files from .dts? >>> (closing the loop ;-) >>=20 >> I think we ought to do this on Linux, as a size optimization. >> -- Tim >>=20 >> P.S. I think I'll leave it ambiguous whether this was meant as a = joke or not. :-) >=20 As crazy that sounds it is possible using the YAML bindings, i.e. C = structure definitions and fill-up from DT automatically. Whether this is a good idea it=E2=80=99= s another question :) > Talk to Nicolas Pitre and Rob Herring about this. They've already made > a bunch of progress on reducing memory footprint. >=20 > g. >=20 >> _______________________________________________ >> Ksummit-discuss mailing list >> Ksummit-discuss@lists.linuxfoundation.org >> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss > -- > To unsubscribe from this list: send the line "unsubscribe devicetree" = in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pantelis Antoniou Subject: Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017) Date: Wed, 18 Oct 2017 15:59:00 +0300 Message-ID: References: <20171017114823.58476908@bbrezillon> <1508257276.74236.38.camel@freebsd.org> <2D4E6B6D-8F07-46D0-BB36-D97916802893@linaro.org> Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: Sender: devicetree-spec-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Grant Likely Cc: "Bird, Timothy" , Geert Uytterhoeven , Kumar Gala , "devicetree-spec-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Ian Lepore , "ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org" List-Id: devicetree@vger.kernel.org Hi Grant, > On Oct 18, 2017, at 15:14 , Grant Likely wrote: > > On Tue, Oct 17, 2017 at 8:03 PM, Bird, Timothy wrote: >>> -----Original Message----- >>> From Geert Uytterhoeven on Tuesday, October 17, 2017 10:24 AM >>> On Tue, Oct 17, 2017 at 7:02 PM, Kumar Gala wrote: >>>> I think this also gets to having bindings described in a structured way so >>> they can be utilized for validation of dts files. We are doing a little of this in >>> Zephyr since we are using a structured binding spec to generate code from >>> .dts (since we don’t utilize a runtime dtb). >>> >>> So you are basically generating board files from .dts? >>> (closing the loop ;-) >> >> I think we ought to do this on Linux, as a size optimization. >> -- Tim >> >> P.S. I think I'll leave it ambiguous whether this was meant as a joke or not. :-) > As crazy that sounds it is possible using the YAML bindings, i.e. C structure definitions and fill-up from DT automatically. Whether this is a good idea it’s another question :) > Talk to Nicolas Pitre and Rob Herring about this. They've already made > a bunch of progress on reducing memory footprint. > > g. > >> _______________________________________________ >> Ksummit-discuss mailing list >> Ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org >> https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss > -- > 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