devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marcelo Schmitt <marcelo.schmitt@analog.com>
To: <linux-iio@vger.kernel.org>, <devicetree@vger.kernel.org>,
	<linux-doc@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <jic23@kernel.org>, <nuno.sa@analog.com>, <dlechner@baylibre.com>,
	<andy@kernel.org>, <Michael.Hennerich@analog.com>,
	<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
	<corbet@lwn.net>, <cosmin.tanislav@analog.com>,
	<marcelo.schmitt1@gmail.com>
Subject: [PATCH v2 0/3] iio: adc: Add AD4134 minimum I/O support
Date: Tue, 18 Nov 2025 14:31:57 -0300	[thread overview]
Message-ID: <cover.1763478299.git.marcelo.schmitt@analog.com> (raw)

This patch series adds basic support for ad4134. AD4134 is a very flexible
device that can be configured in many different ways. This series aims to
support the simplest way of interfacing with AD4134 which is called minimum I/O
mode in data sheet. This is essentially usual SPI with the addition of an ODR
(Output Data Rate) GPIO which functions as conversion start signal in minimum
I/O mode.

This set provides just one feature:
- Single-shot ADC sample read.

[PATCH 1] Device tree documentation for AD4134.
[PATCH 2] IIO Linux driver for AD4134.
[PATCH 3] Initial IIO documentation.

Change log v1 -> v2:
[Device tree]
- Dropped adi,control-mode property (can be inferred from the parent bus).
[IIO]
- Squashed the driver into a single file. Dropped unneeded code and simplified.
- Used IWYU to review includes (added missing ones, removed the unneeded).
- Reworked external clock setup.
- Dropped channel dynamic scan_types.
- Factored out register read specific code to into own function to make code more clear.
- Added comments to clarify non-intuitive code snippets.
- Added trailing commas where suggested.
- Made use of USEC_PER_SEC and HZ_PER_MHZ.
- Updated according to other suggestions (mostly code style).
[IIO Docs]
- Now using "~~~~~~~~" to mark fourth level topics.

Link to v1: https://lore.kernel.org/linux-iio/cover.1762777931.git.marcelo.schmitt@analog.com/

With best regards,
Marcelo


Marcelo Schmitt (3):
  dt-bindings: iio: adc: Add AD4134
  iio: adc: Initial support for AD4134
  Docs: iio: Add AD4134

 .../bindings/iio/adc/adi,ad4134.yaml          | 198 +++++++
 Documentation/iio/ad4134.rst                  |  58 +++
 Documentation/iio/index.rst                   |   1 +
 MAINTAINERS                                   |   9 +
 drivers/iio/adc/Kconfig                       |  11 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ad4134.c                      | 493 ++++++++++++++++++
 7 files changed, 771 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad4134.yaml
 create mode 100644 Documentation/iio/ad4134.rst
 create mode 100644 drivers/iio/adc/ad4134.c


base-commit: f9e05791642810a0cf6237d39fafd6fec5e0b4bb
-- 
2.51.0


             reply	other threads:[~2025-11-18 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-18 17:31 Marcelo Schmitt [this message]
2025-11-18 17:32 ` [PATCH v2 1/3] dt-bindings: iio: adc: Add AD4134 Marcelo Schmitt
2025-11-19 18:38   ` Conor Dooley
2025-11-18 17:32 ` [PATCH v2 2/3] iio: adc: Initial support for AD4134 Marcelo Schmitt
2025-11-18 20:18   ` Andy Shevchenko
2025-11-18 17:32 ` [PATCH v2 3/3] Docs: iio: Add AD4134 Marcelo Schmitt

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=cover.1763478299.git.marcelo.schmitt@analog.com \
    --to=marcelo.schmitt@analog.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=cosmin.tanislav@analog.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.schmitt1@gmail.com \
    --cc=nuno.sa@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;
as well as URLs for NNTP newsgroup(s).