From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> To: Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Cc: "linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" <linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>, Gregor Boirie <gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org>, Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Samu Onkalo <samu.onkalo-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>, "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> Subject: Re: [PATCH] iio: document bindings for mounting matrixes Date: Mon, 25 Jul 2016 10:42:45 +0200 [thread overview] Message-ID: <CACRpkdYrMWDR2s=QnP3K5V5iL0rKpw16phJd2xKAiH6sG=cY1Q@mail.gmail.com> (raw) In-Reply-To: <06168d06-b609-a0ec-945e-aa36a4dbe795-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> On Sun, Jul 24, 2016 at 9:03 PM, Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote: >> Please help out to get this right, I think this could be confusing >> to users unless documented properly. I think the doc has some rough >> edges since I'm not the smartest in physics nor english at all times. > > Note that there is rather more substantial documentation in the > sysfs abi docs. > > Documentation/ABI/testing/sysfs-bus-iio Yes I used that actually, for the magnetometer example. Thanks anyways! > That's not to say we shouldn't have better docs for the > binding, but rather that we should make sure they agree ;) Yes, this is mainly for establishing terminology, as the DT bindings are (in theory, mind you) a standards document used by other operating systems as well. There are some problems with the Linux implementation, primarily that it is "opt-in per driver" and I think it would make sense to try to enable it by default for any 3-axis 3D things and move all code to a central spot, if possible. I also think we should patch generic_buffer to make use of the mount matrix if it finds one. (I know, talk is cheap, show me the code, it's all on my TODO list.) Yours, Linus Walleij
WARNING: multiple messages have this Message-ID (diff)
From: Linus Walleij <linus.walleij@linaro.org> To: Jonathan Cameron <jic23@kernel.org> Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>, Gregor Boirie <gregor.boirie@parrot.com>, Sebastian Reichel <sre@kernel.org>, Samu Onkalo <samu.onkalo@intel.com>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org> Subject: Re: [PATCH] iio: document bindings for mounting matrixes Date: Mon, 25 Jul 2016 10:42:45 +0200 [thread overview] Message-ID: <CACRpkdYrMWDR2s=QnP3K5V5iL0rKpw16phJd2xKAiH6sG=cY1Q@mail.gmail.com> (raw) In-Reply-To: <06168d06-b609-a0ec-945e-aa36a4dbe795@kernel.org> On Sun, Jul 24, 2016 at 9:03 PM, Jonathan Cameron <jic23@kernel.org> wrote: >> Please help out to get this right, I think this could be confusing >> to users unless documented properly. I think the doc has some rough >> edges since I'm not the smartest in physics nor english at all times. > > Note that there is rather more substantial documentation in the > sysfs abi docs. > > Documentation/ABI/testing/sysfs-bus-iio Yes I used that actually, for the magnetometer example. Thanks anyways! > That's not to say we shouldn't have better docs for the > binding, but rather that we should make sure they agree ;) Yes, this is mainly for establishing terminology, as the DT bindings are (in theory, mind you) a standards document used by other operating systems as well. There are some problems with the Linux implementation, primarily that it is "opt-in per driver" and I think it would make sense to try to enable it by default for any 3-axis 3D things and move all code to a central spot, if possible. I also think we should patch generic_buffer to make use of the mount matrix if it finds one. (I know, talk is cheap, show me the code, it's all on my TODO list.) Yours, Linus Walleij
next prev parent reply other threads:[~2016-07-25 8:42 UTC|newest] Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-07-24 10:17 [PATCH] iio: document bindings for mounting matrixes Linus Walleij 2016-07-24 10:17 ` Linus Walleij [not found] ` <1469355434-17043-1-git-send-email-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> 2016-07-24 19:03 ` Jonathan Cameron 2016-07-24 19:03 ` Jonathan Cameron [not found] ` <06168d06-b609-a0ec-945e-aa36a4dbe795-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2016-07-25 8:42 ` Linus Walleij [this message] 2016-07-25 8:42 ` Linus Walleij 2016-07-25 12:48 ` Gregor Boirie 2016-07-25 12:48 ` Gregor Boirie [not found] ` <57960AAF.1060103-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org> 2016-07-25 13:57 ` Linus Walleij 2016-07-25 13:57 ` Linus Walleij 2016-07-26 19:07 ` Rob Herring 2016-07-26 19:07 ` Rob Herring 2016-07-26 21:01 ` Jonathan Cameron 2016-07-26 21:01 ` Jonathan Cameron 2016-08-11 11:33 ` Linus Walleij 2016-08-11 11:33 ` Linus Walleij [not found] ` <CACRpkdY0gCLKD3rmiYuFgWSYOe6dtUaBeRi1ns-UFF=AspntFg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2016-08-15 14:58 ` Jonathan Cameron 2016-08-15 14:58 ` Jonathan Cameron [not found] ` <c8e83cf2-f9dc-0bc9-fcde-326b05ee290b-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2016-08-15 18:47 ` Linus Walleij 2016-08-15 18:47 ` Linus Walleij 2016-08-24 13:18 ` Gregor Boirie 2016-08-24 13:18 ` Gregor Boirie [not found] ` <57BD9EB6.1090504-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org> 2016-08-24 21:29 ` Jonathan Cameron 2016-08-24 21:29 ` Jonathan Cameron [not found] ` <067a4882-c6f2-5994-e3ce-100e317ed121-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2016-08-25 12:28 ` Gregor Boirie 2016-08-25 12:28 ` Gregor Boirie 2016-08-25 22:04 ` Linus Walleij 2016-08-25 22:04 ` Linus Walleij [not found] ` <CACRpkda-Mz0wOAXx4uoZ43OCVw0U_E0+iCrboUO_7keYV2scBw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2016-08-29 17:24 ` Jonathan Cameron 2016-08-29 17:24 ` Jonathan Cameron 2016-08-21 15:56 ` Jonathan Cameron 2016-08-21 15:56 ` Jonathan Cameron [not found] ` <ab89a386-dfca-bbc3-3dec-613d32d374a5-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> 2016-08-25 21:56 ` Linus Walleij 2016-08-25 21:56 ` Linus Walleij [not found] ` <CACRpkdbA=qZO9M=nc2mUK7Sg5ZdOzcH=x0kUQ004_+uVTQ8tCA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2016-08-29 17:31 ` Jonathan Cameron 2016-08-29 17:31 ` Jonathan Cameron
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to='CACRpkdYrMWDR2s=QnP3K5V5iL0rKpw16phJd2xKAiH6sG=cY1Q@mail.gmail.com' \ --to=linus.walleij-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=gregor.boirie-ITF29qwbsa/QT0dZR+AlfA@public.gmane.org \ --cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=samu.onkalo-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \ --cc=sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.