Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp344110ybv; Wed, 5 Feb 2020 06:34:46 -0800 (PST) X-Google-Smtp-Source: APXvYqy/vGwVT1IkYXTXgl8cR9r3LQ+jBfK0l5RftF/RUjD0r5P0cnBnHRoFXvLU9MzF5zZSa2/j X-Received: by 2002:a9d:7d87:: with SMTP id j7mr15854519otn.159.1580913286076; Wed, 05 Feb 2020 06:34:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580913286; cv=none; d=google.com; s=arc-20160816; b=Imq6imZHlgvPzBxLnGq1+TEu2KYJYB+Ntvu8m06Wb3A1gzd1AkiTehYEXzOpuCo3dN dikMrt61Kt/1r/q7N/Wj2YkZz1HaUaZpd8X4SC24cpEget+K4wIOzEgM7p4DYbvOZWlf vuXniul5HMaWEtWndQ3RLuGM6yXYJo7PMYSYCTIQqnMpf4qfhYp2X7VouFD0GQNJHQOa SmbzOlJyJF7q2zr2xJ4ZClDZVp0/eECT+SzppuVdsPjk/av9aLNP7bGlYsoklCOugLqe A4sP1xXkI9LnaI2bqBGto9pAKqhlkrJre3TUnZzIPupa2PEIhn+OI4K4WqupAY9+TW1L 63pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:autocrypt :from:references:cc:to:subject; bh=geT6JNYiqPuxwXEyQcq783tTQkug1DsYA9itGERXuj8=; b=d7T59fNM9b61A59vgWkgP3MITXmmUgU/k+572F13ahOZnyv+QSWpJHIcMiD7y4RJ+X e/nMYb9K51Vj3DpDDgvo8rTBz21yzSvKS/BQeR/KbrDTIrjLElqfVonaoGoUTwenOHN6 iy+3QNLY38m0Ru+oQlu4bHqK9pUsrVLohRe/kbNwfc9aozyES6+1KiuF1geOJuaVyXys ZbVgfuccY1KUGhNJUW0zgFEWS9nYdWhPc+GBniySnNsT6g8RkN62fkdNKg7t7yZhv52L IZDfe8mWF4CZ8moAqcAAhJ/5h9cVDoLHHjDcpTtHXXUBNber/PBlU94MKWNZLpz/r+nw bcBg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8si13461698otp.69.2020.02.05.06.34.33; Wed, 05 Feb 2020 06:34:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=puri.sm Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727381AbgBEOco (ORCPT + 99 others); Wed, 5 Feb 2020 09:32:44 -0500 Received: from comms.puri.sm ([159.203.221.185]:49358 "EHLO comms.puri.sm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726334AbgBEOcn (ORCPT ); Wed, 5 Feb 2020 09:32:43 -0500 Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id E19DAE0304; Wed, 5 Feb 2020 06:32:42 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQRqvdgIb01E; Wed, 5 Feb 2020 06:32:41 -0800 (PST) Subject: Re: [PATCH] arm64: dts: librem5-devkit: add lsm9ds1 mount matrix To: Marco Felsch Cc: mark.rutland@arm.com, robh@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org References: <20200120100722.30359-1-martin.kepplinger@puri.sm> <20200203110545.GB24291@pengutronix.de> <7298838b-b5ce-4e90-331a-4b62a6f91b95@puri.sm> <20200204172403.jlb6zeqv2jdblkqb@pengutronix.de> From: Martin Kepplinger Autocrypt: addr=martin.kepplinger@puri.sm; keydata= mQINBFULfZABEADRxJqDOYAHfrp1w8Egcv88qoru37k1x0Ugy8S6qYtKLAAt7boZW+q5gPv3 Sj2KjfkWA7gotXpASN21OIfE/puKGwhDLAySY1DGNMQ0gIVakUO0ji5GJPjeB9JlmN5hbA87 Si9k3yKQQfv7Cf9Lr1iZaV4A4yjLP/JQMImaCVdC5KyqJ98Luwci1GbsLIGX3EEjfg1+MceO dnJTKZpBAKd1J7S2Ib3dRwvALdiD7zqMGqkw5xrtwasatS7pc6o/BFgA9GxbeIzKmvW/hc3Q amS/sB12BojyzdUJ3TnIoAqvwKTGcv5VYo2Z+3FV+/MJVXPo8cj2vmfxQx1WG4n6X0pK4X8A BkCKw2N/evMZblNqAzzGVtoJvqQYkzQ20Fm+d3wFl6lS1db4MB+kU13G8kEIE22Q3i6kx4NA N49FLlPeDabGfJUyDaZp5pmKdcd7/FIGH/HjShjx7g+LKSwWNMkDygr4WARAP4h8zYDZuNqe ofPvMLqJxHeexBPIGF/+OwMyTvM7otP5ODuFmq6OqjNPf1irJmkiFv3yEa+Ip0vZzwl4XvrZ U0IKjSy2rbRLg22NsJT0XVZJbutIXYSvIHGqSxzzfiOOLnRjR++fbeEoVlRJ4NZHDKCh3pJv LNd+j03jXr4Rm058YLgO7164yr7FhMZniBJw6z648rk8/8gGPQARAQABtC1NYXJ0aW4gS2Vw cGxpbmdlciA8bWFydGluLmtlcHBsaW5nZXJAcHVyaS5zbT6JAk4EEwEIADgWIQTyCCuID55C OTRobj9QA5jfWrOH0wUCXPSlkwIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgAAKCRBQA5jf WrOH06/FEACC/GTz88DOdWR5Jggh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q6TfaO ekMtxgNYb/8oDry09UFHbGHLsWn6oBo= Message-ID: <04429541-77f8-08bb-61fb-417ff4fe09d4@puri.sm> Date: Wed, 5 Feb 2020 15:32:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 In-Reply-To: <20200204172403.jlb6zeqv2jdblkqb@pengutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04.02.20 18:24, Marco Felsch wrote: > On 20-02-03 12:31, Martin Kepplinger wrote: >> >> >> On 03.02.20 12:05, Marco Felsch wrote: >>> Hi Martin, >>> >>> On 20-01-20 11:07, Martin Kepplinger wrote: >>>> The IMU chip on the librem5-devkit is not mounted at the "natural" place >>>> that would match normal phone orientation (see the documentation for the >>>> details about what that is). >>>> >>>> Since the lsm9ds1 driver supports providing a mount matrix, we can describe >>>> the orientation on the board in the dts: >>> >>> I didn't found the patch which adds the iio_read_mount_matrix() >>> support. Appart of that your patch looks good so feel free to add my: >>> >>> Reviewed-by: Marco Felsch >>> btw, I have resent this (and included your tag) as part of a series with more librem5-devkit dts additions: https://lore.kernel.org/linux-devicetree/20200205143003.28408-1-martin.kepplinger@puri.sm/T/#t thanks, martin