summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-ux500-samsung-janice.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-05-24 01:14:29 +0200
committerLinus Walleij <linus.walleij@linaro.org>2021-05-24 01:19:27 +0200
commite409c1e1d5cb164361229e3a3f084e4a32544fb6 (patch)
tree135324c60af1c135ae7a9e5cd12786720e1702e5 /arch/arm/boot/dts/ste-ux500-samsung-janice.dts
parent4b6847e507c719a5ee89918b23be7ecd702df1d5 (diff)
ARM: dts: ux500: Fix orientation of Janice accelerometer
This fixes up the axis on the Janice accelerometer to give the right orientation according to tests. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-ux500-samsung-janice.dts')
-rw-r--r--arch/arm/boot/dts/ste-ux500-samsung-janice.dts7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts
index eaf8039d10ad..25af066f6f3a 100644
--- a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts
+++ b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts
@@ -583,10 +583,9 @@
accelerometer@08 {
compatible = "bosch,bma222";
reg = <0x08>;
- /* FIXME: no idea about this */
- mount-matrix = "1", "0", "0",
- "0", "1", "0",
- "0", "0", "1";
+ mount-matrix = "0", "1", "0",
+ "-1", "0", "0",
+ "0", "0", "-1";
vddio-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
};