]> git.baikalelectronics.ru Git - kernel.git/commit
iio: document pitch, yaw, roll modifiers
authorAndrea Merello <andrea.merello@iit.it>
Wed, 7 Sep 2022 13:21:56 +0000 (15:21 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 Sep 2022 17:42:55 +0000 (18:42 +0100)
commitd469e7bc9986314b35a2b1f3e68557ca9fe7ee6c
tree986f67495e0ac6bd98f82c4447848fc28f2542db
parente83d1c333a186d683a361e59d041dd6ab1199992
iio: document pitch, yaw, roll modifiers

Introduce ABI documentation for new modifiers used for reporting rotations
expressed as euler angles (i.e. yaw, pitch, roll).

It looks like we have some unit inconsistency along various IIO modifiers:
it seems that incli is in deg, angl is in radians and rot isn't documented,
but at least the adis16209 driver has rot in deg.

Here we use deg (so angl is the only one using radians).

Signed-off-by: Andrea Merello <andrea.merello@iit.it>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20220907132205.28021-6-andrea.merello@iit.it
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio