Commit 0013ccaa authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Jonathan Cameron

dt-bindings: iio: accel: kxcjk1013: Document mount-matrix property

The generic IIO mount-matrix property conveys physical orientation of the
hardware chip.
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 1bde330c
...@@ -9,9 +9,16 @@ Required properties: ...@@ -9,9 +9,16 @@ Required properties:
"kionix,kxtf9" "kionix,kxtf9"
- reg: i2c slave address - reg: i2c slave address
Optional properties:
- mount-matrix: an optional 3x3 mounting rotation matrix
Example: Example:
kxtf9@f { kxtf9@f {
compatible = "kionix,kxtf9"; compatible = "kionix,kxtf9";
reg = <0x0F>; reg = <0x0F>;
mount-matrix = "0", "1", "0",
"1", "0", "0",
"0", "0", "1";
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment