From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 B6FCF233921 for ; Sat, 20 Jun 2026 04:40:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781930416; cv=none; b=pU0Wc3axbLLZrv4F2mKkkGrewJtbHT+yH+qUc01pPjCBgumOWxNaRASAzKKgVaIf62IwR1cHwX1RRjg/QnHVdoCCmd5D86QDAx5hu2nIuGrqnGqgK0awoFwIuRnmu7Wa5hcLq/JBglG77rG1gEadl4m1aMDKSZt/qU9FpHsayA0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781930416; c=relaxed/simple; bh=s4uGUDCNIZcuL67jmQB+Q6rJHyfc0sUokTYu0rPht9w=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L/349FhAtAhLKvC1kYrCHeofpnXQ6DdEA5AEMvfczgcVoaO0cVco9tdv3+zVtk/mGFsdJAraADqMF3eCUOoOtCjjobheyab/ZBXuPsLad2GOej+O2lv09CXIAImMOaIHMaIMgrJFtz6dKJ3t0UEFTQPn4VyhNVXPPlVfp23agnA= 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=mVCe7jNk; arc=none smtp.client-ip=209.85.167.171 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="mVCe7jNk" Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-489795617e9so594221b6e.0 for ; Fri, 19 Jun 2026 21:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1781930414; x=1782535214; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZK6YFlyAvt6yked5wvEFfbmqGCX0V5PCrDLneg6SZt0=; b=mVCe7jNkbF0jAtTp+xZdhTKjtZYEHhLTwmeIWXKqu4/otQwfE4ffcRJBnVKEiARhvg LpWFdX8Io3HheXEixMEkuJ8CehmZyp8cUPcRhoRDbhXrxE4JCSmVcVMSW3/vs8o3q1mg t2W5yTwfqW8meuUpQpVL703NxL3OBuRAJVL4z9BH3AGlmen77R3147jxllfWp+A69Lhn teJY1qmEJvrGQlMH24jIYWgKWHfNdhvUP1iySR///dt80mpBhY3bEsVza3PSagWOcU9d IYKQKGrqpjTmREvgprH6k2CwtLT4PaOxuMq6Tb7fD81EJw2ANl25xm7y1pjSIl8SpSJ5 3DEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781930414; x=1782535214; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ZK6YFlyAvt6yked5wvEFfbmqGCX0V5PCrDLneg6SZt0=; b=FLA63Y0vjfMjUDhHkeR0/FxBpLEoevXCfgf9L1oKmLRpFhYvRaOpR6wttBFQhMhWR2 9fylkKHrOq1U8PrfPlveU0Hja8R+EcAWjXkR0PBRx4mm+3+Zz61QchAYvgwM0mRl1RJT w2NhhbvruDgEr8uG1KGc8CTQ6lk8JlhdbOtriYezQA8KPzyhT7rxS7XWmOOpF+B0VCL3 Vu2SHPVWkGhMR9NVpBqaZwszapVuNi6SuwfBOZdYT4qX+XoH5SzRQLYGO0/AdE5F2wmC yecUHlSZTxGh3XaxMhQ6ANuZgdZom7v32xMYaREo7ZXMTARacTQIzpHEAORDePsARFUZ Q2Eg== X-Forwarded-Encrypted: i=1; AFNElJ+JwmS65NCvx7/h4ltdavLmgf3NmEabFaDjr3BLQYn+TsOFir89poW2Frag3fzzPyKlUWMTytxq84lEpxY=@vger.kernel.org X-Gm-Message-State: AOJu0Yyr5O2Wj3JWFTs3mEagmRsGpfvbxO2G/pYws3qpchFujE0OU5BZ dqL+hTwQ75RCVcLClLAeVawawIc+Bc/ZRwd7A0D+SQ09StuE4lKbCIwG X-Gm-Gg: AfdE7cn4ItOV8U4rUzomtJxtDecE7lzfveDhY9rNmNt0Wu3msJXG6yASxZIDt/Yy45m f4JYLkydyGK2btBBV2O+UFB/uiIzjc273tMmZwOoWOyLxXYhGyVYMvW9aLx1vlrevK0iVkhRpFF m8+/D/mrQCOvAy39TU0q8utksolWXYUKF21AiwWy7flFEA8PuzYsSh+FJLyZosnAQI74fbVTthA QzunsWeVQ5RX21IuhT18GQh5NlDxhTLFW9IGtvku8bOhH4DoMpEPyeWVHZEbj1FE96GcgrN8ZSi AuuSijkfs7zocTvGUQbZLIX5ooSFWlKmHrEIF+xJ1LAgj1kBi/UVEl68aTk0iEFUplBI8c+d+iB iA0z8uwWvFBp+64LqpF0Oeu6LTqkczKBY3JSBPcsrvNljVq3Gt5wnrLk2/DG7ruidj/EK5Qy0FV NZDCtgLB1ZHCGgoZNgH44wfqroLB9iyp3slNxwTPC07lyK1TU= X-Received: by 2002:a05:6808:c2c3:b0:489:5dc8:1d61 with SMTP id 5614622812f47-4896aa57359mr5850543b6e.13.1781930413798; Fri, 19 Jun 2026 21:40:13 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2026 21:40:13 -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 1/3] dt-bindings: iio: temperature: Add STS30 devicetree bindings Date: Fri, 19 Jun 2026 23:40:05 -0500 Message-ID: <20260620044010.1082621-2-m32285159@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260620044010.1082621-1-m32285159@gmail.com> References: <20260620044010.1082621-1-m32285159@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the devicetree bindings for the STS30 family of temperature sensors. The STS30 family of sensors includes the STS30, STS31, and STS35. All devices in the STS30 family share the same commands, timings, etc. The only difference between them is their measurement accuracy and tolerance. Signed-off-by: Maxwell Doose --- .../iio/temperature/sensirion,sts30.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml diff --git a/Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml b/Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml new file mode 100644 index 000000000000..dc0c6b7832fb --- /dev/null +++ b/Documentation/devicetree/bindings/iio/temperature/sensirion,sts30.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/temperature/sensirion,sts30.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STS30, STS31, and STS35 temperature iio sensors + +maintainers: + - Maxwell Doose + +description: | + Family of digital temperature sensors from Sensirion with I2C interface. + All devices are compatible with each other, their only differences are + their levels of accuracy. + + Datasheet available at: + https://sensirion.com/media/documents/1DA31AFD/65D613A8/Datasheet_STS3x_DIS.pdf + +properties: + compatible: + enum: + - sensirion,sts30 + - sensirion,sts31 + - sensirion,sts35 + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + temperature@4a { + compatible = "sensirion,sts30"; + reg = <0x4a>; + vdd-supply = <®_3v3>; + }; + }; -- 2.54.0