.../devicetree/bindings/trivial-devices.yaml | 2 ++ drivers/iio/humidity/Kconfig | 8 +++-- drivers/iio/humidity/am2315.c | 34 ++++++++++++++++--- 3 files changed, 36 insertions(+), 8 deletions(-)
The AM2320 is fully compatible with the AM2315 sensor in terms of I2C communication protocol and measurement conversions. This patch series adds am2320 to the i2c_device_id table, creates of_device_id table and adds both am2315 and am2320 to trivial-devices.yml dt bindings. v4: - Addressed minor styling issues in driver's C code pointed by Andy Shevchenko (carried "Reviewed-by: Andy Shevchenko <...> from v3) - Adapted commit message pointed by Marcelo Schmitt (carried "Reviewed-by: Marcelo Schmitt <...>" from v3) - Carried Acked-by: "Krzysztof Kozlowski <...>: from v3 dt-bindings patch since bindings patch did not change. Note: I carried tags from v3 because reviewers declared the tag after pointing things that were resolved in v4 (and the dt-bindings one because the patch did not change from v3 to v4). If this is a mistake please let me know. v3: [3] - Added "aosong,am2315" and "aosong,am2320" to trivial-devices.yml. - Added of_device_id table. - Replaced using a constant for driver's name with chip_info struct. - Separated code changes and dt-bindings changes in two commits. v2: [2] - Generalized KConfig description text. v1: [1] [1] https://lore.kernel.org/all/20260805183733.1000550-1-nico.antinori.7@gmail.com/T/#u [2] https://lore.kernel.org/all/20260810183337.451812-1-nico.antinori.7@gmail.com/T/#u [3] https://lore.kernel.org/all/cover.1786725567.git.nico.antinori.7@gmail.com/ Nicolás Antinori (2): dt-bindings: trivial-devices: add Aosong AM2315 and AM2320 chips iio: humidity: am2315: add support for am2320 .../devicetree/bindings/trivial-devices.yaml | 2 ++ drivers/iio/humidity/Kconfig | 8 +++-- drivers/iio/humidity/am2315.c | 34 ++++++++++++++++--- 3 files changed, 36 insertions(+), 8 deletions(-) -- 2.47.3
On Thu, 20 Aug 2026 11:31:08 -0300 Nicolás Antinori <nico.antinori.7@gmail.com> wrote: > The AM2320 is fully compatible with the AM2315 sensor in terms of I2C > communication protocol and measurement conversions. > > This patch series adds am2320 to the i2c_device_id table, creates > of_device_id table and adds both am2315 and am2320 to > trivial-devices.yml dt bindings. Hi Nicolás, Applied to the testing branch of iio.git. I'll rebase that on rc1 once that is available and push out as the togreg branch that linux-next picks up. > > v4: > - Addressed minor styling issues in driver's C code pointed by Andy Shevchenko > (carried "Reviewed-by: Andy Shevchenko <...> from v3) > - Adapted commit message pointed by Marcelo Schmitt (carried > "Reviewed-by: Marcelo Schmitt <...>" from v3) > - Carried Acked-by: "Krzysztof Kozlowski <...>: from v3 dt-bindings patch > since bindings patch did not change. > > Note: I carried tags from v3 because reviewers declared the tag after > pointing things that were resolved in v4 (and the dt-bindings one > because the patch did not change from v3 to v4). If this is a mistake > please let me know. You got it right. Thanks Jonathan > > v3: [3] > - Added "aosong,am2315" and "aosong,am2320" to trivial-devices.yml. > - Added of_device_id table. > - Replaced using a constant for driver's name with chip_info struct. > - Separated code changes and dt-bindings changes in two commits. > > v2: [2] > - Generalized KConfig description text. > > v1: [1] > > [1] https://lore.kernel.org/all/20260805183733.1000550-1-nico.antinori.7@gmail.com/T/#u > [2] https://lore.kernel.org/all/20260810183337.451812-1-nico.antinori.7@gmail.com/T/#u > [3] https://lore.kernel.org/all/cover.1786725567.git.nico.antinori.7@gmail.com/ > > Nicolás Antinori (2): > dt-bindings: trivial-devices: add Aosong AM2315 and AM2320 chips > iio: humidity: am2315: add support for am2320 > > .../devicetree/bindings/trivial-devices.yaml | 2 ++ > drivers/iio/humidity/Kconfig | 8 +++-- > drivers/iio/humidity/am2315.c | 34 ++++++++++++++++--- > 3 files changed, 36 insertions(+), 8 deletions(-) > > -- > 2.47.3 >
© 2016 - 2026 Red Hat, Inc.