lkml.org 
[lkml]   [2021]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.13 035/108] ARM: dts: ux500: Fix orientation of Janice accelerometer
    Date
    From: Linus Walleij <linus.walleij@linaro.org>

    [ Upstream commit e409c1e1d5cb164361229e3a3f084e4a32544fb6 ]

    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>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/ste-ux500-samsung-janice.dts | 7 +++----
    1 file 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 @@ i2c-gate {
    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
    };
    --
    2.30.2
    \
     
     \ /
      Last update: 2021-07-14 21:39    [W:4.530 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site