From: Trevor Gamblin <tgamblin@baylibre.com>
To: "Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
"David Lechner" <dlechner@baylibre.com>,
"Uwe Kleine-Konig" <u.kleine-koenig@baylibre.com>
Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
Trevor Gamblin <tgamblin@baylibre.com>
Subject: [PATCH v3 0/3] iio: adc: add new ad7625 driver
Date: Mon, 19 Aug 2024 10:11:42 -0400 [thread overview]
Message-ID: <20240819-ad7625_r1-v3-0-75d5217c76b5@baylibre.com> (raw)
This series adds a new driver for the Analog Devices Inc. AD7625,
AD7626, AD7960, and AD7961. These chips are part of a family of
LVDS-based SAR ADCs. The initial driver implementation does not support
the devices' self-clocked mode, although that can be added later.
The devices make use of two offset PWM signals, one to trigger
conversions and the other as a burst signal for transferring data to the
host. These rely on the new PWM waveform functionality being
reviewed in [1] and also available at [2].
This work is being done by BayLibre and on behalf of Analog Devices
Inc., hence the maintainers are @analog.com.
Special thanks to David Lechner for his guidance and reviews.
[1]: https://lore.kernel.org/linux-pwm/cover.1722261050.git.u.kleine-koenig@baylibre.com
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git/log/?h=pwm/chardev
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
Changes in v3:
- Link to v2: https://lore.kernel.org/r/20240809-ad7625_r1-v2-0-f85e7ac83150@baylibre.com
[PATCH 1/3]
- Add gpio bindings header, en0-gpios and en1-gpios to binding example
- Remove unnecessary comments
[PATCH 2/3]
- No change
[PATCH 3/3]
- No change
Changes in v2:
- Link to v1 (marked as RFC): https://lore.kernel.org/r/20240731-ad7625_r1-v1-0-a1efef5a2ab9@baylibre.com
- Include link to required PWM patch series in cover letter (missing before)
- Include new link to the pwm/chardev branch of Uwe's kernel tree
[PATCH 1/3]
- Rework dt bindings to be compliant using make dt_binding_check
- Add "adi,no-dco" flag to address indication of how DCO lines are
configured
- Fix binding patch message
- Remove chip packaging info from binding description
- Move comments around to be clearer
[PATCH 2/3]
- Remove ad7625_pwm_disable(), call pwm_disable() directly
- Add ad7625_buffer_preenable() and ad7625_buffer_postdisable()
functions
- Add devm_ad7625_regulator_setup() function, move all regulator logic
to it, consolidate the comment blocks related to it above
- Add have_refin flag in ad7625_state struct
- Add pwm_waveform structs to ad7625_state struct for storing
requested waveform characteristics
- Refactor ad7625_set_sampling_freq() to set the pwm_waveform struct
values in ad7625_state, limiting PWM enable/disable to
preenable/postdisable functions
- Remove redundant dev_err_probe() after devm_ad7625_pwm_get()
- Use device_property_read_bool() instead of device_property_present()
- General alignment and line wrapping fixes
[PATCH 3/3]
- No change
---
Trevor Gamblin (3):
dt-bindings: iio: adc: add AD762x/AD796x ADCs
iio: adc: ad7625: add driver
docs: iio: new docs for ad7625 driver
.../devicetree/bindings/iio/adc/adi,ad7625.yaml | 176 ++++++
Documentation/iio/ad7625.rst | 91 +++
MAINTAINERS | 11 +
drivers/iio/adc/Kconfig | 15 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/ad7625.c | 688 +++++++++++++++++++++
6 files changed, 982 insertions(+)
---
base-commit: ac6a258892793f0a255fe7084ec2b612131c67fc
change-id: 20240730-ad7625_r1-60d17ea28958
Best regards,
--
Trevor Gamblin <tgamblin@baylibre.com>
next reply other threads:[~2024-08-19 14:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-19 14:11 Trevor Gamblin [this message]
2024-08-19 14:11 ` [PATCH v3 1/3] dt-bindings: iio: adc: add AD762x/AD796x ADCs Trevor Gamblin
2024-08-19 16:31 ` Conor Dooley
2024-08-19 14:11 ` [PATCH v3 2/3] iio: adc: ad7625: add driver Trevor Gamblin
2024-08-20 7:19 ` kernel test robot
2024-08-20 21:07 ` Trevor Gamblin
2024-09-04 7:58 ` Uwe Kleine-König
2024-09-04 15:00 ` Trevor Gamblin
2024-08-23 18:48 ` Jonathan Cameron
2024-08-19 14:11 ` [PATCH v3 3/3] docs: iio: new docs for ad7625 driver Trevor Gamblin
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=20240819-ad7625_r1-v3-0-75d5217c76b5@baylibre.com \
--to=tgamblin@baylibre.com \
--cc=Michael.Hennerich@analog.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=u.kleine-koenig@baylibre.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;
as well as URLs for NNTP newsgroup(s).