Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1420043pxb; Thu, 28 Oct 2021 03:23:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzw2aEuKViZ4gVUboZtOhSV4dT7RirtA+WkUI3meDZcFBavtvtbQIYHR0lmzzgxwaPU6R+I X-Received: by 2002:a17:907:9491:: with SMTP id dm17mr4111826ejc.359.1635416626293; Thu, 28 Oct 2021 03:23:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635416626; cv=none; d=google.com; s=arc-20160816; b=rFlOBjm+/HOI8TVCp2p9DpJEuG8MoP6LNM/b6Fkd/WN/8e0UYOcl1SJcsG2gLNCqHD EtuIyDB4zKqbM5NaSaQ2dOzb/SZArqREowabigyZqwExKm0W5h6+IpT3PvSpOx5emkBH gTDBmiTpe/EabR0z7doJwe7EBG0GHRFp72NxHUFcNwI6OdvWRkDdKfZz6xPP3B6gDLGF t8wbb7WRokIQKcOM8Lw4dAh+HEZOltEnJ6IzHoXLVjII95rnOpDBXC8G2c7t7pCj9J4+ y7ArjzffnVef6ElD8/R+Icmz2z0IKQ2lvdnmdMy2zNVTb7FbFjwIS6ttFzTt0UsRpw4D PkDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=L2JMKpGP10zaKzlWr+YPAz+Tmj11kCytPQMo8tQzF78=; b=F67Sr90kAOUPYEcj380K/Fjok1PY/AfJm0rA2XXosnd0MyiXQkAy8rVUdDEVn7sqOa Wv93zCJLHk1ROE3fbdYs4rGxF4RhwFCTl6trg8F6xC7bwbTGfnQxQQLw0ZINa82BCDhj TC636e9o2QP/SEOXKEVdPDgZ1TxsxxR6z/I2elvD+K2lzqu/C7J9ZMHwBsUAj89C9lha /mWP+7ykYvuSRjwRJU3JExtJvoUe3MVqArlU5JNnsLsDbI1jRziG1J78sWSZ+cdBI1a9 FUpXRqbwLsEmz/ukjy1Bhjo/izkI/uL2eV+HxHhi6tAo09Z6kOpVI8Qcf9dyuZCcS0h8 prpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LnxD7A4L; 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 s2si5050734edd.68.2021.10.28.03.23.22; Thu, 28 Oct 2021 03:23:46 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LnxD7A4L; 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 S230349AbhJ1KVq (ORCPT + 99 others); Thu, 28 Oct 2021 06:21:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbhJ1KVW (ORCPT ); Thu, 28 Oct 2021 06:21:22 -0400 Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1BA59C0613B9; Thu, 28 Oct 2021 03:18:56 -0700 (PDT) Received: by mail-ed1-x52a.google.com with SMTP id h7so23101227ede.8; Thu, 28 Oct 2021 03:18:56 -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; bh=L2JMKpGP10zaKzlWr+YPAz+Tmj11kCytPQMo8tQzF78=; b=LnxD7A4Lpm2UQsB1e5xhp2b0TA2gTdNEGC8ZFgLX5itA9oUnFGmuxyS4DCgABCn01D eu5rIzt0pBuoT+ZN8HJlbVWWuG5yiEJVadsgYQoy0jim7vOPf4sIz+lMc1t/torM0ZH3 8OGDdlj5N7ncDsfUsb0IPV3p6aQ5lrY+IWv6926m4l4O3yhmWlRS8W6PdPMZaFq6h7FG VMeIVUlpUaLF8Z/nah/DUcxHQIKeMxLCrJtkY00mqYnQxIRxVuEdh4cmk28mi+q8XPqt +e41UmAarpiLTJy59Zn3r4KJKNBuhWVZa3MCdAFBLGiNZKttKdCy+LpkKwFzs5Zm8BEQ U9uw== 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; bh=L2JMKpGP10zaKzlWr+YPAz+Tmj11kCytPQMo8tQzF78=; b=GYeCOJjRCvFoVYL9vnW8pHpASLDZN8ZpXlIwxDgWTzUl+tlB2AlxbeB1uzRouJN9qB ZaakTrBk+Z5e02v8iKhHC0r3q60bbmSoVAS1c2pXPsHzHApYb8LFy622I3fSCJWPjBao CHYkp6IorGj4eBX5w9ZMphfucfmnfbAg1zSmERkKKYHUX6B/Cij+bwEHBUa79CFgb1Lx LPhR17dzk24eT6rCJVSKFzU+HlArlWcxbRlBYaJqWjPZvBSe+sVIEP9FLTED81l8k3UF 66XUfosirJ8GykRH8rhyEtwbdunFEVUKohmHQuB4NnkxCHaexVAOs6acunny7W4MTM/g t9zA== X-Gm-Message-State: AOAM531mDD1bJqR9tGZsklA/+rvU7X/nCoEyFhqZlGQodKPfNFoj7Wc2 j8yEgDTT/0gx9qtXx4so3Vg= X-Received: by 2002:a17:907:9614:: with SMTP id gb20mr4481318ejc.564.1635416334721; Thu, 28 Oct 2021 03:18:54 -0700 (PDT) Received: from poker.lan (static.2-229-210-222.ip198.fastwebnet.it. [2.229.210.222]) by smtp.googlemail.com with ESMTPSA id mp9sm1175071ejc.48.2021.10.28.03.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Oct 2021 03:18:54 -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 , Andrea Merello Subject: [v2 06/10] iio: document bno055 private sysfs attributes Date: Thu, 28 Oct 2021 12:18:36 +0200 Message-Id: <20211028101840.24632-7-andrea.merello@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211028101840.24632-1-andrea.merello@gmail.com> References: <20210715141742.15072-1-andrea.merello@gmail.com> <20211028101840.24632-1-andrea.merello@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds ABI documentation for bno055 driver private sysfs attributes. Signed-off-by: Andrea Merello --- .../ABI/testing/sysfs-bus-iio-bno055 | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-bno055 diff --git a/Documentation/ABI/testing/sysfs-bus-iio-bno055 b/Documentation/ABI/testing/sysfs-bus-iio-bno055 new file mode 100644 index 000000000000..930a70c5a858 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-bus-iio-bno055 @@ -0,0 +1,84 @@ +What: /sys/bus/iio/devices/iio:deviceX/in_accel_range +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Range for acceleration readings in G. Note that this does not + affects the scale (which should be used when changing the + maximum and minimum readable value affects also the reading + scaling factor). + +What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_range +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Range for angular velocity readings in dps. Note that this does + not affects the scale (which should be used when changing the + maximum and minimum readable value affects also the reading + scaling factor). + +What: /sys/bus/iio/devices/iio:deviceX/in_accel_range_available +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + List of allowed values for in_accel_range attribute + +What: /sys/bus/iio/devices/iio:deviceX/in_anglvel_range_available +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + List of allowed values for in_anglvel_range attribute + +What: /sys/bus/iio/devices/iio:deviceX/fast_magnetometer_calibration_enable +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be 1 or 0. Enables/disables the "Fast Magnetometer + Calibration" HW function. + +What: /sys/bus/iio/devices/iio:deviceX/fusion_enable +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be 1 or 0. Enables/disables the "sensor fusion" (a.k.a. + NDOF) HW function. + +What: /sys/bus/iio/devices/iio:deviceX/in_calibration_data +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Reports the binary calibration data blob for the IMU sensors. + +What: /sys/bus/iio/devices/iio:deviceX/in_autocalibration_status_accel +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be "Idle", "Bad", "Barely enough", "Fair", or "Good". + Report the autocalibration status for the accelerometer sensor. + +What: /sys/bus/iio/devices/iio:deviceX/in_autocalibration_status_gyro +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be "Idle", "Bad", "Barely enough", "Fair", or "Good". + Reports the autocalibration status for the gyroscope sensor. + +What: /sys/bus/iio/devices/iio:deviceX/in_autocalibration_status_magn +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be "Idle", "Bad", "Barely enough", "Fair", or "Good". + Reports the autocalibration status for the magnetometer sensor. + +What: /sys/bus/iio/devices/iio:deviceX/in_autocalibration_status_sys +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + Can be "Idle", "Bad", "Barely enough", "Fair", or "Good". + Reports the status for the IMU overall autocalibration. + +What: /sys/bus/iio/devices/iio:deviceX/unique_id +KernelVersion: 5.15 +Contact: linux-iio@vger.kernel.org +Description: + 16-bytes, 2-digits-per-byte, HEX-string representing the sensor + unique ID number. -- 2.17.1