From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02562C19F2A for ; Mon, 8 Aug 2022 01:43:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242716AbiHHBnM (ORCPT ); Sun, 7 Aug 2022 21:43:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242952AbiHHBlY (ORCPT ); Sun, 7 Aug 2022 21:41:24 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8201D45; Sun, 7 Aug 2022 18:35:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id A01C7CE0FE0; Mon, 8 Aug 2022 01:35:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4474AC43140; Mon, 8 Aug 2022 01:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659922510; bh=fbgxc8V8tdg0LFBq4Z4rM/C3lTyUixrych/GUw3V7aw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xx/z1oMTHPH6gw275Diz3fuk9OIcHPmxFXtOERwnleLhDoTAPFqubiZ3Ldg5pyXCQ 3dbG/peL9kUbW30ZLHpwzf8oH6XK7qw5TaD9fI5gWsXNYrca6iYv0YJDQWFP5Y+UHZ iYLUz5mY3nDWATbtNHNGWJyPOCA/KOl26gv5dO0fptcRYxNHwVTegB1Pa/WPUNS3br bpONnujinKMthpX7lPKyw3s6hnE2hnHADsti8fa5zRpYrxfXQpVUcvLMYMkpdM3Snz ykKj3hTSrNKdRKX9r9zcYdNqNcScJTdVWxdGYYwSdhO1Shk1v0KoyuiG64tPejDoOV rCP6tEHJiWBYA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Linus Walleij , Sasha Levin , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 5.18 29/53] ARM: dts: ux500: Fix Janice accelerometer mounting matrix Date: Sun, 7 Aug 2022 21:33:24 -0400 Message-Id: <20220808013350.314757-29-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220808013350.314757-1-sashal@kernel.org> References: <20220808013350.314757-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Linus Walleij [ Upstream commit 013fda41c03e6bcb3dc416669187b609e9e5fdbc ] This was fixed wrong so fix it again. Now verified by using iio-sensor-proxy monitor-sensor test program. Link: https://lore.kernel.org/r/20220609083516.329281-1-linus.walleij@linaro.org Signed-off-by: Linus Walleij Signed-off-by: Sasha Levin --- arch/arm/boot/dts/ste-ux500-samsung-janice.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts index 42762bfcd878..2069efb252a7 100644 --- a/arch/arm/boot/dts/ste-ux500-samsung-janice.dts +++ b/arch/arm/boot/dts/ste-ux500-samsung-janice.dts @@ -610,8 +610,8 @@ i2c-gate { accelerometer@8 { compatible = "bosch,bma222"; reg = <0x08>; - 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