From nobody Fri Apr 3 02:56:59 2026 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (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 1C0E33290DE for ; Wed, 25 Mar 2026 09:08:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774429713; cv=none; b=q68JtHHXPpxILBFWR81ukgApEgFImMUxt5io3ePMV/OxBW19cCbxrRapZr0+/FZZEpE0YR8iqTrcSa3jxZTdl7voM9OrVU+aVtzwD6h4v4b9CE/4joKakaP3BMIKwQ0SYLnDZt2hip74pDb4pXjY2w+DzJ0WjioUcRvMrt8lpFo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774429713; c=relaxed/simple; bh=17vJldx190UtREN9N166r46Kt1uzxrxBDYAbNaVuqmw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=mGO+gZYLFJadTmJp0eqA6rcUiAjpx9t1OHGLb3R3VNqv5ziq/ThK7hjZyeBui58mGEU+4tWq4ZdNBfXoG2RgEYo8E6JrDyDQOTbwGhu91xQs8wiRb8vyhnFDTVqLUWEYJWGfSd5ouGpDp/1s22ygbB7zolSRJeaZyou92MUoy9k= 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=VzO7Tryn; arc=none smtp.client-ip=209.85.210.176 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="VzO7Tryn" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-82a655cfab5so4630627b3a.1 for ; Wed, 25 Mar 2026 02:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774429710; x=1775034510; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=wg4hmLMuZM7AMAh8JiXj2GkH4WkZAyqVPGv9vuptt9o=; b=VzO7TryniNyDptNOv2jJrKyr1BcPJmb2KT9Ns3ihCuzUMERdNMgiLE/+1yeNBOQJdz FmumaQzjG6y6YBf034EBD0UJrQ6KAgO9I8M239YX+0EYH2CK1FLUkTVLvxDqa0iPLTwm WrsnKlt74BVdQk0M9qENeFXxdeGTQAJT/W278E5G2vg86wMRL5E9oQaBTPZlwaJqn8YK igYpZFsuCMwPXCjWL+PUKM6FdAjt58Ji9TNbGFNRbiS7Y/CPEoJfMXJqDEJ/JrRChBht 01VBgCSLmRyeimTCmx4+tURXLw69rl+PraWnu45IH7H0O07ZigvBVKRyMVkfSqi/Yl30 Dqxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774429710; x=1775034510; h=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; bh=wg4hmLMuZM7AMAh8JiXj2GkH4WkZAyqVPGv9vuptt9o=; b=SOJFLJkIK3aDvlNssHjPinDu8mFm7+au4Hv3s8BDRF26TuynJMujLmHxBX5Q9oQoov BhVyGMxSW2LJgZ65WAiyjFy1T73hB9x6haFrzyIbaZ6yaYElRDD4A4n6hIVN5NF9JqNv lBWgn13Ui1zKB22xWioWBinNo+Ie1xfz5JR72M2S9Pqenq/YMn8hdQQqAP2HEhj759b3 uWDx+SxmktKjepfP/nJRfCnBNYe8aLrPngH7bhlZ/+5XexObDMww5NQHju4mQhxpw0yz AHP32NM0ITTlAZImw/pMv1KlUiuPwI+4C+hr1g5Vtr+xN6OI45vZ3ewam12XMibsGj26 L4jg== X-Forwarded-Encrypted: i=1; AJvYcCX48Qe6HGU4aPHclNZ3jM4yGS5QtK4vYl+Q2bnMNk8BfTD9RGOMoY03I9cOcgbKZLvOvy4rFuEJMvdC4DY=@vger.kernel.org X-Gm-Message-State: AOJu0Yxv2DBIHs9sf4i4Kof6uBFVmvG5MmTbfN8O1xKl1o4jRRK26F7o enwrRVvQJjkDDP1Kom0aOjALiFQ35n0da8oggrISKYuc161a8wovqbVL X-Gm-Gg: ATEYQzybHA0eNMDMbNxoSh09aacncA8kT+saI2oNQH/JhFkPTkZb86tl2ezZBXJQkHM RmSnsqIG6ioK9jjQh+z/H5Fh39YNStOvPDLs24YS1ljJAwAefFiaBYm/R4qqOuEPT5g6Ik/AkfL rmXh55Git+hwj6ZoCRcPA6MUGhMJGzUQ802gvqEWMERU1z3LRRSNRU1eanxjbFi0hF77SKsvwTX Fvs15370XmUQE0KIr0ZORM23Yc4QcZE8hV7Tcdj/UnCXqxK1PyisNd+sv87nBsgzv2Ok5x7vH/5 Un9j6DuqPP0a4n8ToHtEDQrDc0s9tGCB/kvZxtYtr4kSRf6JpZNxipFKdaOotQN8yeXnf8PjkDf WtrdX8TD/aWYWel5WyiXU1j2ih1rQZrjG1MB+rejAWazqjXEu5Qjp7aHZgwTV+tL0XR03PyklDi TSWE4vi+wIk7M0Lnf7+wTTdiClj0HTuyoC5KaviQHGv7xh/knvll0+8p0DS9UKPGw= X-Received: by 2002:a05:6a00:3c94:b0:81f:3cac:38a1 with SMTP id d2e1a72fcca58-82c6de82b8emr2967488b3a.6.1774429710460; Wed, 25 Mar 2026 02:08:30 -0700 (PDT) Received: from ubuntu.localdomain ([27.217.83.168]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82b03bc6881sm17476982b3a.22.2026.03.25.02.08.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2026 02:08:30 -0700 (PDT) From: Zaixiang Xu To: linux@roeck-us.net Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, zaixiang.xu.dev@gmail.com Subject: [PATCH v4 2/4] dt-bindings: hwmon: Add Sensirion SHT30 series Date: Wed, 25 Mar 2026 17:08:08 +0800 Message-Id: <1774429690-129139-3-git-send-email-zaixiang.xu.dev@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1774429690-129139-1-git-send-email-zaixiang.xu.dev@gmail.com> References: <1774429690-129139-1-git-send-email-zaixiang.xu.dev@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add YAML devicetree binding schema for Sensirion SHT30 series. Use fallback compatibles for compatible chips and add optional interrupts and vdd-supply properties. Reported-by: kernel test robot Closes: https://lore.kernel.org/r/202603212044.BRPaiz86-lkp@intel.com/ Signed-off-by: Zaixiang Xu --- .../bindings/hwmon/sensirion,sht30.yaml | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/sensirion,sht30= .yaml diff --git a/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml b= /Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml new file mode 100644 index 000000000000..1b5ce822b37b --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/sensirion,sht30.yaml @@ -0,0 +1,50 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/sensirion,sht30.yaml# +$schema: http://devicetree.org/meta-schema.yaml# + +title: Sensirion SHT30 Humidity and Temperature Sensor + +maintainers: + - Zaixiang Xu + +description: | + The SHT30 series is a family of humidity and temperature sensors by Sens= irion. + Compatible sensors like the GXCAS GXHT30 are also supported. + +properties: + compatible: + enum: + - gxcas,gxht30 + - sensirion,sht30 + - sensirion,sht31 + - sensirion,sht35 + - sensirion,sht85 + - sensirion,sts30 + - sensirion,sts31 + - sensirion,sts32 + - sensirion,sts35 + + reg: + maxItems: 1 + description: I2C address (usually 0x44 or 0x45) + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + sensor@44 { + compatible =3D "gxcas,gxht30"; + reg =3D <0x44>; + }; + }; + --=20 2.34.1