From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) (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 17B951F938 for ; Sat, 20 Jun 2026 04:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781930414; cv=none; b=GQRgdU0EpfiHVvPuFlDi/HMwY8av3YbQAAhAyGwoBg/IXnR8sIWqIDNwzv7qiPMeKphn4PzzvzcNJhNYovZi/7jv3tZIPqxZ/ZnG4IJdf39HVSEwVKFvlrBhcmnLacPNMyOGxc8qssRYwzYAtX3N6QJtJPJVtdP2U0G7WYuuGeM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781930414; c=relaxed/simple; bh=j/KlcuqTGo4rbWXi3VJtgHO0cb10VIMP0agIXghvbZI=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=m5TC5Hn3jMpHu+mg7h6LLnkjaqB5eJm8q15OiSCLiRnCJs36OKS5Q27WN3kzoGAOMESpGg1Yf4qaIdNwE5gc5ZL5pFEg8qlxQe7Q3Ypwz4MgSBkIBLp+zkbHDC+okKA8OuZnt9azoVHLph8rbjyJ6XDtusRAsb77q/0i1Y14tsA= 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=dJpywN1F; arc=none smtp.client-ip=209.85.167.170 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="dJpywN1F" Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-4864a8e80bbso1295852b6e.0 for ; Fri, 19 Jun 2026 21:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781930412; x=1782535212; 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=FJeeU9eoXdSFt5ADMYLY67sHZOm5Ehw4SyZLtOa9Yzw=; b=dJpywN1F/Rlzf93Nzv92+iinhn7bYEcUztekYMIkHR3gZtu838O5lEn+nLPcq4ymji 8IFxZg6jRPsDFXSDZaEjkVhyIuLGEIuRB07Qsl6zy7e+wxeqykwBr4S2hjLwFsyUP5JJ FLsLKebt/xgziQZueS1qIdZoVilQ37M6OTMgC5oFhoA97FHy7Na8aGuqKBGQ1BrDbmMr 6VzdT+SDcWUHRboWKodNlKLeifSlMIz6CNAvVmqOF+tRJxBMxeTxDNdxzQDdN/5asFrT nr65iPp6WwQSyfytevq4gF8yCr+IGtEljPJlQ9vQVTwVWKyCqRnoZf6ikaICxZgtNX05 uz8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781930412; x=1782535212; 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=FJeeU9eoXdSFt5ADMYLY67sHZOm5Ehw4SyZLtOa9Yzw=; b=bd54ah6Chot8BHA+yGjokQfyYATeqycf/wzTu4IVn9Y2bBlv5ndtVC2l4ZgPCMOokq 6sUfXYAMtNuYYErHCeKUENhU36A5R6IHxrMYpq/fe6mb88IojpA7N1143u3u3fmhDUJl 0oYidJaeADE747SElhIhvSpJf4M/pqYDLqiswcRf0sLhhUXMdoFIMPH3pRBtyEoVucnc TWMHNL9EPHLyrnTR1SwhZoAuQsXJxHg0MXE1PB6OR3la49yUC6XjnRmelip/u5HACkEV 4TVMPePCqDuSF+vhDGDpY8sW0RWS+zelDAfmw4MpYl15qH2eo/JAk1Kv+VKej2ZmWXxU wJYA== X-Forwarded-Encrypted: i=1; AFNElJ84zKHLPxJcKxbzcR8z4zL9yS+Ui1F5WTMbAE5CUR1qpai5M3Bfi7Cw4KEL5fh6+3oisrfbBBTKbspB82g=@vger.kernel.org X-Gm-Message-State: AOJu0YxmFlGszKs+SnWuzFnCUEAwDWXxwsE7n9P8JlnuHQVSdEdIHG34 q5KT6WZZnxsHMNZfPLSNcVg30dKWbnpyqiqFxQjts+ZJeMN6Nv0paYf2 X-Gm-Gg: AfdE7cnW/leDUzRKrfj/WiIwL/SFZfWPsT9LFsszZay0uZCa4z1ViRe/HLEjDmHQW6v pEwymvm9aip9ZAdH9vs7rgChijAhrdkht+ETYuRBaefLqu+UFo3pqY9WXc0ai5W56d/eqVUo9+Q AevB4fgaTQNLWQ6FUErpS8MZb0RedQMt2ZQ38s9khNhIHaQ+ASaSBkJlKxpaZZkWDwcWQ8Y5qWh M4Hsu9oHlR1WeRsrjNHrsbK5LKPBIyxD8MBlPmlTQuKRsfTpR1oGjm0QIVByv1mongMpv/S9A/K 79FN8P6E4xeSUbH7HjUNBFQ+7JKCTDTZ4XPkvzRkOH6Vy0wY98jEwzYofJe9JgnYOpFf/ySCuwK sDiUp/zqXw2ARZK31vlQOSAK0bgmyOkAClU1oyiOKMkqP73Thrj7i+M0XGVbNLbKd2rqR7DMZAG /oqL70oyY2eTqky5Hqlbb8XovaEspsk2FDMhdcI2lbVqV4S4Zd2ry0HxSrFA== X-Received: by 2002:a05:6808:2519:b0:48a:8dfa:5219 with SMTP id 5614622812f47-48a8dfa5859mr2516921b6e.3.1781930412044; Fri, 19 Jun 2026 21:40:12 -0700 (PDT) Received: from linuxescape.lan (23-88-128-2.fttp.usinternet.com. [23.88.128.2]) by smtp.gmail.com with ESMTPSA id 5614622812f47-48aec0ddd7bsm679754b6e.7.2026.06.19.21.40.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 21:40:11 -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: [RFC PATCH 0/3] Add Sensirion STS30 temperature sensor driver Date: Fri, 19 Jun 2026 23:40:04 -0500 Message-ID: <20260620044010.1082621-1-m32285159@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi all, This patch adds support for the Sensirion STS30 family of temperature sensor drivers. It currently supports single-shot non-clock stretched readings as well as the entirety of the STS30 family. I'm sending this as an RFC patch as I unfortunately do not have the hardware right now. I have compile-tested it successfully and have done a tad bit of testing on QEMU, with it properly registering with no errors reported in dmesg. Unfortunately due to the way I had compiled the kernel used to test the driver it did not expose the I2C bus to userspace properly and I was not able to retrieve values from the driver, but I can continue more testing over the next few days and am happy to answer any questions anyone may have. Additionally, regarding dmesg logs, I neglected to save them while in my testing, but as stated previously, I can continue more testing over the next couple of days. Maxwell Doose (3): dt-bindings: iio: temperature: Add STS30 devicetree bindings iio: temperature: Add STS30 temperature sensor driver MAINTAINERS: Add entry for Sensirion STS30 driver .../iio/temperature/sensirion,sts30.yaml | 49 +++ MAINTAINERS | 6 + drivers/iio/temperature/Kconfig | 11 + drivers/iio/temperature/Makefile | 1 + drivers/iio/temperature/sts30.c | 321 ++++++++++++++++++ 5 files changed, 388 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml create mode 100644 drivers/iio/temperature/sts30.c -- 2.54.0