From: "Nuno Sá" <nuno.sa@analog.com>
To: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: radu.sabau@analog.com, Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
David Lechner <dlechner@baylibre.com>,
Andy Shevchenko <andy@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: imu: Add driver for the ADI ADIS16607
Date: Fri, 2 Oct 2026 12:05:47 +0100 [thread overview]
Message-ID: <ar-PjHNtblsDyqP_@nsa> (raw)
In-Reply-To: <ar-JrLr-JHDAT9U9@ashevche-desk.local>
On Fri, Oct 02, 2026 at 01:38:36PM +0300, Andy Shevchenko wrote:
> On Thu, Oct 01, 2026 at 12:11:50PM +0300, Radu Sabau via B4 Relay wrote:
>
> > The ADIS16607 is a Precision MEMS IMU from Analog Devices featuring
> > triaxial gyroscope, triaxial accelerometer, delta angle, delta velocity,
> > and temperature channels. The device communicates over SPI Half-Duplex,
> > requiring custom read and write ops that differ from the standard ADIS
> > library protocol.
> >
> > Three variants are supported:
> > - ADIS16607-1: ±125°/s gyroscope range
> > - ADIS16607-2: ±450°/s gyroscope range
> > - ADIS16607-3: ±2000°/s gyroscope range
> >
> > All variants share a ±40g accelerometer range and an 8 kHz internal
> > clock.
> >
> > Data is acquired via 32-bit burst reads over a single held-low CS
> > transfer, providing 24-bit real resolution for all inertial channels.
> >
> > Supported features:
> > - Hardware FIFO mode with configurable watermark threshold
> > - External clock with direct and scaled synchronization modes
> > - Calibration bias for gyroscope and accelerometer axes
> > - Configurable data-ready interrupt pin (DIO1-4)
> > - Optional hardware reset via GPIO
> > - Sensor self-test on probe
> > - Sampling frequency control via decimation rate register
> > - DebugFS entries for serial number, device ID, firmware and revision IDs
>
> Good, now split this to be a series of 5, for example.
On of that I see that the driver is skipping adislib helpers like
locking, startup, self tests. First consider and think on how the lib
can be improved, changed in order to accommodate this device. The less
code we duplicate, the better.
- Nuno Sá
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
prev parent reply other threads:[~2026-10-02 11:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 9:11 [PATCH 0/2] iio: imu: Add support " Radu Sabau via B4 Relay
2026-10-01 9:11 ` [PATCH 1/2] dt-bindings: iio: imu: Add bindings for " Radu Sabau via B4 Relay
2026-10-01 9:16 ` Sabau, Radu bogdan
2026-10-01 19:04 ` Conor Dooley
2026-10-01 9:11 ` [PATCH 2/2] iio: imu: Add driver for the " Radu Sabau via B4 Relay
2026-10-02 10:38 ` Andy Shevchenko
2026-10-02 11:05 ` Nuno Sá [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ar-PjHNtblsDyqP_@nsa \
--to=nuno.sa@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=andriy.shevchenko@intel.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=radu.sabau@analog.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®