Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp3266547rdb; Thu, 16 Nov 2023 05:14:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlc6wE2B0u3DmgaLZhghTNVHDfedGgKow/sucRYtX7QgLwvtitYqs2wWopM+4QVw5kO3OV X-Received: by 2002:a17:90b:1d89:b0:27e:3d05:418c with SMTP id pf9-20020a17090b1d8900b0027e3d05418cmr13901341pjb.22.1700140494420; Thu, 16 Nov 2023 05:14:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700140494; cv=none; d=google.com; s=arc-20160816; b=SpRUAfZCvtGq6qkAepG6sIMhoxcPlFB8aWYVY2qNqyfGMlB4ot5MKMe8RSprL85k3z YY0BTHzopXVR8LeX6+hOyd+axGJfEMmU9iKavyYYcg3wWi3VMDVnBaiG9N73Ju3LU516 iqZVGC0JLu+M2H0AgdsKgwAiu9ERAI5Z1zLVk5OErbwUjZvB9eWwRySC0McboPymhlTa yRHFJxaDPjnatGwm1y8O7Rh3eiSHO6g8nOGodIW2BDiIp7QtxZdGjQde4ulDxN1i34Pt bri+cI7MXiMV/h9Ney1X9+hO+J+dlBnBIrYyxc0f2Z8zmONnE6BbbEIpph1vL11C2AnM p94w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3EV2x8sNIePE4OMEQeslKV0/7KlyOI4zsqd0GErjPWY=; fh=luPfSu9+4iozTlgmS3+1lfpFIQhuXFQk1/LP08aXvMI=; b=qRt2XGAwyUaJ7O51tCBTtWjkP2VsCprG9gdUrXSKRaJILzot4lX43FCnIy0616zM1a 4Oq4+aiaW3CGtzt0J/sGr4XKLgDcB7E9wxBD6EU3QAHU9friDbFX1inbIzh237xgRxHO u4cHan87KWnja12gtQeXpqvFssZe9LUDgiFa+SacbNVV8bTuuP3sN10vZqk9U8Aorvf9 b/TrpDPC0JaOW4/NfO24M4lelnd+sEd4uDN0x8dRwY5Qzj8KMzdxVjdeptB3/FzosioY FRQbNpp6J6kKz21XbUaur9SdJt9BfT8gfPiM3APgoo0bzGkrB80m2MnwMEgtsQTAKfXz Metw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="h/+/7PBp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i3-20020a17090acf8300b002803af4c4f8si1955434pju.74.2023.11.16.05.14.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 05:14:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="h/+/7PBp"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 89B0881C9AFA; Thu, 16 Nov 2023 05:14:48 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231174AbjKPNOj (ORCPT + 99 others); Thu, 16 Nov 2023 08:14:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234347AbjKPNOb (ORCPT ); Thu, 16 Nov 2023 08:14:31 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84415D4B; Thu, 16 Nov 2023 05:14:28 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id d2e1a72fcca58-6bee11456baso703116b3a.1; Thu, 16 Nov 2023 05:14:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700140468; x=1700745268; 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; bh=3EV2x8sNIePE4OMEQeslKV0/7KlyOI4zsqd0GErjPWY=; b=h/+/7PBp6ovXQ5tb6UASbJJVWVmr0unisGsEYfIeYFXHeoegylepUDB4q4gvGm21y7 jISJ+ncFmvNJV3faF0S5UeTA/SW5TtpVlyOQvltDM6o/+qTfzbFrmV4SapK37dVoa5pm 3mkuJoRLzlIy/IQPrFtP5272WrA/wRi8/V3aN2E6Kjs8W28lLLCmkpuj61UK628n8HEG U27QeXLUMQ7O3aPLZtHq9gJoMdej3kW3cNz2hXO5lbUNfo6WRstQVERtoo7Eki4UQ/M/ 3Ompy2zDN9KEKau7wJKZl7vCaz8KlI1A+udr4E4lksRx0GWKGq380Hy9aAKHZOz+SfMC jSyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700140468; x=1700745268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3EV2x8sNIePE4OMEQeslKV0/7KlyOI4zsqd0GErjPWY=; b=wK7SaBEd3IKovp1HfhDMg4yjmvWvI2dGEaDn7IzTaQOoJFqSO+m2Lp6S/YdZaEXlv2 8jyrXiO2Y9m1zqVIlQzLyA1gSRejtbjz+UkNpx/TFB+a79WAti+LNppxOCXr9LaD0dYo 0HBGVxq8l44o/p89aAHlp6UbmA+V4TEjn7kQE+sNH+LlVSFCa1DfcK5DaMO6ChpkMnm7 XMpNiW6fSXdtml0mZ2y7t3TSqvc1dIl/qK3BJq8jA5REn2uGGUiwPEiAmkj7vpMb1RBd 3hp8+H4RsKG1g1PHGMaPyS76TfXUofTvwY8je29eq+BpHhDy5uFJPI/co6XCwqvvuhz4 gAzg== X-Gm-Message-State: AOJu0YwEuza+BQYBC6SBoPUMCJT+2LlwTR8tqsfNTQO5cinUwBvp19s8 N+wOoiCSp53aO52UZH2kia4PNa16h8zyPCpO X-Received: by 2002:a05:6a20:daa0:b0:186:bd68:fa95 with SMTP id iy32-20020a056a20daa000b00186bd68fa95mr12835516pzb.22.1700140465723; Thu, 16 Nov 2023 05:14:25 -0800 (PST) Received: from dawn-virtual-machine.localdomain ([183.198.111.40]) by smtp.gmail.com with ESMTPSA id o18-20020a056a001b5200b006b2e07a6235sm4440540pfv.136.2023.11.16.05.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 05:14:25 -0800 (PST) From: Li peiyu <579lpy@gmail.com> To: jic23@kernel.org, lars@metafoo.de, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Li peiyu <579lpy@gmail.com> Subject: [PATCH [2/2]] dt-bindings: iio: humidity: Add TI HDC302x support Date: Thu, 16 Nov 2023 21:14:07 +0800 Message-Id: <20231116131407.13860-1-579lpy@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231116125433.13285-1-579lpy@gmail.com> References: <20231116125433.13285-1-579lpy@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 16 Nov 2023 05:14:48 -0800 (PST) Add device tree bindings for HDC3020/HDC3021/HDC3022 humidity and temperature sensors. Signed-off-by: Li peiyu <579lpy@gmail.com> --- .../bindings/iio/humidity/ti,hdc3020.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml diff --git a/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml b/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml new file mode 100644 index 000000000000..8015c4bb5b2f --- /dev/null +++ b/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/humidity/ti,hdc3020.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HDC3020/HDC3021/HDC3022 humidity and temperature iio sensors + +maintainers: + - Jonathan Cameron + +description: | + The HDC302x is an integrated capacitive based relative humidity (RH) + and temperature sensor. + + datasheet is available: + https://www.ti.com/lit/ds/symlink/hdc3020.pdf + +properties: + compatible: + enum: + - ti,hdc3020 + - ti,hdc3021 + - ti,hdc3022 + + interrupts: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + humidity@47 { + compatible = "ti,hdc3020"; + reg = <0x47>; + }; + }; -- 2.34.1