[Letux-kernel] dt-bindings: converting .txt to .yaml

H. Nikolaus Schaller hns at goldelico.com
Wed Oct 23 12:54:17 CEST 2019


> AWell, some prerequisites:
> 1. needs python 3.7
> 2. I had to modify the hard-coded /usr/bin link because my python is installed elsewhere
> 3. needs pip3 to install ruaml.yaml package
> 4. then it works :)
> 
> It does well:
> * create template
> * translate title, document name, description
> * prepare for "properties"
> * add a "history" section which contains the original .txt
> 
> But it is a good and helpful start.
> 
> The next step is to use https://github.com/robherring/dt-schema/blob/master/example-schema.yaml
> to go through the properties and example in "history" and manually translate things.
> 
> Unfortunately I can't run
> 
> make dt_binding_check dtbs_check
> 
> The second complains about dt-mk-schema command not found and the second
> requires a libyaml development package.
> 
> So I have to dig even deeper...

attached is the first result. Please comment...


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: img,pvrsgx.txt
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20191023/1285dcba/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img,pvrsgx.yaml
Type: application/octet-stream
Size: 5876 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20191023/1285dcba/attachment.obj>


More information about the Letux-kernel mailing list