Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4365691ioa; Wed, 27 Apr 2022 02:04:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg4mnYfpc+TNIhjwI5Gjkjo9bniWIlBzIOAlErVV7Xb8iscEvYvSO2bMOnCJ835DmwQyR6 X-Received: by 2002:a63:6c0a:0:b0:3ab:8716:3d04 with SMTP id h10-20020a636c0a000000b003ab87163d04mr7178650pgc.507.1651050247507; Wed, 27 Apr 2022 02:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651050247; cv=none; d=google.com; s=arc-20160816; b=lteu3TJOpt2sxvosYb2oNXZKMQQb3hyQr2q5frOHcuW1NariYF33Eb8dgFmI7bxDN7 +/xKvGXT9q4KFfYxGg8+xHydR1M9G2QrWXFEm7Dcaul0mvh84emg+/Jh6h/mrVNqj0ZH uroA3Z9tNniwjU2OE9WgewY6OAie9Cb9W9JTRWeglGetDSMMybKg0jEZUtmIN+YerihK IO3BES33Vt5PgLxYGi3oKTfJr0F+AIK8lKmmwFRb47s5RWZ4eJCcylsT1UYT/2f2LhRf mSQi+591Q/Rh6c4h0EtMMsvMvsJDAqB4uZHIs8DecEyNsSnCZPw5YUKGczaSPGFNDZkK mOXA== 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:date:subject:cc:to:from :dkim-signature; bh=LEy+Ue17PZqCUHbRJqUlZDS57+AKNoDIEMCTOzZsirM=; b=DI0mLTeV2T8elyD7286kLwHfITLyKtlmYEAxAW7vlsUq14oHGFAQ1GOoPudboK+mdJ LtzYcXckSKqraRgBvwdOwpwZuVxoBZ4jGiHb4MqsIRIwSlRPQOfscBtiHg6S4axyAr3+ Obz1Him35qalkMBkzSRYdcnMiAdNaEf80XfvK/D/T15j/cW+TPgCCLgP4Uniop7FG6O4 euieglIVyRo24OcEnX4kRjNDY+l+GUlueRKtDR1OZrBQBGOl6peluY9oc3JJmTVhqBuD T9hvOE0Phq5AigtPOdL8ujgvqX43yYxYIXuFcfCwiqdPvjpxQTjTcjWvoUrEp3XYx3hL /TCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qd4lRkER; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x5-20020a17090a46c500b001d97ad1c408si4436308pjg.147.2022.04.27.02.04.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:04:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Qd4lRkER; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF4021EE891; Wed, 27 Apr 2022 01:59:47 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350699AbiDZNOZ (ORCPT + 99 others); Tue, 26 Apr 2022 09:14:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350692AbiDZNOS (ORCPT ); Tue, 26 Apr 2022 09:14:18 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B53C606E8; Tue, 26 Apr 2022 06:11:11 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id s21so10713617wrb.8; Tue, 26 Apr 2022 06:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LEy+Ue17PZqCUHbRJqUlZDS57+AKNoDIEMCTOzZsirM=; b=Qd4lRkERQPMKrJ9lYUce+v+QLKbZsDJAku6Ra8COffAQNGenOj3lkgK6zAZ490cNBq phbxq3LDetuL2mhZgZAylyMxGKKrQCa8eme50Zs4rmSvZRzeyoYWzYKznJNDLiT0A6OM JTVWvKfNchSJ5SwdleRryzucdmOwsMxYWPQz4FIlg1tNBKf8MjFBmKAuvPig3dyIbHZM X5vH01xMKF5WTP+PSG+aouVXH52Rjuoq/Ksa4TPAdP/FEvZx1dWa735aOto4SDMwTIHe xoFFxY7yCbR7EbzOUweDIMzETuI7r3vLVq0Eq2AqcrvxkWWE4c2EegB8X0NUqDWUTxao 4AjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LEy+Ue17PZqCUHbRJqUlZDS57+AKNoDIEMCTOzZsirM=; b=I87fe9dICre6Q1Ze6dxy/FfOKhQQID9cqpEzcF7SGySmpaYHcyIjo85faTcwYsKDlK MO/KZBHCxmC/MYrH/YGtBdKhJWPTzmuZoWCcKi2ZiTdsLel21Pkonie3/0lZNyIRN6r9 goO5WgAEhqiSgRy027acGUPrFxpHSy+gpC7MZeO2McS0ajbx2eruNSfxzOIzeoqFmLLu KrPCqMqB2itKFC4Delki3QBuwFLxp5xw6LGxZC+g5HCuMJ2m03gWaRWj3Zs2MRtZco3O ZCuR42uYZQi7Rr/Llmiw5dt6tXwjSi8awmK/qx3pZxIXAy23hySMajqL7Zk1QF9SxL1m byLw== X-Gm-Message-State: AOAM530eGfEZIAYv+j2horS6ugeLGvFyNvL8igkTLILVbKCCFPo6hjMs JGiMxPhXLro+f/0tk4DkuKQ= X-Received: by 2002:a5d:6248:0:b0:20a:dd69:cf1c with SMTP id m8-20020a5d6248000000b0020add69cf1cmr7280460wrv.35.1650978669850; Tue, 26 Apr 2022 06:11:09 -0700 (PDT) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c350900b00393f01c8f00sm3262910wmq.47.2022.04.26.06.11.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 06:11:09 -0700 (PDT) From: Andrea Merello To: jic23@kernel.org, mchehab+huawei@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: lars@metafoo.de, robh+dt@kernel.org, andy.shevchenko@gmail.com, matt.ranostay@konsulko.com, ardeleanalex@gmail.com, jacopo@jmondi.org, Andrea Merello Subject: [v5 02/14] iio: document linear acceleration modifiers Date: Tue, 26 Apr 2022 15:10:50 +0200 Message-Id: <20220426131102.23966-3-andrea.merello@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220426131102.23966-1-andrea.merello@gmail.com> References: <20220426131102.23966-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrea Merello Introduce ABI documentation for new IIO modifiers used for reporting "linear acceleration" measures. Signed-off-by: Andrea Merello --- Documentation/ABI/testing/sysfs-bus-iio | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index d4ccc68fdcf0..aadddd43bf22 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -233,6 +233,15 @@ Description: Has all of the equivalent parameters as per voltageY. Units after application of scale and offset are m/s^2. +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.19 +Contact: linux-iio@vger.kernel.org +Description: + As per in_accel_X_raw attributes, but minus the + acceleration due to gravity. + What: /sys/bus/iio/devices/iio:deviceX/in_gravity_x_raw What: /sys/bus/iio/devices/iio:deviceX/in_gravity_y_raw What: /sys/bus/iio/devices/iio:deviceX/in_gravity_z_raw -- 2.17.1