Re: [PATCH] iio: document bindings for mounting matrixes
From: Linus Walleij <hidden>
Date: 2016-07-25 08:42:45
Also in:
linux-iio
On Sun, Jul 24, 2016 at 9:03 PM, Jonathan Cameron [off-list ref] wrote:
quoted
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