mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Abdelnasser Hussein <abdelnasserhussein11@gmail.com>
To: jic23@kernel.org, gregkh@linuxfoundation.org, nuno.sa@analog.com,
	Michael.Hennerich@analog.com
Cc: dlechner@baylibre.com, andy@kernel.org, linux@analog.com,
	linux-iio@vger.kernel.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org, joshua.crofts1@gmail.com,
	error27@gmail.com, narcisaanamaria12@gmail.com,
	Abdelnasser Hussein <abdelnasserhussein11@gmail.com>
Subject: [PATCH 0/3] staging: iio: accel: adis16203: fix axis mapping and cleanups
Date: Tue, 29 Sep 2026 21:48:57 +0300	[thread overview]
Message-ID: <20260929184900.39515-1-abdelnasserhussein11@gmail.com> (raw)

Hi all,

This patch series addresses a fundamental hardware mapping error in the
ADIS16203 driver and performs a few necessary cleanups.

The ADIS16203 is a single-axis inclinometer. The current driver mistakenly
exposes two separate axes (X and Y), leaving a FIXME comment on the Y-axis.
According to the datasheet, these are actually just two different output
formats for the same axis (0 to 360 degrees, and +/- 180 degrees).

This series removes the unsupported Y-axis, fixes the inclination naming,
adds a missing SPI device ID table to ensure proper module autoloading,
and cleans up the register macros to align with kernel coding style.

Best regards,
Abdelnasser Hussein

Abdelnasser Hussein (3):
  staging: iio: accel: adis16203: fix inclination naming and remove
    unsupported Y-axis
  staging: iio: accel: adis16203: add missing spi_device_id table
  staging: iio: accel: adis16203: clean up register definitions and drop
    redundant comments

 drivers/staging/iio/accel/adis16203.c | 108 ++++++--------------------
 1 file changed, 24 insertions(+), 84 deletions(-)

-- 
2.54.0


             reply	other threads:[~2026-09-29 18:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-29 18:48 Abdelnasser Hussein [this message]
2026-09-29 18:48 ` [PATCH 1/3] staging: iio: accel: adis16203: fix inclination naming and remove unsupported Y-axis Abdelnasser Hussein
2026-09-30  8:24   ` Joshua Crofts
2026-09-30  9:21   ` Andy Shevchenko
2026-09-30 11:34     ` nasser
2026-09-29 18:48 ` [PATCH 2/3] staging: iio: accel: adis16203: add missing spi_device_id table Abdelnasser Hussein
2026-09-30  6:56   ` Joshua Crofts
2026-09-30 11:35     ` nasser
2026-09-29 18:49 ` [PATCH 3/3] staging: iio: accel: adis16203: clean up register definitions and drop redundant comments Abdelnasser Hussein
2026-09-30  7:04   ` Joshua Crofts

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=20260929184900.39515-1-abdelnasserhussein11@gmail.com \
    --to=abdelnasserhussein11@gmail.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=error27@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jic23@kernel.org \
    --cc=joshua.crofts1@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linux@analog.com \
    --cc=narcisaanamaria12@gmail.com \
    --cc=nuno.sa@analog.com \
    /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®