Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1431088pxb; Thu, 28 Oct 2021 03:38:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvz9qAPXr1RHt5F97QaJ6kiK9i05eqB/YOhQUw1U3Gr/kyfzaImn7aKoaQ0r95nxjNCF8R X-Received: by 2002:a17:902:6b4a:b0:13f:8e99:2149 with SMTP id g10-20020a1709026b4a00b0013f8e992149mr3141269plt.87.1635417523163; Thu, 28 Oct 2021 03:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635417523; cv=none; d=google.com; s=arc-20160816; b=Xsy9n4aDfhQJnJODNsXBBNKMURovdmXbSfmODJqRobQp+gle/5/D/LfDVwPbyMNoZZ dVTHdmNw6wow7IQYjdnThYU8zKWUMXyXOR6h137PTr4cENrwCvg/P8i5VtLmyw2tovkJ d1ixCgZSfo+35okzr8ZgnHxlJ8PlFXc79BFnrLf0+iHchCaP7NgaFiglkIfSbu2wjBKK C65D2OZoXCpIcKzfVRDnWGTIHg1cXgmFu7dYA5z5lh8ncJfg04pQks90vTlhABFAFcxL TcdDv7Y78gTI/ykXCzpx26mu/MqMSIwGwjuJn0Fg5u8YjesotTiKyJKy2V/4kudO36ZI m6tA== 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=sbIjeC6eQ1H7Pz209gp1FGu9FTGarLlexMUMxhz4vPk=; b=JQ6fDgFToGgfAh4snLB+IHvAtwi1HGGuzb0NVSuVxdV0oXn75ND4/fgubA5nibGlxq m5xkAcG8RZ6Qgb2xNRbG78FPMxhvWHjw7nX2YoKvatuhM6WMuaTVLHPjwe9uC8yzOC2g /vykP6SQU9q4V3yET6KOLV3bd+xaA8KDumS0coNltTPQ+LFQU6kXsJWlsCKIGcw10Yq0 iwQnmCe2JFsPf9EbVYA3ZJUxnyHIAmJ3YiS5BLFZib0Dt6KdWNx13v4gVAGhLZSCfnsN LdmE1EW/HYiv9NlO9M7qT04j7udJUgZIlz6uDIWMmT6UklhBRj90jpA1c6CzUI+PceFf ah4g== 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 v12si3446354plg.285.2021.10.28.03.38.31; Thu, 28 Oct 2021 03:38:43 -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 S230093AbhJ1Kj7 (ORCPT + 99 others); Thu, 28 Oct 2021 06:39:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:43740 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229775AbhJ1Kj7 (ORCPT ); Thu, 28 Oct 2021 06:39:59 -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 295CA60296; Thu, 28 Oct 2021 10:37:28 +0000 (UTC) Date: Thu, 28 Oct 2021 11:41:54 +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 03/10] iio: document euler angles modifiers Message-ID: <20211028114154.19e596fc@jic23-huawei> In-Reply-To: <20211028101840.24632-4-andrea.merello@gmail.com> References: <20210715141742.15072-1-andrea.merello@gmail.com> <20211028101840.24632-1-andrea.merello@gmail.com> <20211028101840.24632-4-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:33 +0200 Andrea Merello wrote: > This patch introduces ABI documentation for new modifiers used for > reporting rotations expressed as euler angles (i.e. yaw, pitch, roll). > > 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 5147a00bf24a..f0adc2c817bd 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -1965,3 +1965,11 @@ KernelVersion: 5.15 > Contact: linux-iio@vger.kernel.org > Description: > Raw (unscaled) linear acceleration readings. > + > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_yaw_raw > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_pitch_raw > +What: /sys/bus/iio/devices/iio:deviceX/in_rot_roll_raw > +KernelVersion: 5.15 > +Contact: linux-iio@vger.kernel.org > +Description: > + Raw (unscaled) euler angles readings. Any _raw entry should also include what the units are after application of offset and scale. Or you could just add this as more info to the in_rot_raw block as an extra sentence explaining that they are euler angles. That will lose the 'KernelVersion' information but honestly I'm not sure we care that much about that. Jonathan