lkml.org 
[lkml]   [2022]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.19 32/58] ARM: dts: ux500: Fix Gavini accelerometer mounting matrix
    Date
    From: Linus Walleij <linus.walleij@linaro.org>

    [ Upstream commit e24c75f02a81d6ddac0072cbd7a03e799c19d558 ]

    This was fixed wrong so fix it. Now verified by using
    iio-sensor-proxy monitor-sensor test program.

    Link: https://lore.kernel.org/r/20220611205138.491513-1-linus.walleij@linaro.org
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/ste-ux500-samsung-gavini.dts | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/arm/boot/dts/ste-ux500-samsung-gavini.dts b/arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
    index 53062d50e455..806da3fc33cd 100644
    --- a/arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
    +++ b/arch/arm/boot/dts/ste-ux500-samsung-gavini.dts
    @@ -527,8 +527,8 @@ i2c-gate {
    accelerometer@18 {
    compatible = "bosch,bma222e";
    reg = <0x18>;
    - mount-matrix = "0", "1", "0",
    - "-1", "0", "0",
    + 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.35.1
    \
     
     \ /
      Last update: 2022-08-08 03:36    [W:3.881 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site