[Letux-kernel] [PATCH v2 02/10] iio: document bindings for mounting matrices

Jonathan Corbet corbet at lwn.net
Mon Feb 25 17:32:22 CET 2019


On Thu, 21 Feb 2019 18:02:47 +0100
"H. Nikolaus Schaller" <hns at goldelico.com> wrote:

> From: Linus Walleij <linus.walleij at linaro.org>
> 
> The mounting matrix for sensors was introduced in
> commit dfc57732ad38 ("iio:core: mounting matrix support")
> 
> However the device tree bindings are very terse and since this is
> a widely applicable property, we need a proper binding for it
> that the other bindings can reference. This will also be useful
> for other operating systems and sensor engineering at large.
> 
> I think all 3D sensors should support it, the current situation
> is probably that the mounting information is confined in magic
> userspace components rather than using the mounting matrix, which
> is not good for portability and reuse.
> 
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Gregor Boirie <gregor.boirie at parrot.com>
> Cc: Sebastian Reichel <sre at kernel.org>
> Cc: Samu Onkalo <samu.onkalo at intel.com>
> Cc: devicetree at vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> Signed-off-by: H. Nikolaus Schaller <hns at goldelico.com>
> ---
>  .../devicetree/bindings/iio/mount-matrix.txt  | 204 ++++++++++++++++++
>  1 file changed, 204 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/mount-matrix.txt

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.

Thanks,

jon


More information about the Letux-kernel mailing list