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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E754C4332F for ; Tue, 9 Nov 2021 17:00:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3005D611AF for ; Tue, 9 Nov 2021 17:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237329AbhKIRDb (ORCPT ); Tue, 9 Nov 2021 12:03:31 -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 > > > >