From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: "Nicolás Antinori" <nico.antinori.7@gmail.com>
Cc: "Jonathan Cameron" <jic23@kernel.org>,
"Andy Shevchenko" <andy@kernel.org>,
"Brigham Campbell" <me@brighamcampbell.com>,
"Conor Dooley" <conor+dt@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Jori Koolstra" <jkoolstra@xs4all.nl>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Marcelo Schmitt" <marcelo.schmitt1@gmail.com>,
"Nuno Sá" <nuno.sa@analog.com>, "Rob Herring" <robh@kernel.org>,
"Shuah Khan" <skhan@linuxfoundation.org>,
devicetree@vger.kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-kernel-mentees@lists.linux.dev
Subject: Re: [PATCH v3 2/2] iio: humidity: am2315: add support for am2320
Date: Mon, 17 Aug 2026 10:49:57 +0300 [thread overview]
Message-ID: <aoK9JXR8jj8i-Apj@ashevche-desk.local> (raw)
In-Reply-To: <83c8a41607ed07285a84dba8ed10a954226076b4.1786725567.git.nico.antinori.7@gmail.com>
On Fri, Aug 14, 2026 at 02:50:20PM -0300, Nicolás Antinori wrote:
> The AM2320 is fully compatible with the AM2315 sensor in terms of I2C
> communication protocol and measurement conversions.
>
> Add the "am2320" entry to the i2c_device_id table and create
> of_device_id table.
...
> + chip_info = i2c_get_match_data(client);
> + if (!chip_info)
> + return -EINVAL;
-ENODATA
...
> +static const struct of_device_id am2315_of_match[] = {
> + { .compatible = "aosong,am2315", .data = &am2315_chip_info },
> + { .compatible = "aosong,am2320", .data = &am2320_chip_info },
> + {}
Same style as elsewhere, id est
{ }
> +};
With the above being addressed,
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2026-08-17 7:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 17:50 [PATCH v3 0/2] add support for Aosong AM2320 Nicolás Antinori
2026-08-14 17:50 ` [PATCH v3 1/2] dt-bindings: trivial-devices: add Aosong AM2315 and AM2320 chips Nicolás Antinori
2026-08-17 7:02 ` Krzysztof Kozlowski
2026-08-14 17:50 ` [PATCH v3 2/2] iio: humidity: am2315: add support for am2320 Nicolás Antinori
2026-08-17 7:49 ` Andy Shevchenko [this message]
2026-08-18 1:07 ` 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=aoK9JXR8jj8i-Apj@ashevche-desk.local \
--to=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=jkoolstra@xs4all.nl \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.schmitt1@gmail.com \
--cc=me@brighamcampbell.com \
--cc=nico.antinori.7@gmail.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
--cc=skhan@linuxfoundation.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