Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp610256pxh; Tue, 9 Nov 2021 16:08:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwjEpYhIuyVV9pEV+C1msvP6C0qiFvZmUw2C4mXxHFCUvQ7Gwzh6HUym6NTYdXfG/BO2fsk X-Received: by 2002:a6b:3c0d:: with SMTP id k13mr7738795iob.69.1636502921705; Tue, 09 Nov 2021 16:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636502921; cv=none; d=google.com; s=arc-20160816; b=L9kuYFwWkL0zqqlxcJgbEMJPZzJxSnAzPZP2nv4ZIuNDaJeyZXjXdhZPwBgVP1Whx5 oAUOwgnjqIwQNSpKfS4y0EdNpZagv4yOe9q+ystvQe5G8qSY45XXnTBKN4tOrpy0Sgkj pW92ludSVpEmVMCAl7wb0w4Zh/Js2ENCmKfCL6e9cXSmQzMN7AmSOGv4lbDQ0UGemFtI ipqmth4EfPEXsHgmUmTBX2RUg/OP5CRaJ/9N3LhXZFdONt9Bncqze5m/SxfDnj+ZiNXh SM1QQRsHMIEdIvSbg16RLLyQ0Nv5MBzwfxmf+XZW1w9JCo//DUEVEhDq8MwHIFk3vyzL PLVg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=uAx9B13Eo2shcRsf0cFJ07PsSAcSbbY+fXY94jeNmgU=; b=dIAjjcKfaqoGkhbf1eDg+pjrwhMzRfkBchPcFiXw/gIKFZeiKEzEqt6xcjeSYhDjw4 fSgrH+Cpsv4mdY5K7b/Zrk23vjOsflgpSBoUKc+R3lYg1MXbN2pQ9H3NvgcaYITC7d3J tpmsuGYpBY4nHc+KUkBgU3mOnrmIbOlhALBq9pCkDxfNQt8hmuDGYQFvxeyiILakzcqB Df5CuGBVqlYeUs6OWtCf+S2jaaFetIodI04a/qxs42CyPW1J8qfsrjFzQ0cwATsU+rHv GVMaDZUsq97hDg60FD5MLhcq5mFITxn5WEf+hCB/RFkHNzkCv4nyRmcgTYwHjglWngXA K/Mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a18si370607jat.110.2021.11.09.16.08.29; Tue, 09 Nov 2021 16:08:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236728AbhKIRDa (ORCPT + 97 others); Tue, 9 Nov 2021 12:03:30 -0500 Received: from frasgout.his.huawei.com ([185.176.79.56]:4076 "EHLO frasgout.his.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236134AbhKIRD3 (ORCPT ); Tue, 9 Nov 2021 12:03:29 -0500 Received: from fraeml735-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4HpYyf1PVRz67xMM; Wed, 10 Nov 2021 00:55:54 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml735-chm.china.huawei.com (10.206.15.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.15; Tue, 9 Nov 2021 18:00:41 +0100 Received: from localhost (10.202.226.41) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2308.15; Tue, 9 Nov 2021 17:00:40 +0000 Date: Tue, 9 Nov 2021 17:00:38 +0000 From: Jonathan Cameron To: Andrea Merello CC: Jonathan Cameron , Mauro Carvalho Chehab , linux-iio , linux-kernel , devicetree , Lars-Peter Clausen , "Rob Herring" , Andy Shevchenko , Matt Ranostay , Alexandru Ardelean , Jacopo Mondi , Andrea Merello Subject: Re: [v2 02/10] iio: document linear acceleration modifiers Message-ID: <20211109170038.00001879@Huawei.com> In-Reply-To: References: <20210715141742.15072-1-andrea.merello@gmail.com> <20211028101840.24632-1-andrea.merello@gmail.com> <20211028101840.24632-3-andrea.merello@gmail.com> <20211028114008.0c2abf06@jic23-huawei> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.226.41] X-ClientProxiedBy: lhreml704-chm.china.huawei.com (10.201.108.53) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Nov 2021 09:00:09 +0100 Andrea Merello wrote: > Il giorno gio 28 ott 2021 alle ore 12:35 Jonathan Cameron > ha scritto: > > > > On Thu, 28 Oct 2021 12:18:32 +0200 > > Andrea Merello wrote: > > > > > This patch introduces ABI documentation for new iio modifiers used for > > > reporting "linear acceleration" measures. > > > > > > Signed-off-by: Andrea Merello > > > --- > > > Documentation/ABI/testing/sysfs-bus-iio | 8 ++++++++ > > > 1 file changed, 8 insertions(+) > > > > > > diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio > > > index 6ad47a67521c..5147a00bf24a 100644 > > > --- a/Documentation/ABI/testing/sysfs-bus-iio > > > +++ b/Documentation/ABI/testing/sysfs-bus-iio > > > @@ -1957,3 +1957,11 @@ Description: > > > Specify the percent for light sensor relative to the channel > > > absolute value that a data field should change before an event > > > is generated. Units are a percentage of the prior reading. > > > + > > > +What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_x_raw > > > +What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_y_raw > > > +What: /sys/bus/iio/devices/iio:deviceX/in_accel_linear_z_raw > > > +KernelVersion: 5.15 > > > +Contact: linux-iio@vger.kernel.org > > > +Description: > > > + Raw (unscaled) linear acceleration readings. > > > > Probably need more information that this. What element is being 'removed' from > > a normal acceleration measurement? What are units after application of offset and > > scale? Can cross refer to the in_accel_x_raw for that info if you like. > > OK. So, may I just state something like "As per in_accel_X_raw > attributes, but minus the gravity acceleration" ? Yup, something along those lines. Wow, I had a lot of typos in my email. :) Jonathan > > > Also, but them immediately after the block with the in_accel_x_raw etc > > OK > > > The organization fo that file needs a rethink but let us try to avoid making > > it worse in the meeantime! > > > > Jonathan > > > >