From: Jonathan Cameron <jic23@kernel.org>
To: Alisa-Dariana Roman <alisadariana@gmail.com>
Cc: Alisa-Dariana Roman <alisa.roman@analog.com>,
"Rob Herring (Arm)" <robh@kernel.org>,
Jonathan Cameron <Jonathan.Cameron@huawei.com>,
Ramona Gradinariu <ramona.bolboaca13@gmail.com>,
David Lechner <dlechner@baylibre.com>,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org,
Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH v6 0/3] Add support for AD7191
Date: Thu, 6 Mar 2025 00:01:36 +0000 [thread overview]
Message-ID: <20250306000136.7de51170@jic23-huawei> (raw)
In-Reply-To: <20250228141327.262488-1-alisa.roman@analog.com>
Hi Alisa-Dariana,
Looks good to me. Applied to the togreg branch of iio.git and pushed out
for now as testing to see if 0-day finds anything we missed.
Thanks,
Jonathan
On Fri, 28 Feb 2025 16:05:59 +0200
Alisa-Dariana Roman <alisadariana@gmail.com> wrote:
> v5: https://lore.kernel.org/all/20250226115451.249361-1-alisa.roman@analog.com/
>
> v5 -> v6:
> - use GPL-2.0-only
> - remove kernel.h
> - remove unused macros
> - initialize local indexes
> - check number of gpio pins
> - use bitmap
> - inverse if condition and remove continue in 2 places
> - fit .compatible initialization in one line
> - change MODULE_IMPORT_NS() content to string
> - use iio_device_claim_direct()
> - refactor heading levels in docs
>
> v4: https://lore.kernel.org/all/20250203133254.313106-1-alisa.roman@analog.com/
>
> v4 -> v5:
> - use static arrays in the ad7191_config_setup function, instead of keeping
> them in the state structure
> - added error checking for devicetree parsing of pga-value and odr-value
> - for now, it doesn't return error when the index corresponding to pga-value
> or odr-value doesn't match, since index is initialized to 0, so it will use the
> first value in this case (the bindings constrain the possbile values for these
> 2 properties, so I thought it's ok like this)
> - use gpiod_multi_set_value_cansleep()
> - move sampling frequency attribute to mask separate (the avail unmodified)
> - removed unused argument form ad7191_setup()
> - removed 2 redundant sections from docs, and renamed one to Devicetree
> - add ad7191.rst to MAINTAINERS
>
> v3: https://lore.kernel.org/all/20250129143054.225322-1-alisa.roman@analog.com/
>
> v3 -> v4:
> - addressed all replies for v3
> - refactored the scale and sampling frequencies configurations to use 2
> different arrays for gpio case vs pinstrap case
>
> v2: https://lore.kernel.org/all/20250122132821.126600-1-alisa.roman@analog.com/
>
> v2 -> v3:
> - correct binding title
> - remove clksel_state and clksel_gpio, assume the clksel pin is always
> pinstrapped
> - rephrase clocks description accordingly
> - simplify binding constraints
> - specify in binding description that PDOWN must be connected to SPI's
> controller's CS
> - add minItems for gpios in bindings
> - make scope explicit for mutex guard
> - remove spi irq check
> - add id_table to spi_driver struct
> - changed comments as suggested
> - use spi_message_init_with_transfers()
> - default returns an error in ad7191_set_mode()
> - replace hard-coded 2 with st->pga_gpios->ndescs
> - use gpiod_set_array_value_cansleep()
> - change .storagebits to 32
> - check return value for ad_sd_init()
> - change to adi,odr-value and adi,pga-value, which now accepts the value as
> suggested
> - modify variables names and refactor the setup of odr and pga gpios,
> indexes and available arrays into ad7191_config_setup(), since they are all
> related
> - add ad7191.rst
>
> v1: https://lore.kernel.org/all/20241221155926.81954-1-alisa.roman@analog.com/
>
> v1 -> v2:
> - removed patch adding function in ad_sigma_delta.h/.c
> - added a function set_cs() for asserting/deasserting the cs
> - handle pinstrapping cases
> - refactored all clock handling
> - updated bindings: corrected and added new things
> - -> address of the channels is used in set_channel()
> - addressed all the other changes
>
>
next prev parent reply other threads:[~2025-03-06 0:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-28 14:05 [PATCH v6 0/3] Add support for AD7191 Alisa-Dariana Roman
2025-02-28 14:06 ` [PATCH v6 1/3] dt-bindings: iio: adc: add AD7191 Alisa-Dariana Roman
2025-02-28 14:06 ` [PATCH v6 2/3] iio: adc: ad7191: " Alisa-Dariana Roman
2025-02-28 14:06 ` [PATCH v6 3/3] docs: iio: " Alisa-Dariana Roman
2025-03-06 0:01 ` Jonathan Cameron [this message]
2025-03-10 21:01 ` [PATCH v6 0/3] Add support for AD7191 David Lechner
2025-03-11 19:10 ` Jonathan Cameron
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=20250306000136.7de51170@jic23-huawei \
--to=jic23@kernel.org \
--cc=Jonathan.Cameron@huawei.com \
--cc=Michael.Hennerich@analog.com \
--cc=alisa.roman@analog.com \
--cc=alisadariana@gmail.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--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=ramona.bolboaca13@gmail.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