[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZn6pS7vBwKk8FNnuSigZjHHjYciQ3V8WR_Fdb=COTdTw@mail.gmail.com>
Date: Mon, 25 Feb 2019 19:24:36 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jonathan Corbet <corbet@....net>, Rob Herring <robh+dt@...nel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>
Cc: "H. Nikolaus Schaller" <hns@...delico.com>,
Jonathan Cameron <jic23@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Charles Keepax <ckeepax@...nsource.cirrus.com>,
Song Qiang <songqiang1304521@...il.com>,
Jean-Baptiste Maneyrol <jmaneyrol@...ensense.com>,
Martin Kelly <mkelly@...o.com>,
Jonathan Marek <jonathan@...ek.ca>,
Brian Masney <masneyb@...tation.org>,
Stephan Gerhold <stephan@...hold.net>,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>, Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
linux-iio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Gregor Boirie <gregor.boirie@...rot.com>,
Sebastian Reichel <sre@...nel.org>,
Samu Onkalo <samu.onkalo@...el.com>
Subject: Re: [PATCH v2 02/10] iio: document bindings for mounting matrices
Hi Jon,
On Mon, Feb 25, 2019 at 5:32 PM Jonathan Corbet <corbet@....net> wrote:
> > .../devicetree/bindings/iio/mount-matrix.txt | 204 ++++++++++++++++++
So this is a device tree binding.
> So forgive me, but I have to ask: what are the chances of getting this
> file in RST format? It's 99% of the way there now, finishing the job
> would allow it to be integrated into our docs tree.
>
> It should probably have an SPDX line too.
The recent direction of the Device Tree bindings are not in the RST
direction but in the direction of using another formal structure: YAML
schemas.
See e.g. Documentation/devicetree/bindings/example-schema.yaml
The YAML schema makes it possible to verify device trees and examples
inside the bindings to the specification using a context-free grammar.
If we can join the RST and YAML ambitions is a good question. RST
has nice typesetting properties, YAML has nice grammatic properties.
Yours,
Linus Walleij
Powered by blists - more mailing lists