Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1512739lqg; Sun, 3 Mar 2024 13:55:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXnh+vWkAiTKyfdK+4aNn0b6+meo0y0TqtQTfueQJtYQ8YdnonmngEhZUt44Jpwf0g1wcyCgv1LfD09cchOw/zvluzB46KxtHF3AjIAvg== X-Google-Smtp-Source: AGHT+IHOXS/FHrEdVG013EPQMT5hYOvoBo2N6tUME9xByzBnj7kOOxHqAfuIsAVaJcearh+5O5TK X-Received: by 2002:a92:cda5:0:b0:365:1f5d:31c9 with SMTP id g5-20020a92cda5000000b003651f5d31c9mr11212682ild.25.1709502903869; Sun, 03 Mar 2024 13:55:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709502903; cv=pass; d=google.com; s=arc-20160816; b=mDiKM0O+0ZmHEg5EcuMlIue5fhCpu6fvn4jGxHfgXCBXkANb4BlhW407D1sQi8pkcB S/Vr6INDVBrGOL6rQ+sY63V9dTNa0ZiWTilXPzgKanF0QsZifGQwYdlDSN8456yAMVCK TQ9B7JUaw8epEr7qd2MY7gT2QLj1olhwK+OYD7vgqZWL7jEU4trm6XPU6GJQmyXMFxzj tDcMtP3N1Fwqv5Og6RMUzHQJak/xWtDEdKAhKLYqkY6+6Kc31AuPi67JcjEleuXAqnHB J9O5Pn0XRsbQ0qxyD6O9mwix2K6cJk/gynAYhW/9xPu3Dex1ua8/Mx0xDh8VG4E4G/Tc W9sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=NYWBE/cU69IZWYVF1QnqRyE+9E0HjWVFlCV9Txn1TiE=; fh=g1jGx5Zknou6ugi8woAlwhH6YH08f1kQnuZY5UF/+SE=; b=o6mB09V9m7B745ozYLNWc+qed2C31yRSr8hjHIOjl3qzhyTQdzbEOneZJmjB/8UxqX 1weJsXIlkYHO1dGqCjZDnEJGXX17vQmvJEFq9LOGLBWgKjQYXxWzNwS6Xicnlz3qiK/t 8Hy6/DmkTWQrp8NRgokU5RhN3fl7FjrwWtmNgMv2lztjQfrQkV+VDmlZfQoR8dPhc26k LWrXzwb00LX/WJEinqeC3ATEZunNvTfWma/8FiX8v6da3Pcp3BI4Zb5gZRL0fgkJ90bL YSmMo+yYiB1qbA/EF1fSy8qVwCJ2+NTQaR/CKy1HkZO6tKjjK8oL1ryKt0Ydsy8mePgC ED7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cLqBTsJK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s7-20020a63e807000000b005dbd253d1ddsi7028730pgh.871.2024.03.03.13.55.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 13:55:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cLqBTsJK; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89920-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1C6E2B20AB7 for ; Sun, 3 Mar 2024 21:55:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D04C7B3E6; Sun, 3 Mar 2024 21:54:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="cLqBTsJK" Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com [209.85.208.172]) (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 E5BD27A738; Sun, 3 Mar 2024 21:54:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709502870; cv=none; b=X+Z3yHJN6SZuNcfOAaaTWzMRqbrKYBIJA7pgKz7VquZLMAC26sx6StIEelCpQebOYmAmH9qNwrr/CLbMKi7C1SkPAgp2Map4jkGm7vDSy+JksfLgj/W1ozSTeZ6NtbGY6SynBpjdIWpDTdTcOMHH2yPQ3lpHFlPqE2ci6q+s1HU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709502870; c=relaxed/simple; bh=FyoFAj3XNHmn1ZPjLNGWR7C/mqk62+JmZYN8Us3NcAA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=sNtN7xWHVM1FXrlGoDGNocQir/+s3Kr4mNQiWnC2Ak03Zypq26QMF7seWgzGEJW+aj9y+F07j2TmMT6nrdW8s3gE3T7iLkliIadGQ00j7vqo6l2dJdSOblIfngLXvC+/ij5YrwKBg1gT1HAlz2n9p0i/sEJVv24BmP4rdQGMQfw= 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=cLqBTsJK; arc=none smtp.client-ip=209.85.208.172 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 Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2d28464c554so51613111fa.3; Sun, 03 Mar 2024 13:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709502866; x=1710107666; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=NYWBE/cU69IZWYVF1QnqRyE+9E0HjWVFlCV9Txn1TiE=; b=cLqBTsJKl7BkkD8gAi5g/33jlytYWDXZOkjiZq5NvuXfLXgSPJ/LAByg6Acj0W02Go 3v487MEiTyD1OGOKepZUJpH1n6Jd7COMyubiBmSWXF1Anjy3AYYK4vxvsQuflvjJlkQD JAWjhMKgqqdkFewyMsL4ZHklnKMnbN3bWqxhMHkuVXzemnKdZm5LULR0YrLAKgW41MVg ZZGWlwNzkx3GepHX1QVYIqJBMRejtJq0S8Wf1BwL3SPzdC5byulA5wh7t1tiud9xxFSe 6Ej21Wptzb2FVcMMSnMnbviCl6ulQh+Le/0aeZqOeOdsf5qVQD0/RhI2GlfeYMQIQG++ q0Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709502866; x=1710107666; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NYWBE/cU69IZWYVF1QnqRyE+9E0HjWVFlCV9Txn1TiE=; b=i0EHo8lSPty6qai0WZgLDvO1rC9AyPBS0xHsIUZA3vn1FQ0UxAXSLxFtQSYedusr07 YqWGq1ypPotjVPvyvj74QnERR7GD9JLT7z+LXtu2vPVnlheo41RY/a4X+ZX4nBk6oUaG NXwRkFOTWyS0UQGZoJ7qP7+HSf8Z31C8ZzEBKDUp9fLja+kMu/4bHpouHTil0fu5MG22 UlvGQi121gxSKIg4siEr4amHrCVk2XhKKO1k2/GPUdMh6iPMdFq00y2XGIWdu5QjlAdI oEekAgZ1zBfWqwlQoUYNmagwHQ1wfcgFw8PgDfKd3VmB7codHWyNKSnoZF2V5FKpkY1V /ZAg== X-Forwarded-Encrypted: i=1; AJvYcCWnHm70ikBC/i9KmPs2XkgAwPBEt8ty6w+J5a4iMx7qlmIClrxwMAnYf76zHozlu0/g4fdWg5Ny8MNExIfeAldDYXkm+xaC1ZP8Tmq34QmryJyR8okWVbCt0TlBBzwufODz07CDFyKcGyykD1YXjlSE6ezUKDELsflCM77ihM9FUA58Pg== X-Gm-Message-State: AOJu0Yz3wzSiR8WlRjii8A2MDFCboce2zbG/2+kIxMpkL7/NZahd3++k 35+zx54C/tqiVzOgbPCx7Zirriti49O8ukZAgWdWkW/ViC0Ax1gZGhcJdud9GjnXyw== X-Received: by 2002:a2e:95d5:0:b0:2d2:5668:3a40 with SMTP id y21-20020a2e95d5000000b002d256683a40mr5024483ljh.4.1709502866415; Sun, 03 Mar 2024 13:54:26 -0800 (PST) Received: from [127.0.1.1] (2a02-8389-41cf-e200-b3d8-5b4b-5188-4373.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:b3d8:5b4b:5188:4373]) by smtp.gmail.com with ESMTPSA id n22-20020a05640205d600b00566d6950d14sm2783250edx.92.2024.03.03.13.54.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 13:54:26 -0800 (PST) From: Javier Carrasco Date: Sun, 03 Mar 2024 22:54:21 +0100 Subject: [PATCH v3 2/3] dt-bindings: iio: humidity: hdc3020: add reset-gpios Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240303-hdc3020-pm-v3-2-48bc02b5241b@gmail.com> References: <20240303-hdc3020-pm-v3-0-48bc02b5241b@gmail.com> In-Reply-To: <20240303-hdc3020-pm-v3-0-48bc02b5241b@gmail.com> To: Jonathan Cameron , Lars-Peter Clausen , Li peiyu <579lpy@gmail.com>, Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jonathan Cameron , linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Javier Carrasco , Krzysztof Kozlowski X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1709502861; l=1328; i=javier.carrasco.cruz@gmail.com; s=20230509; h=from:subject:message-id; bh=FyoFAj3XNHmn1ZPjLNGWR7C/mqk62+JmZYN8Us3NcAA=; b=uWOq6TOxCi+og8LiQrahRgzmKnOlQnEdg8sgoANEyUEdYybucjlCulLDtM+CS453cuqlnIR8D R+mXaOkGRUGADzz/Lk6X9eDCVw8Wtbx7+IsF3v3V9Zz3GyxguVrCrII X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= The HDC3020 provides an active low reset signal that is still not described in the bindings. Add reset-gpios to the bindings and the example. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Javier Carrasco --- Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml b/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml index 8b5dedd1a598..b375d307513f 100644 --- a/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml +++ b/Documentation/devicetree/bindings/iio/humidity/ti,hdc3020.yaml @@ -34,6 +34,9 @@ properties: reg: maxItems: 1 + reset-gpios: + maxItems: 1 + required: - compatible - reg @@ -43,6 +46,7 @@ additionalProperties: false examples: - | + #include #include i2c { #address-cells = <1>; @@ -54,5 +58,6 @@ examples: vdd-supply = <&vcc_3v3>; interrupt-parent = <&gpio3>; interrupts = <23 IRQ_TYPE_EDGE_RISING>; + reset-gpios = <&gpio3 27 GPIO_ACTIVE_LOW>; }; }; -- 2.40.1