Message ID | 20200112203301.30235-2-digetx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1,1/2] iio: accel: kxcjk1013: Support orientation matrix | expand |
On Sun, 12 Jan 2020 23:33:01 +0300, Dmitry Osipenko wrote: > The generic IIO mount-matrix property conveys physical orientation of the > hardware chip. > > Signed-off-by: Dmitry Osipenko <digetx@gmail.com> > --- > .../devicetree/bindings/iio/accel/kionix,kxcjk1013.txt | 7 +++++++ > 1 file changed, 7 insertions(+) > Acked-by: Rob Herring <robh@kernel.org>
15.01.2020 18:39, Rob Herring пишет: > On Sun, 12 Jan 2020 23:33:01 +0300, Dmitry Osipenko wrote: >> The generic IIO mount-matrix property conveys physical orientation of the >> hardware chip. >> >> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> >> --- >> .../devicetree/bindings/iio/accel/kionix,kxcjk1013.txt | 7 +++++++ >> 1 file changed, 7 insertions(+) >> > > Acked-by: Rob Herring <robh@kernel.org> > Thanks!
On Sat, 18 Jan 2020 05:42:01 +0300 Dmitry Osipenko <digetx@gmail.com> wrote: > 15.01.2020 18:39, Rob Herring пишет: > > On Sun, 12 Jan 2020 23:33:01 +0300, Dmitry Osipenko wrote: > >> The generic IIO mount-matrix property conveys physical orientation of the > >> hardware chip. > >> > >> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> > >> --- > >> .../devicetree/bindings/iio/accel/kionix,kxcjk1013.txt | 7 +++++++ > >> 1 file changed, 7 insertions(+) > >> > > > > Acked-by: Rob Herring <robh@kernel.org> > > > > Thanks! Applied. thanks, Jonathan
diff --git a/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.txt b/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.txt index eb76a02e2a82..ce950e162d5d 100644 --- a/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.txt +++ b/Documentation/devicetree/bindings/iio/accel/kionix,kxcjk1013.txt @@ -9,9 +9,16 @@ Required properties: "kionix,kxtf9" - reg: i2c slave address +Optional properties: + + - mount-matrix: an optional 3x3 mounting rotation matrix + Example: kxtf9@f { compatible = "kionix,kxtf9"; reg = <0x0F>; + mount-matrix = "0", "1", "0", + "1", "0", "0", + "0", "0", "1"; };
The generic IIO mount-matrix property conveys physical orientation of the hardware chip. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> --- .../devicetree/bindings/iio/accel/kionix,kxcjk1013.txt | 7 +++++++ 1 file changed, 7 insertions(+)