Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1430572pxb; Thu, 28 Oct 2021 03:37:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4hX8rb4CRMQmqklFx7kKOEn4P93YdbGsq4b3NoVCK+xRfhW427tTN0XTwAVJ0BHYEbCzB X-Received: by 2002:a50:e089:: with SMTP id f9mr5047712edl.290.1635417476704; Thu, 28 Oct 2021 03:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635417476; cv=none; d=google.com; s=arc-20160816; b=WsGLfjG+6MaTAewR4GNpgls4zrvKpwAs/xqpJ/hlkUgXX8jvP1yNzSmx9ZBREpWQqJ iMlsu9Sjkx6cgPV4ZlFIB7o11nrhljtx36sUaDReoed4S3RFiLY/nKC8EYOu7KxbVhYo FMUJfXh3Uq4KJZXy8ftXTEHEoKuFbekeP6FRrY3HlUM/5T3geU1WaCK0ACthdjkm8y7o 11B/Z0ycr6W/A3yOd0d9E09aB60ydMj/zfqfoGwpItJ1Wn4qq5J9FiWfYPBh0+rERfg5 YhXaqs3Qu3CF/bcMARrZY3veE722P4W+ksdNemLp+Ael/eLExzJBDWY4Y26Rjkap6RR6 iUzg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=zLuUOP1h3cvIxWM/XeJpLWjfp//j5XNMpxTeUSXW94k=; b=nkDc0C5C0pUeNO9AXyDJCWSZCrwGjsBUTLBhoqBMPiEzTYlkkehvRdLYQYTe0DQ/1J jY3sGGnWJfsNIw4hJBCGNgi1fMlOhsCFCWEzV7tEO1uaamIi79XqgGrzPT3+kGcoVE+z zqknOmfuPdgZk2bpeTFJ0kI1AAfJ1Drdhh4Il2VbGRlBHPMPTTetL8zYpHWIAA15Dam6 U1KzP8652e2YNRwgV+lmQJ6TZyb0EvZGbUGwO2q3AmrJQraMNtGCTecjOgcZkEQ8F4i/ ZWRTr+IrwJsVAzHIPvLyyso5WEptavcEOnA2XQ3sCFkGbYawdtVtr4ZGvxIiKVnc3onl NEZw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z13si3764346edc.73.2021.10.28.03.37.33; Thu, 28 Oct 2021 03:37:56 -0700 (PDT) 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229946AbhJ1KiM (ORCPT + 99 others); Thu, 28 Oct 2021 06:38:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:42804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229835AbhJ1KiM (ORCPT ); Thu, 28 Oct 2021 06:38:12 -0400 Received: from jic23-huawei (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E7735604DC; Thu, 28 Oct 2021 10:35:41 +0000 (UTC) Date: Thu, 28 Oct 2021 11:40:08 +0100 From: Jonathan Cameron To: Andrea Merello Cc: mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: Re: [v2 02/10] iio: document linear acceleration modifiers Message-ID: <20211028114008.0c2abf06@jic23-huawei> In-Reply-To: <20211028101840.24632-3-andrea.merello@gmail.com> References: <20210715141742.15072-1-andrea.merello@gmail.com> <20211028101840.24632-1-andrea.merello@gmail.com> <20211028101840.24632-3-andrea.merello@gmail.com> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Also, but them immediately after the block with the in_accel_x_raw etc The organization fo that file needs a rethink but let us try to avoid making it worse in the meeantime! Jonathan