From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 059C03546DC for ; Thu, 20 Aug 2026 14:32:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787236349; cv=none; b=d3/IQPzYbvTSSrItta3tlKnkw2Z0z2jN8wrpATiPjztkSMc7aleHz7Mnczvx7M3NDUMMSFL28au2rzXbsz6dCKxImOin737qQCxm5KwK9kumPmkvUlVqFssEqYabexKAnZKEizt5iB01bBJl271L44gIEVo5/h8h+222AmvXMTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787236349; c=relaxed/simple; bh=oIAsE/e03p+TOGVzlvCWR9X1duR52+pknj+r+YshhDw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=FpKe0dRS0LxtgH9swGlnSsF+cCwCYmHU2sLFAQgBWWca1fhyqsbLqEDpWnrzLOOuM18WULL8H1RnMCbn+RIMcsgGpslVXGYnJjTo/d14Z1v6qQz2A/49j9Rcnu7aWyEgVuP4PR+zo45T0OJdmxDYH8LX8BqJmJoad2nxMm8q7Hc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Ip0itOWo; arc=none smtp.client-ip=209.85.221.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Ip0itOWo" Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-5c30d9adfa7so992255e0c.3 for ; Thu, 20 Aug 2026 07:32:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787236346; x=1787841146; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=/gm+SgYfIRbiDZdeJlutFSVssEPZa9jM7xptJ+k84VM=; b=Ip0itOWod8TCkDrqG38gr6Tgg0TpQLNhkdKubId/Q5wbGUtbJ4ujrAerpC52sHXwb0 tR+565KV45tSQjbpgvTxwdUXcmdY9KxWalH7cA3I/OpCla85lcJGhNbrb4bMzzAKmY09 YASSKTGjGtq9BLfRWcqOx3vsaULH0QcP5i671CHT2L8FUh4qiirNuekvLDq/pcnK1/ZL sH1wFDS6RwszBDeX7fWcgNBpxtRN0aWwhYEyctlcLJOI+4znbnqe89hDcky3cRqhUt/r 7F6RuLlwGyL4nHo75G3h5mwKmfQ2LOFVFGEsLzV210eZIeOXIvoi1bo/IfiipWrZi3Yj k32Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787236346; x=1787841146; h=content-transfer-encoding:content-type:mime-version:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=/gm+SgYfIRbiDZdeJlutFSVssEPZa9jM7xptJ+k84VM=; b=OQhOyxa+hjA7jrx5tqZ8Q4DTqEN4XgO3rEbpfl/13kiBNua89070vp5xhQV+7Lng6f c0gx/hqKfIzmTXT7zrw+fmEoNkPX5t+zwkRwdOhRf+TmfwVFKye+7Z8doevR9AMuNDv2 osTpwutEzO2lW/zP5xKUFquigGDikxsjYQ7D5hBg1ogTdp3RvHTRzgU7SutDgp2s27ze JEbKKGHAf8eMttNyNCzpDoXvok9MdwcFl6MTSnMrgqkAPD/mQmdFr35V6Ccy7w+F2gos xLHtgvzrQQ6rJrNsFb1IMsChU2H4k65mX5KN9lhj3Vkf/aRUiPBfFB00uILUqVJ/chmC Gsqg== X-Forwarded-Encrypted: i=1; AHgh+RrP0x/ulAmm2exy2TNQw7yg7TYC742vTlw3oAUw0e3sCgTXNCGM3JuDrACnKYMv6Ulf4bJ6L57kUrHTOAg=@vger.kernel.org X-Gm-Message-State: AOJu0Yz450CQP6SRAwNRvIQqu+TUq5K5DIx2RwKp6BgXzI24tgnDkIMA EhiLOGyjhYH+VN4BMD++9JPIKqwm9s9q/XVb3AHOjLYhSwavXOg9ZxI= X-Gm-Gg: AR+sD12X9NqNRO8PGpUITSDoA8yHikKVPMO1+xq391ge9Vs9p2QGVjQkEpPXSFXpht/ McjWN50X3qg9SYRL72Ln4qYjg3zWIGjnshOzGik8drb3udCvSo94L67kKS4NvSW8w+ldiTq8pGb aDYdVSb/FiVuuTMaDBfXHu8Re7+tCXOxWU09kB8EwQxVcQMCM7YMptcwo3bVg/3i2dCVOG14jOV zkvLPfUNFDll+EmJKSHEKu1+oagtoz8tHsHFLGVvjAKJP1wxKfTHQnzlQdzZ0zQ33BnEtQ5f+E/ HEe5KtEON1vRJTHf9cBz16UPxptzy47HSBisU4M/eFosJXu7X7XGxtTsr3uQ5iawhY7swEwAe4d FmozCO4/eKFwPWtDCLiTYuLY2M+IOLMXmgiw92vT7toa6KL3Eby3goQPPqnsdUvCDlTFe8v1MGY TM3dNvH2bGBLm2FTnwNghmNHaWA2kI5SR9EBtiWAsIa8xM2XsjHZPnF5DU2+wmaJUOwjlbHiUJK no6Q8CVYJyj1qUk1jwbLejVAVILF1brA/nupxKO X-Received: by 2002:a05:6122:3129:b0:5c5:ac11:9731 with SMTP id 71dfb90a1353d-5c5e3e4c415mr4869914e0c.8.1787236345866; Thu, 20 Aug 2026 07:32:25 -0700 (PDT) Received: from localhost.localdomain ([186.158.238.108]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5c5e25e3459sm6393922e0c.4.2026.08.20.07.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Aug 2026 07:32:25 -0700 (PDT) From: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= To: Jonathan Cameron Cc: =?UTF-8?q?Nicol=C3=A1s=20Antinori?= , Andy Shevchenko , Brigham Campbell , Conor Dooley , David Lechner , Jori Koolstra , Krzysztof Kozlowski , Marcelo Schmitt , =?UTF-8?q?Nuno=20S=C3=A1?= , Rob Herring , Shuah Khan , devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linux.dev Subject: [PATCH v4 0/2] add support for Aosong AM2320 Date: Thu, 20 Aug 2026 11:31:08 -0300 Message-ID: X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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