On Mon, Jul 22, 2024 at 01:31:11PM +0200, Sicelo A. Mhlongo wrote: > Negate the values reported for the accelerometer z-axis in order to > match Documentation/devicetree/bindings/iio/mount-matrix.txt. > > Fixes: 14a213dcb004 ("ARM: dts: n900: use iio driver for accelerometer") > > Signed-off-by: Sicelo A. Mhlongo <absicsz@xxxxxxxxx> > --- > arch/arm/boot/dts/ti/omap/omap3-n900.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/ti/omap/omap3-n900.dts b/arch/arm/boot/dts/ti/omap/omap3-n900.dts > index 07c5b963af78..4bde3342bb95 100644 > --- a/arch/arm/boot/dts/ti/omap/omap3-n900.dts > +++ b/arch/arm/boot/dts/ti/omap/omap3-n900.dts > @@ -781,7 +781,7 @@ accelerometer@1d { > > mount-matrix = "-1", "0", "0", > "0", "1", "0", > - "0", "0", "1"; > + "0", "0", "-1"; > }; > > cam1: camera@3e { > -- > 2.45.2 > CC: Aaro Koskinen <aaro.koskinen@xxxxxx>, Andreas Kemnade <andreas@xxxxxxxxxxxx>