Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp95016pxh; Tue, 9 Nov 2021 07:49:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWxAAp5/oGwDRyCqlBjbfwWS3C0V6Uog37QpgXZ9R8FbfWd0YNbJSd/m6lqlyXAugJXtKa X-Received: by 2002:a17:907:7f2a:: with SMTP id qf42mr11451702ejc.388.1636472985687; Tue, 09 Nov 2021 07:49:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636472985; cv=none; d=google.com; s=arc-20160816; b=tdpXh+RzoQiV33o8QJR3wEH7Y9xFomJeMK1yV/lisy+8Tbm+a6DK1EUvkREOsYiIXm nM8MT25Isl90j8u36VyjbOHajVwhJH8gkbRQD2cV3bp2iCJmh7Yh7KI/83UEjIoHeXZV lY6355mjj1jlW8ThXZEd2R42J3Tl4TMEJ+2ZjUrx+OpXz+ZO0lsdHF9zqVl7eObTZHku 0B1vK6pZX7pCCMP+p5hI/UhIl0bz5db5FA2g5GVMKCggdKrq12Z00/uxVo7DWiAzvAlw eZ2uGAilW2vssYxzY7I7iMcs8iZGESQbSGybxT4xdys7zuoi/ueVNv/Gkw30Vi936+mw Zj0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:dkim-signature; bh=jJRf2QoVELE16P7cEB6PznntzKV1Qjbgm15LTcUsRVc=; b=SdbLvEvxKPYq0alMizM/8JsZftobFe5lXLQQ8316KiI2s8h1ovl8j6WWsFuAKt2qie UqKaxneMjHVBt5meih2l7EEZSMCV0DnoCzZyWTFg04dn8whxhLgPcqL2k0D74fdy8SZ9 0lkWNkqTLX2AWI04CNw3Np7dYsNy5SPg7q6sS9lJJoyTGV2t9luT9MbRr1nzMSjW6eS3 ypb+uTxsVYN6+SkldBs9z68//4QLy6OTM1V4X5nERROSLKTG35TKDZbbBXIgGspluZZF 0mtxcLwMknhJIRdaSv0X/tijVU2URhomUJd42h4n8CdvFwFkh26kr3mD4HdtKXt0LX2g 2hDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gePWEHOS; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg4si47174357ejc.55.2021.11.09.07.49.21; Tue, 09 Nov 2021 07:49:45 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=gePWEHOS; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243903AbhKIIDI (ORCPT + 99 others); Tue, 9 Nov 2021 03:03:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243911AbhKIIDH (ORCPT ); Tue, 9 Nov 2021 03:03:07 -0500 Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FEBEC061767; Tue, 9 Nov 2021 00:00:21 -0800 (PST) Received: by mail-ua1-x92d.google.com with SMTP id v3so36760122uam.10; Tue, 09 Nov 2021 00:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=jJRf2QoVELE16P7cEB6PznntzKV1Qjbgm15LTcUsRVc=; b=gePWEHOSGecvEl7HJk8CquvjcxB88pnyrkGCaFJpCUh4S1dghmG7/dMru5orqE7XT2 nt/qRrfPaUPnmctmGZ/Dr1h47Z31ODwM+xwpl7cP4NYlcNiW8zpum+XarWZGbRno+Cqh SteCW+khATmPvJsHO43ZUUOKW7X9UxgPRhxPiE+pduHEsilaICggfbpETpT3wRNwJPUu UkYaboRaaj1UFiCNng++tcT5e2XmO5/aw2xrpnJG9/64B+005FELBQhMsd/GZFkwrpjm XlEJA9UX3xorXGAjTFncWl4WQW2xd7HgCi3MBDqJTl1YS+qwxz42xC1VIyCEubXM54rI IVvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=jJRf2QoVELE16P7cEB6PznntzKV1Qjbgm15LTcUsRVc=; b=3UfAsmz4AwiZ9Ae65Hcm9BY6j33PcydpVUyeX4nSuWQ8/pr+SukXE/i3KCGAjjVK0f FV+yCXA/uRBLclSKuvTTGsXvtGnU4AGrYbMcJFFc416GwE7F4hOfeR8mnh9oDg5BArIO Kvxf7MP2ulKl1/hTHsc+9AlqAF5xZlvUKkJqf31bvPLR1y55sWi1mv8V/RPnta5qxo+5 7PYBuyy7UaA4sdRtiBLmBxmYwigADE3DDLRlxs2d01Mq/Ky232wVkAHgXL+5xeLUNbys +d35HcLLWBFB5xi1bd/I+ORsw5wZMB+wkek/E5W7CQEda3CAvDGds3+viPIqs4i9HSlx 5mSg== X-Gm-Message-State: AOAM532pA7MEr2d0SlAh4mj7Rx8IPo6A4TjR7vodZf34SEew5yyUD32g bTA2uzpG+qxthH02KesYmC39WONCAv0s/mdYQOg= X-Received: by 2002:a67:cc19:: with SMTP id q25mr8568763vsl.47.1636444820743; Tue, 09 Nov 2021 00:00:20 -0800 (PST) MIME-Version: 1.0 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> In-Reply-To: <20211028114008.0c2abf06@jic23-huawei> Reply-To: andrea.merello@gmail.com From: Andrea Merello Date: Tue, 9 Nov 2021 09:00:09 +0100 Message-ID: Subject: Re: [v2 02/10] iio: document linear acceleration modifiers To: Jonathan Cameron Cc: Mauro Carvalho Chehab , linux-iio , linux-kernel , devicetree , Lars-Peter Clausen , Rob Herring , Andy Shevchenko , Matt Ranostay , Alexandru Ardelean , Jacopo Mondi , Andrea Merello Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" ? > 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 > >