From patchwork Sat Jun 24 16:01:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JuenKit Yip X-Patchwork-Id: 13291680 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 39B29EB64DA for ; Sat, 24 Jun 2023 16:02:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229445AbjFXQCz (ORCPT ); Sat, 24 Jun 2023 12:02:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233234AbjFXQCa (ORCPT ); Sat, 24 Jun 2023 12:02:30 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2049.outbound.protection.outlook.com [40.92.89.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3581C1BD6; Sat, 24 Jun 2023 09:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aZexbc2+HkrRTHDedhVgXfReX+n61Gn8w3Py6K7GsUuMT1Bj702rlPBp1ReEQvDgi5Xphz1RhnVxmlOckQUwKkT4GYzZT9v4E5pdjlnJzisAnQqLtkzjOCk/A90FPZcHPtGXVf9yqwUGsmbV7G2GkPVuBQg+C3/g3rZiczcjKSRtTcotw82WEuIWKVjSk2xIzIdCVSm34XFEmrPZLgb8mSg1Q/9Qqd7tnNMbYl8V8dzGa2rGGqKiN9FjEW90B0QaoU4IIEnJyFFL6c/sW50GlJmhNSJHGlG65X8xCRQTgXnob6/ltfU+f4QNgMr4zKEuZfuX59yTlIy8Do6e7MbX7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2e9HJZCoQUV7mmtKPw/q+Qk7W8Q2v2DjbJwMZYYEp3M=; b=ggj+2ualM48RuVOt3SR2yjN+81nMTg8+CEtXku9UivGFzNhv8CbnPPVBLqLpY2Ryh43TnYMpLFdsuNzVjAjgzMf/cTL8pyMpCbBCVLo9ItF6A8uvIGVNrglI4DBy7edzOUTfd8YePimWWnI+WQxXQDIcLWxzIj+701TqU3O7AVIa0TQ9AoccPWWLOAPU507PzDCdkCnPBpDfxPkUKkzBjYa5G43inz/5tRMvKC53JMeq0keqxS8dZ8j3VnYKtoDceukMCVcVIyFg/pYGQDcCH1ZH9pSvLAzl2iGyvEc+vtcBxB1qiDW36jgiNwnABjlv26yObboBky9ptH2fYz1hRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2e9HJZCoQUV7mmtKPw/q+Qk7W8Q2v2DjbJwMZYYEp3M=; b=OZwcfegCzf+otEu2BnqaOhh/vn/FieVTeweDh3iONQOvsBphq9JRJXephhJXQ+bYKQ9THQMuxMF47rlBBta0HnCCmUD9LabUQ97NfPtrTnuLfocfwJU5LPjHRIRn+V+a/Mlt6fyHjp3RDXW3v0QOKA6vzYy5PU1FU5O/iRDbIlrSqGvlhzWkxCPU/fZhcxDPDekpar10pAz0P0Ip1gSXIgUxTb9DsWXyrd4mv8mCFM2O1TVA2TyYpz9edHXon6m0rRia/gyv45Qq5EqRxHCbOcXOzQ13vmaUbrOsQS2hZotNJunXHNQf/hGyFOrfTie0FHPCGSBhonzUURROBjWEUw== Received: from DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:383::21) by AS8PR10MB6102.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:570::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Sat, 24 Jun 2023 16:02:26 +0000 Received: from DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM ([fe80::628a:d617:46f:2a88]) by DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM ([fe80::628a:d617:46f:2a88%7]) with mapi id 15.20.6521.024; Sat, 24 Jun 2023 16:02:26 +0000 From: JuenKit_Yip@hotmail.com To: jdelvare@suse.com, linux@roeck-us.net, krzysztof.kozlowki+dt@linaro.org, conor+dt@kernel.org, broonie@kernel.org, vincent@vtremblay.dev, michal.simek@amd.com, geert+renesas@glider.be Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, JuenKit Yip Subject: [PATCH 3/3] dt-bindings: : add sht3x devicetree binding Date: Sun, 25 Jun 2023 00:01:48 +0800 Message-ID: X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230624160148.218786-1-JuenKit_Yip@hotmail.com> References: <20230624160148.218786-1-JuenKit_Yip@hotmail.com> X-TMN: [b0qT3Nkq/x3z1OTN1gB7Mg4hNGENkDoB] X-ClientProxiedBy: TYCPR01CA0136.jpnprd01.prod.outlook.com (2603:1096:400:2b7::6) To DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:383::21) X-Microsoft-Original-Message-ID: <20230624160148.218786-3-JuenKit_Yip@hotmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB4PR10MB6261:EE_|AS8PR10MB6102:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d975e2d-e0d5-4bc0-cbb7-08db74cc676f X-MS-Exchange-SLB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axQkn3RmbcF7jM/fHokkPKsDkHBxoYS7YEaXLIC7/frY6706utG4LKRGFThW7WB2i4uxJnzdb01Pdpw1mzhkHyfjPHmFBaitNuJDMRGetoDCfCRZRSNfeavwNTMmGFHQEBoGqyzsLZju5tVQz2jlhEDBPlulfHoQBexunbGr9IJMMWIYAGoPqEvbgC8KZJ/28/7QS5cb8Gu0rNqtg+cimP7v5Dge6JMosRdCGfpmll5wfnHxXgG96oMR0L74PHI/ajwd9Y8JtKIe/4LcyPN6wm4i7lm8zBFRCP1PRQDAQIp5DEiINnODcqTsP3yNzoRPMqm+GBvft/ffDOgAJXA4DdkZbi9LwfkzsJRytjZG990ChUjQbLi3A8M5PhdzNxUMf+0t70x/JBGRHBC6AAuIbGttyRMZjf8/91vce+WM0aQNUz06SEa84wctakl3k/RSEq3Ch4gNPB0FAqR9nZMOh6Tw95l1SPu7W1mhqGA5inrIh25mYLMUASSaIeHgJ/ZILUmaeh0cxnZwqcuOdewaWzXNwHBIziJ4lUNFUX4SXc6s6bLaidduBektMo3Ojb0MBknLZI3qw/Blbb+mgA1uiWo= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-6b909.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3d975e2d-e0d5-4bc0-cbb7-08db74cc676f X-MS-Exchange-CrossTenant-AuthSource: DB4PR10MB6261.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jun 2023 16:02:26.2937 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB6102 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org From: JuenKit Yip add sht3x devicetree binding files Signed-off-by: JuenKit Yip --- .../devicetree/bindings/hwmon/sht3x.yaml | 31 +++++++++++++++++++ .../devicetree/bindings/trivial-devices.yaml | 4 +++ 2 files changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/sht3x.yaml diff --git a/Documentation/devicetree/bindings/hwmon/sht3x.yaml b/Documentation/devicetree/bindings/hwmon/sht3x.yaml new file mode 100644 index 000000000000..8ff0b8d41f91 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/sht3x.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +% YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/sensirion,sht3x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Sensirion SHT3x-DIS humidity and temperature sensor + +maintainers: + - JuenKit Yip + +properties: + compatible: + enum: + - sensirion,sht3x + - sensirion,sts3x + reg: + maxItems: 1 + +required: + - compatible + - reg + +addtionalProperties: false + +examples: + - | + sensor@4a { + compatible = "sensirion,sht3x"; + reg = <0x4a>; + }; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index ba2bfb547909..b2369d1fad68 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -331,6 +331,10 @@ properties: - sensirion,sgp30 # Sensirion gas sensor with I2C interface - sensirion,sgp40 + # Sensirion SHT3x-DIS humidity and temperature sensor + - sensirion,sht3x + # Sensirion STS3x humidity sensor + - sensirion,sts3x # Sensirion temperature & humidity sensor with I2C interface - sensirion,sht4x # Sensortek 3 axis accelerometer