From nobody Mon Dec 29 00:36:12 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA339C10DC3 for ; Mon, 4 Dec 2023 16:51:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343593AbjLDQvv (ORCPT ); Mon, 4 Dec 2023 11:51:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjLDQvn (ORCPT ); Mon, 4 Dec 2023 11:51:43 -0500 Received: from mxout017.mail.hostpoint.ch (mxout017.mail.hostpoint.ch [IPv6:2a00:d70:0:e::317]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0F2BB; Mon, 4 Dec 2023 08:51:48 -0800 (PST) Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout017.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1rACAV-000EP4-1k; Mon, 04 Dec 2023 17:51:39 +0100 Received: from 157.20.79.83.dynamic.wline.res.cust.swisscom.ch ([83.79.20.157] helo=thinkpad.localdomain) by asmtp013.mail.hostpoint.ch with esmtpa (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1rACAV-000JX2-1G; Mon, 04 Dec 2023 17:51:39 +0100 X-Authenticated-Sender-Id: code@stefan-gloor.ch From: Stefan Gloor To: jdelvare@suse.com, linux@roeck-us.net, corbet@lwn.net, linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Stefan Gloor Subject: [PATCH v2 1/2] hwmon: sht3x: add sts3x support Date: Mon, 4 Dec 2023 17:50:03 +0100 Message-ID: <20231204165004.8491-2-code@stefan-gloor.ch> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231204165004.8491-1-code@stefan-gloor.ch> References: <20231204165004.8491-1-code@stefan-gloor.ch> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Vs-State: 0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add information regarding the existing support for sts3x series and update the datasheet links. Signed-off-by: Stefan Gloor --- Documentation/hwmon/sht3x.rst | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/Documentation/hwmon/sht3x.rst b/Documentation/hwmon/sht3x.rst index 87864ffd1777..957c854f5d08 100644 --- a/Documentation/hwmon/sht3x.rst +++ b/Documentation/hwmon/sht3x.rst @@ -9,7 +9,19 @@ Supported chips: =20 Addresses scanned: none =20 - Datasheet: https://www.sensirion.com/file/datasheet_sht3x_digital + Datasheets: + - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datashee= t_SHT3x_DIS.pdf + - https://sensirion.com/media/documents/051DF50B/639C8101/Sensirio= n_Humidity_and_Temperature_Sensors_Datasheet_SHT33.pdf + + * Sensirion STS3x-DIS + + Prefix: 'sts3x' + + Addresses scanned: none + + Datasheets: + - https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirio= n_Temperature_Sensors_STS3x_Datasheet.pdf + - https://sensirion.com/media/documents/292A335C/65537BAF/Sensirio= n_Datasheet_STS32_STS33.pdf =20 Author: =20 @@ -19,16 +31,17 @@ Author: Description ----------- =20 -This driver implements support for the Sensirion SHT3x-DIS chip, a humidity -and temperature sensor. Temperature is measured in degrees celsius, relati= ve -humidity is expressed as a percentage. In the sysfs interface, all values = are -scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500. +This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS +series of humidity and temperature sensors. Temperature is measured in deg= rees +celsius, relative humidity is expressed as a percentage. In the sysfs inte= rface, +all values are scaled by 1000, i.e. the value for 31.5 degrees celsius is = 31500. =20 The device communicates with the I2C protocol. Sensors can have the I2C -addresses 0x44 or 0x45, depending on the wiring. See -Documentation/i2c/instantiating-devices.rst for methods to instantiate the= device. +addresses 0x44 or 0x45 (0x4a or 0x4b for sts3x), depending on the wiring. = See +Documentation/i2c/instantiating-devices.rst for methods to instantiate the +device. =20 -Even if sht3x sensor supports clock-strech(blocking mode) and non-strench +Even if sht3x sensor supports clock-stretch (blocking mode) and non-stretch (non-blocking mode) in single-shot mode, this driver only supports the lat= ter. =20 The sht3x sensor supports a single shot mode as well as 5 periodic measure --=20 2.41.0