Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1636464rdb; Sat, 10 Feb 2024 10:08:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWQ9Wd7L9dGTWh9OIylnZODHC/U+pUz5aYYlOlMIoZtPHVuFLOwk3k8wMD+3wYVgHftUnsJZmQFJrriHuAsxQsRjeYJrgk/1qSsrygIdA== X-Google-Smtp-Source: AGHT+IFJmmR3RaTEzFcMWea34N6x8XEi6Gt+PcRM6b9nsPNXEryDkjvqj3kVEeF6Jzcw4PFrURkb X-Received: by 2002:ac8:5ac9:0:b0:42a:8a48:89f0 with SMTP id d9-20020ac85ac9000000b0042a8a4889f0mr4485510qtd.15.1707588513146; Sat, 10 Feb 2024 10:08:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707588513; cv=pass; d=google.com; s=arc-20160816; b=nyA7f5Yf1ENjm2pxgkVIUIdEMEBlrXhGZFYq65UUCYd97wdnBAcnXr0LqV/BqP1IaM 4kxi3j1lqwdcMLx9Em7kl3XzECrzG9RGBPLtQGP9l+n4FzMGAXmSRJfdS3EAuPJBcOTB uCuyPH5sx04kvLGGJblZhsHbe1LBnRO6pVk0ezRyQIl42KTfZNi7NpakJiprACBFkJ0i bosMrijoP6X8pUiCPcjPWZ2v7VflJlItBKptlxhTFf1Ml6EuyCRKEdmg4M5JC7o0AJgj FAhxUVCoYaeSlM7OBrDJuGjiGruyhjS7BJ+59BGHbKZVG9DkwNSoNz0YRcHkCteWIjDD FJOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Ou0ltpW89bTQKsJDD3VSl61hQCbP/xxVUyJ1w0YKsWM=; fh=ebZhlsNXqaQNShnICiVPt2SRzb3C7Pq9TAL5+JivXRg=; b=Zh+o0gppuK4aAmK3pvd/t555Ys43Z5bKhjX1LEtL898fIDuNSryNgFFlMX3F0wj+zK b1yRyAzf1wsk6GvW6FxEzwB2fzDb88clo0I7Nc+4adojKgudLpAoxvMtUDAx12/7nxuk I/4YjRKfzS8wsfBbASxCpHlx2EJyFVUAK4O0fHN13ZSZds7FH3eYIvuZHpgPrgAIa+Mc SgAC1v4Hqx5NP7pNr6TZtwO86GlmPC5cso4VMd7UzB77uocSr1yFNdMcLeEty1umUG5k tbhiFn86k7TxTiS4tbHvrZCmIz6btJL9IKFD7vizRX40jcNvlNx/XaIx0Q+UdBje8CfO LQYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AbAxYiQB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60512-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVtQilzsBIf6QrMGQWXPxO9hz1BMxd/g7281N8hTLjDvXQEvLmDK0cocW5HaJQRhxUas8zJwiyoOfbrGydIfK+2avwGVvIIcl5F/lHGVg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m19-20020a05622a055300b0042c145dbf0asi4720102qtx.540.2024.02.10.10.08.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 10:08:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60512-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AbAxYiQB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60512-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A69E01C23D6C for ; Sat, 10 Feb 2024 18:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CBD85D493; Sat, 10 Feb 2024 18:08:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AbAxYiQB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4B065380C; Sat, 10 Feb 2024 18:08:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707588502; cv=none; b=QJhlR4swYbPn6fVrJhq4NBF6rwDy5oMUmfFn4uMx3+R0TvYwX/ilKcRgeLtl7sTp5ncedwR8wPX2R3cUDGp5egKFfaHcbvC2wRW+QIRfk2NkHYEw/VyryVzymajRwdSPcMLd0GMZDSq6sqqu/PxwPwMK8CC7oeum/ZLem783z5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707588502; c=relaxed/simple; bh=pDQ9MEFZ8xbuu5cjngPIgjyWhjXzw1tFUlQOjXM53UU=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fRgN98XghnJFTOAedU6JT+U0n8AQ29AoSGFojmSV6xmDK5m9tiZA9gdKX5Z/+E8tdjkaA/wO7cmV5nP6oQUjJJEIUc2zGMhnywWb9YKy5wiecWzO6DW9pc2uG7zpmBoD80ZzdSFlDg8As4ob25QUCuuArk+lAC4JeyXR5dtSSt0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AbAxYiQB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B3D3C433C7; Sat, 10 Feb 2024 18:08:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707588502; bh=pDQ9MEFZ8xbuu5cjngPIgjyWhjXzw1tFUlQOjXM53UU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AbAxYiQBPcDTUZFpMI3VrfJxXdzpQnkE6EXur0GKqETKkOJl3zjcnVgoMY8TyZiE6 NMy1mnSuW5i4gq8qZCE0/xfNIjbt25I1MzVCp3WOF/o0lyBHcqsGRyWhzpO6e5Y8z5 JoUIE6b8UFbc1owojmnDGwY/a+pK3xwAhP3ji1xpJbLJWdkMG/Qkx4x3JxLrG/xCzx N1JrpRiqxGWl6D1+5DVcpdStAVAdPgPrDGtSwUoIzLqThiCNOHqROGVkMbWBzpkrUh CJ7Bvv3rQyJ94pQQ/nB3/gcqyea+8ENah1myGnT0/4eFGuFNWooWAzKj1ZIoN+123+ fV0lbTq8RtStw== Date: Sat, 10 Feb 2024 18:08:09 +0000 From: Jonathan Cameron To: Ramona Gradinariu Cc: , , , , Subject: Re: [PATCH v3 3/3] docs: iio: add documentation for adis16475 driver Message-ID: <20240210180809.1a01733e@jic23-huawei> In-Reply-To: <20240208100126.183697-4-ramona.gradinariu@analog.com> References: <20240208100126.183697-1-ramona.gradinariu@analog.com> <20240208100126.183697-4-ramona.gradinariu@analog.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 8 Feb 2024 12:01:26 +0200 Ramona Gradinariu wrote: > Add documentation for adis16475 driver which describes > the driver device files and shows how the user may use the > ABI for various scenarios (configuration, measurement, etc.). > > Signed-off-by: Ramona Gradinariu > --- > changes in v3: > - fixed wrapping > - added sentence showing device files location > - fixed typo in device file names by adding the in_ prefix > - added new section for channels processed values > - rephrased the trigger setting section > - gave reference to iio_devbuf documentation for raw data > Documentation/iio/adis16475.rst | 381 ++++++++++++++++++++++++++++++++ > Documentation/iio/index.rst | 1 + > 2 files changed, 382 insertions(+) > create mode 100644 Documentation/iio/adis16475.rst > > diff --git a/Documentation/iio/adis16475.rst b/Documentation/iio/adis16475.rst > new file mode 100644 > index 000000000000..192ec1225de5 > --- /dev/null > +++ b/Documentation/iio/adis16475.rst > @@ -0,0 +1,381 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +================ > +ADIS16475 driver > +================ > + > +This driver supports Analog Device's IMUs on SPI bus. > + > +1. Supported devices > +==================== > + > +* `ADIS16465 `_ > +* `ADIS16467 `_ > +* `ADIS16470 `_ > +* `ADIS16475 `_ > +* `ADIS16477 `_ > +* `ADIS16500 `_ > +* `ADIS16505 `_ > +* `ADIS16507 `_ > + > +Each supported device is a precision, miniature microelectromechanical system > +(MEMS) inertial measurement unit (IMU) that includes a triaxial gyroscope and a > +triaxial accelerometer. Each inertial sensor in the IMU device combines with > +signal conditioning that optimizes dynamic performance. The factory calibration > +characterizes each sensor for sensitivity, bias, alignment, linear acceleration > +(gyroscope bias), and point of percussion (accelerometer location). As a result, > +each sensor has dynamic compensation formulas that provide accurate sensor > +measurements over a broad set of conditions. > + > +2. Device attributes > +==================== > + > +Accelerometer, gyroscope measures are always provided. Furthermore, the driver measurements (probably what you mean) > +offers the capability to retrieve the delta angle and the delta velocity > +measurements computed by the device. > + > +The delta angle measurements represent a calculation of angular displacement > +between each sample update, while the delta velocity measurements represent a looks like an accidental extra space after while. > +calculation of linear velocity change between each sample update. > + > +Finally, temperature data are provided which show a coarse measurement of > +the temperature inside of the IMU device. This data is most useful for > +monitoring relative changes in the thermal environment. >> + > +Usage examples > +-------------- Whilst useful to lay this out, perhaps reference some standard tools that do all this for you? (either the really simple one in the kernel tree and/or libiio etc) Overall very nice docs. Thanks, Jonathan