From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f41.google.com (mail-oo1-f41.google.com [209.85.161.41]) (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 DCDD31C2324 for ; Sun, 21 Jun 2026 00:46:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782002792; cv=none; b=mccLs3ktogoK9UqqlT37Wb2Sor1CA0V2I/WTmWHIuyuyWIY/ppe3+F4hYCv8HJvn/WCJNGXVlJwCy/Q3BZ+3TWF25vZILLFpw4TZ+4JPucaYZgevSVA1U/qSm/CCZzLWwxe6366yTtneq7A25d3CbgkEjAfHWT9jKD7GRVKfDKU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782002792; c=relaxed/simple; bh=/9dz4QviX5eZ/DcvAaf4DKmZZS/7wY5B4acWBsr3MXA=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=R9qr8/Z/50yuhZx1J4LL7fd7mwJIoSd5wR7/7j2zWv0GlyEaIVrQ3PwnEcP1m8avExWVv9hts5kn7NJjlCu3Vl2TOtUoDJpbUwchBo0zg9rMCMvfKwXYYKqxNteHYdnAXb8jhuE3rRSJmEWoWxxyopk2aR63NnitGb/jKnHRU7U= 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=rJeOuglU; arc=none smtp.client-ip=209.85.161.41 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="rJeOuglU" Received: by mail-oo1-f41.google.com with SMTP id 006d021491bc7-69dead44101so2779570eaf.3 for ; Sat, 20 Jun 2026 17:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782002789; x=1782607589; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=TI9LIWoTUwIdAN+9blNOOm/EKtO+7hwNGRKe2i/GtZ8=; b=rJeOuglU18PZillaEbKXCn5B7z6TZf7VF2skBrVYsf88AjI0UEanvto+hY5jwhRJE3 6+Xu9WOQtkhha5tR6K3Fz7U4t3LvyAnf7MrtuToixCVNQcL5HN25RDOYHcXr8wYjc01X dtDwwxxeDXdllGZxZ/ADLM9eK/9QBr5vcn4PniwMQ7TWNGvWAImwG+Ry02RNXI1A+UlM bRPbqEG0ulE7YgMXRuV1SWlY1vdGNadFoisfL5T0MRTbSHJrROGJOK8F4SycOEMKYh8v sL0GjfxoE3mkDmMsN3tlXQqA3L1DBCiWlyTQkzyvLf8LW16I9kg00PRKRfItgj8jriMi P/6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782002789; x=1782607589; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TI9LIWoTUwIdAN+9blNOOm/EKtO+7hwNGRKe2i/GtZ8=; b=ZAg0piprQV3s+zWf9N+F2P4z64LUm634r2HvhJzl0y4OVlbnw5qjMaTjdx/EuLmM6U lRu8AnEGUEA+Mu5JUB3ERGNjgbmca9rVNvqGURJWaPDTB2i+siqq1Oe9On+9CYTJZ/TK vdtk8rzMFmU2cFo2YFn5ep5SIUxNmbZnAJCzlziNpe2W9Pga335j1Wn/PX4mKdnQqlAH wWb6N18XrfB+f6ojcWmIOwQM5JYox5qrPzlDIyWRttkCkjd1O1wKJP4tQ/mtbMmQf5Il 4NDwR974+vMENHSWlfG0evAPEoiKIWlA8d/hMx8sCyPB8tiwDVxkiQN2PPGi9buj8Em2 V1ng== X-Forwarded-Encrypted: i=1; AFNElJ9epQh+ywbLtlWip7Nwu01/LrUfrqYGbtWbrWIww2HiYZ+DxBe5WuFtmVwWL/HbEdfXfqYlNro9nmA=@vger.kernel.org X-Gm-Message-State: AOJu0YyriLKWXfvQoxr7a9DUMMkElYERx9s6/5zuGiWdruuHF/EB943c wQseA6YBDYg0ufB7HyElLzob4XJBjKXxM7VJRXYpSMM0E4yS+f+OdAET X-Gm-Gg: AfdE7ckCd+MGE/tBIsGgnMhS7aQDlJwzZyPIDM7wHx3CjN/PCg56KSOlcaPr7oguXEo QHn988g2N6m82bNEUDeMdLsei2sEF71gMEFRENBdiDADLfyACagbSYhscBpd7jOmDkDzDGn96Zk 0SDT57Jp6UH31m9wtofuwOBgWJ80EUPbGYxzUem1PmKGyCOjN7PnujCMs/M6XVXKHJgnl3aWGCy zaI762QlACmKkcqlId1EjoR72tulFAvEmKjFOZvSOnFw5Cfv89o/3qu8zgYRVHUwLWtbHhodS+0 8ebZIzsezB6NgFtkoxjbwpnpYMpb2o4hX27ClGQ6Nx2MyPwSMx+W53HagDA31IdEcGVCkuhpnLV 6YpP0vDgtZs8dNileLx3tsW8pCBEtG8juAv0nSSlIKYv4E5tZnX7uMnhUznYI8etsb97cWgCN5q 0E0qBgFF+gy5MYq6BglFTVXP/e+svBI0hXYGymuGm2mWUMRBNIdoiQ/gGD+w== X-Received: by 2002:a05:6820:2d43:b0:69e:219:603f with SMTP id 006d021491bc7-6a0d8999ef5mr7698515eaf.42.1782002788867; Sat, 20 Jun 2026 17:46:28 -0700 (PDT) Received: from linuxescape.lan (23-88-128-2.fttp.usinternet.com. [23.88.128.2]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4472ec5fd4csm3080457fac.2.2026.06.20.17.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jun 2026 17:46:28 -0700 (PDT) From: Maxwell Doose To: Jonathan Cameron , David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org (open list:IIO SUBSYSTEM AND DRIVERS), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 0/2] iio: temperature: Add support for the STS30 temperature sensor Date: Sat, 20 Jun 2026 19:46:22 -0500 Message-ID: <20260621004626.66629-1-m32285159@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, This patch series adds support for the Sensirion STS30 temperature sensor family. This driver currently supports non clock stretched single shot measurements. Given there were very little issues found with the v1 submission, I've decided to make this a regular patch series rather than an RFC patch. Changes since v1: * whole series: - Squashed MAINTAINERS updates into both the dt-bindings commit and the driver commit. * dt-bindings: - Added ALERT pin as an interrupt and in the examples. * driver: - Fixed a mixup between the clock-stretched and non-clock stretched commands. - Fixed an issue where the return value of sts30_reset() was ignored. - Removed redundant "Author" line at the top. - Added comment at the top for the formula used to calculate the temperature in Celsius alongside a macro. - Added a dedicated macro for the temperature reading size. - Separated the generic linux headers from the iio specific headers. - Removed kernel.h from includes. - Removed unneeded comments. - Used named initializers for sts30_id and moved above _probe(). Maxwell Doose (2): dt-bindings: iio: temperature: Add STS30 devicetree bindings iio: temperature: Add STS30 temperature sensor driver .../iio/temperature/sensirion,sts30.yaml | 55 +++ MAINTAINERS | 6 + drivers/iio/temperature/Kconfig | 11 + drivers/iio/temperature/Makefile | 1 + drivers/iio/temperature/sts30.c | 329 ++++++++++++++++++ 5 files changed, 402 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml create mode 100644 drivers/iio/temperature/sts30.c -- 2.54.0