From patchwork Thu Jul 22 16:30:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 483924 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp531075jao; Thu, 22 Jul 2021 09:49:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7USny+Z5LWIcNXmHAV7GFC6mLx5LXUtpGz2ryzWUN53635gjCnNtEHezMgnZIMo8/r23Y X-Received: by 2002:a5d:8994:: with SMTP id m20mr463528iol.117.1626972447506; Thu, 22 Jul 2021 09:47:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626972447; cv=none; d=google.com; s=arc-20160816; b=zJjrN+MTdzTlltgo96NFdG9BJg5BHSxUF5CW2qiFVtPUIiUc701BXbHFvKhTrihomh nOtHccN3Uck6+65ufe+ha+V9CxbKIza71b0nUSr8PmI/6mk/c4iBdXE9baAcQz8+R2hb Jf5OU63srgNT1RAbzr1oLAqIhzN9e475w+vL2UE7QzjP2j6/6wnBuyPbNRnDcjQnYMOO a23XwiH3tLgJjR/SamWY3BZJ1ZFyhHTlAJaqe6xpJasKXmGtpafH6j/NcGYJTISd/YfK VpJ26XemvSbD53cna2oYRcj7M0rXwAfcoFRdeCoBHuZsUyO2HVA3gNuN75bsdFT7TgcW stuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x1CptNxgbqUdqFUMn+car+PL1qi5e7ZwZpXKjiMU3Tw=; b=OJlbz8p113EU1fX3v88rhB0FOdZFv88iRlV3f+tWyiFzbn5cEBl+P1Zb1VCk1L4BTl jhIy2oSEroKDKjlNtoBK5q4ACq5VkOeX5zs3qRm6jGc6cbUPyLggGgr/JnCjs+NLjwaC NK9Y5vfBln7ckdC3gm/dj5aN3v0F0qPnZ1yr9uhYW7742PK9ZZc6KLVVD2wJaKHljelf 9dkpQCT0mjmV/k0HhzslaEb5nf5bhyNqz5pluRN7x3L6mEHchUQW1J47GSQe89AXUGrC AXBMu/6AOCsvGHBUJMIHIr7hABoTQxEf8+0p8Lpln1RJOD7eF2a757smg9l1cu1t9kGK N+QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=13x5Ik0V; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i16si18190809jam.109.2021.07.22.09.47.27; Thu, 22 Jul 2021 09:47:27 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=13x5Ik0V; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234334AbhGVQGO (ORCPT + 12 others); Thu, 22 Jul 2021 12:06:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:42612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234900AbhGVQFN (ORCPT ); Thu, 22 Jul 2021 12:05:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E80D661363; Thu, 22 Jul 2021 16:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626972347; bh=icmE0/xpmce9z6I8441lIcrQBtxWtI/KuYzOMJ/JTd8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=13x5Ik0VPyjoJct7v8zVCvSn1oLRpwerr33565k+CixlzJdcByKTFusaVqwHws4jL Oh8lzqytpZsjACdJn7Mofzz0bmwpsPcZMnw8bBNiaPR8sVwwUrB5jwFMTNOUgZg0D3 F12LqCCSLg7MdZbCb35EStpSV/wPS5yy06g54NVM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Linus Walleij , Sasha Levin Subject: [PATCH 5.13 033/156] ARM: dts: ux500: Fix orientation of Janice accelerometer Date: Thu, 22 Jul 2021 18:30:08 +0200 Message-Id: <20210722155629.481234649@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210722155628.371356843@linuxfoundation.org> References: <20210722155628.371356843@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Linus Walleij [ 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 Signed-off-by: Sasha Levin --- arch/arm/boot/dts/ste-ux500-samsung-janice.dts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) -- 2.30.2 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 };