From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (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 3FC4B396D1A for ; Mon, 13 Jul 2026 07:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783928796; cv=none; b=YrDscgjexATdsqciY38i8y6/SFDfefIkX3Byb2DbfPancomFozZHHYAJqccQ3GpD1zKEqrNxC9BQYFKHRIt/SvTs5FwrzpPauVIHtNSPyRTWJ4XKx2tls8Z3uWhKabeBd9/Ug/s2tKa3xc+OAV80GVB/sKfosDThPx0zMkr6h/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783928796; c=relaxed/simple; bh=8D3HkhAmphdUEpR1RhwzMh9d4uJOL7QA8i4LNDI3qZo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=YwNb1XDrfJl0QQ7GGtCumXXFeIGcEUpq8BNWikK8PNnm3kwX+eZ4L4/m9no397DurrRaG6h9dlIYdULjlZMJZt6JFWZMJ7jLKLV2B029iI4ftvmmWOHjuS1zNEF2TZhZCBvbOuZ9h8enUwnS7jqtKYJsJuLCW5v5vum1PV0UDIs= 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=UlPjOUq0; arc=none smtp.client-ip=209.85.214.169 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="UlPjOUq0" Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-2ccdb73f0e1so23997125ad.3 for ; Mon, 13 Jul 2026 00:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783928795; x=1784533595; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=ShwAbMygzjU0orOp/b1DdaJ5AXEffvG0rYavMQ4hKrQ=; b=UlPjOUq0viziSGGIGPghFbWJycTZ+O6k7ho7G001rPe6/2iu2OjjUtlGVFs6KWA5s+ vfd15hUYMBDFh+dJMtV3OCpCarrT8kyPtdCVXdKAR1Cibiz2q6DaaDNslsbXOLJSRwmv pFtjkV0wp+SXolSQqHTnZdTHGeau2NsogD1R7ZXy62SOBYrz2RmshO08bbM+Ad/LhvT2 UdR/JB8P0qW0wj07g2V9TK4NbhaVzlx/txKPrd+5Znki+N5nWesg32kyd79GYOojsF2i DS3XEruc1c1bZpRUW+eg4VrnROjS/45KkY70JRCDeakjg8oV54oE3nXvFHcCh1jpTBkF dNcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783928795; x=1784533595; h=content-transfer-encoding:mime-version:references:in-reply-to :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=ShwAbMygzjU0orOp/b1DdaJ5AXEffvG0rYavMQ4hKrQ=; b=e92D3gOlcp+EnluYuheiA0Nfu6wAYMTVzYfCexosCgqphvR6HfRGhvsq+2S/LxCz// EdtHsajirx/4nf/T9FLj5FQvUzAih7MpshgFh9HCsHP5hn8Pr4HFiYzNQ/rikNQQZf0j 8w/3V7iOKB7JNsIVnZZCRt/O5ph9eHFYxNXZQKIb6r2e4XY+w3FaPlQjmeofJnBp/dtc qYGjNBPh88YxecpuG1kC2s9DcZ4TjZLhJ/zv4VMpAn4j+x3CDZ2Bmt3R8rzqdORvJOUo a84LKUiGxWOVrNePAY/qfpwAjtFoaC8hNk7zPvmfhOpMHj0AGqrInujhK/EDpclJW9bp C9/Q== X-Forwarded-Encrypted: i=1; AHgh+RrBlsKbPyBmXqcm58hQeKV4UOMooyp0oKrxFcipjzCydWT4gTb/SY6o7+e6/Cd/VPxJU+nY8AMXfU2w@vger.kernel.org X-Gm-Message-State: AOJu0YzD7ZAjWm4svQ2bZTeEEcN/+q45zZ8C77GuYWuUVRjdCpX1bYzF wnsgMhiG+q8QyQXxRX96dPisWaXA4px8BAEaUALMuaF5GDNoS+f8emnC X-Gm-Gg: AfdE7ckpb8OgEwcFLGY6iYW3FwTZQ6aKp69vTq5GOTt5HZt4UrBSavfcjLXb06cmfvP DozLhjuNzrtJVjYlwDbPNQcWCs8Ht+ZLSq9AprUEixmnCrIGk0KyGzMIskKNWj6IaKsoRLJN7zE 47VSlISDDUcZ3uwyJ05qunt5vXhc4IcxqVsFYRoNV0Ns40YtbKjCIPbktR+mGxh4CQmuc2z8WhN 2NPCtJOV4yGOl4vDnemXYE2xuDMHAEfF6JsJZPgSuuOJ8CKzZmvArgUrsYehfC1EPkeQa2ySyUT ShGx8xGGJSitDdQq0ks2yhUoy2c7huwz9/H0mz2Vn9NbTH5MHKrLpYW2PNhEcC5sZQA9uEVKkeP QTXXAt+gjEtXYkKHSzkNOSrMYgHutK1UgXFy6l/Y03OtTsUivawiUPRaVUIkjCYyzONS5CIYOP8 AIMcw0XUefkkQsui2RNfMsMw== X-Received: by 2002:a17:903:388c:b0:2cc:9773:1313 with SMTP id d9443c01a7336-2ce9ebf84f7mr74433375ad.11.1783928794600; Mon, 13 Jul 2026 00:46:34 -0700 (PDT) Received: from HP.localdomain ([27.217.83.168]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ccc9d5bde9sm94960105ad.79.2026.07.13.00.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jul 2026 00:46:34 -0700 (PDT) From: Zaixiang Xu To: Guenter Roeck Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Zaixiang Xu Subject: [PATCH v7 4/4] hwmon: (sht3x) Document support for GXCAS GXHT30 Date: Mon, 13 Jul 2026 15:45:59 +0800 Message-Id: <20260713074559.12196-5-zaixiang.xu.dev@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20260713074559.12196-1-zaixiang.xu.dev@gmail.com> References: <20260713074559.12196-1-zaixiang.xu.dev@gmail.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The GXCAS GXHT30 is a humidity and temperature sensor that is a drop-in replacement for and fully software compatible with the Sensirion SHT30. It is handled by the "sensirion,sht30" fallback compatible without any driver changes; manual instantiation works with the existing sht3x device name. Document the chip as supported. Signed-off-by: Zaixiang Xu --- Documentation/hwmon/sht3x.rst | 17 ++++++++++++++--- drivers/hwmon/Kconfig | 5 +++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Documentation/hwmon/sht3x.rst b/Documentation/hwmon/sht3x.rst index ea1642920295..4f67671eb0cd 100644 --- a/Documentation/hwmon/sht3x.rst +++ b/Documentation/hwmon/sht3x.rst @@ -31,6 +31,14 @@ Supported chips: Datasheet: https://sensirion.com/media/documents/4B40CEF3/640B2346/Sensirion_Humidity_Sensors_SHT85_Datasheet.pdf + * GXCAS GXHT30 + + Prefix: 'sht3x' + + Addresses scanned: none + + Datasheet: https://www.galaxy-cas.com/uploads/files/202509/GXHT30_datasheet_V3.9_20250919170350.pdf + Author: - David Frey @@ -40,9 +48,12 @@ Description ----------- This driver implements support for the Sensirion SHT3x-DIS, STS3x-DIS and SHT85 -series of humidity and temperature sensors. Temperature is measured in degrees -celsius, relative 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. +series of humidity and temperature sensors, as well as the compatible GXCAS +GXHT30. The GXHT30 is a drop-in replacement for the SHT30: instantiate it from +devicetree with the "gxcas,gxht30", "sensirion,sht30" compatibles, or manually +using the sht3x device name. Temperature is measured in degrees celsius, +relative 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. The device communicates with the I2C protocol. SHT3x sensors can have the I2C addresses 0x44 or 0x45 (0x4a or 0x4b for sts3x), depending on the wiring. SHT85 diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 08c29685126a..64fc00ade5ca 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -2023,8 +2023,9 @@ config SENSORS_SHT3x depends on I2C select CRC8 help - If you say yes here you get support for the Sensiron SHT30, SHT31 and - SHT85 humidity and temperature sensors. + If you say yes here you get support for the Sensiron SHT30, SHT31, + SHT85 and the compatible GXCAS GXHT30 humidity and temperature + sensors. This driver can also be built as a module. If so, the module will be called sht3x. -- 2.34.1