Re: [Ksummit-discuss] Devicetree Workshop at Kernel Summit Prague (26 Oct 2017)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Alexandre,

On Wed, Oct 18, 2017 at 3:18 PM, Alexandre Belloni
<alexandre.belloni@xxxxxxxxxxxxxxxxxx> wrote:
> On 18/10/2017 at 15:59:00 +0300, Pantelis Antoniou wrote:
>> > On Oct 18, 2017, at 15:14 , Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
>> > On Tue, Oct 17, 2017 at 8:03 PM, Bird, Timothy <Tim.Bird@xxxxxxxx> 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 <kumar.gala@xxxxxxxxxx> 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 :)
>
> But that doesn't work with any driver parsing custom properties (using
> of_property_read_* and the likes). I would very much like to see what
> are the boot time improvements when doing that ;)

Unless you override of_property_read_*() to work on the dense C structures
instead?

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux