Re: [PATCH] iio: humidity: am2315: add am2320 to i2c_device_id table

From: Andy Shevchenko

Date: Thu Aug 06 2026 - 17:34:15 EST


On Thu, Aug 06, 2026 at 10:46:13AM +0100, Nuno Sá wrote:
> On Wed, Aug 05, 2026 at 03:37:26PM -0300, Nicolás Antinori wrote:

...

> > config AM2315
> > - tristate "Aosong AM2315 relative humidity and temperature sensor"
> > + tristate "Aosong AM2315/AM2320 relative humidity and temperature sensor"
> > depends on I2C
> > select IIO_BUFFER
> > select IIO_TRIGGERED_BUFFER
> > help
> > If you say yes here you get support for the Aosong AM2315
> > - relative humidity and ambient temperature sensor.
> > + and AM2320 relative humidity and ambient temperature sensors.
>
> The above (same on the tristate title) does not really scale nicely and
> we've seen too often already. So I use something like "... and similar
> devices"

Right, and here something to be a list of the supported devices (in case more
will come):

If you say yes here you get support for the Aosong
relative humidity and ambient temperature sensors:
- AM2315
- AM2320

--
With Best Regards,
Andy Shevchenko