Re: The future of DT binding maintainership
From: Stephen Warren
Date: Tue Jul 23 2013 - 11:52:51 EST
On 07/22/2013 12:59 PM, Chaiken, Alison wrote:
> Grant Likely wrote:
>> Another thing discussed is that we need to start validating DT schema with an extension to dtc.
>
> Is there a schema out there in the wild that exemplifies what you mean?
>
>> Tomasz Figa has volunteered to do this work and has support from his employer
>
> That's great news.
>
>> to have is that the DT schema will get checked as part of the dts build
>> process so that any DT file that doesn't match the documented schema
>> will get flagged, and that the schema files will be human readable and
>> will double as documentation.
>
> No doubt DTS files are already the best documentation available for many targets.
A nit here:
The DTS files document what HW modules are present on a board, and
various associated parameters.
The bindings describe the format of those DTS files.
The validation here is ensuring that the DTS files are actually written
in a format that matches what the binding definition requires.
So, the issue isn't really documentation of the HW, but rather
documentation of the required DT format, and validating that the DTS
matches that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/