Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1987182rdb; Tue, 20 Feb 2024 13:15:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWLX+b10IkSX0FIx7HKbzWWeIqdmKnEF0iguDnM3k5KBLjVrO1brG/hZGpdYU+TGz6OQYtMrXytO7Pqef2WkN+7cTErdB0yda8GUXkqgw== X-Google-Smtp-Source: AGHT+IGwp6G2fiIG1UGo/H+aQ8JjsS4/aEZfm95S2A1oxfrI0xY8Q1gRHS9p073Xk7q6c2e6Ua+f X-Received: by 2002:a05:6830:12d4:b0:6e2:ed31:40c8 with SMTP id a20-20020a05683012d400b006e2ed3140c8mr14696965otq.37.1708463748818; Tue, 20 Feb 2024 13:15:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708463748; cv=pass; d=google.com; s=arc-20160816; b=V+4gXj/xGgQBky40eimiXtdAO3YH2pXmJc5JjU9Gkowz790DEOVgBsAbjF0kBBXMcC 6pyygG8bSKTfQtMlpumTYBbJAbKuqTK0+KfgLllyBigAKdL7pGhDBiqtGv2riG66e/MN 1qIzV5gMNT45s4cYM1/YuAtCwvQxGBGW7zc6yk7w+GRzeUn3e2vYEsLX+dDaFwxmt0z+ vBt5cfwh6cTvRM4xvqBpALfIShmjmnMjh6C5XWQyPHOiTLZxs21VDms2fSiwJwXw60wG TWtBd2xS6F+9h9bzUVzhBVMnRV2zMQj/bWra0NcAGYuXCzcODiN79soNECsvko5Cn6nG q+QA== 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=sjOh/UQPhwu1ysWxAs0vISEfQvcgjub2FXkP8IJA4e0=; fh=t2dAfjxy7IAfR6wzqqMXeeDt0ZR8fiETXWESzLzzLpw=; b=cokbIZ/rtmsgTi/IfM2vdkgxBhIAe2wkP4kP2IkHE00WTLaM4lcxgmVVnICbaCEvJe YPIHFW0CoWBkfzrl0EgW/RHbaqmKsUUKnVJ5OrpvGZGzB72NLHr8nI259Tkop3R7+AdV /K4N96Oh1MMWoE3MHZ1tRawjjQ/73Q1DO9c+DKisdhowP68mG6noFvwvvJCZmnCmxbFb PilJ2ksMkwLeSCYn5CxSQWk8E/hjc18+95EIOIxyUMFKNwQlFgaUiaLaBTmaf2PMDTLS iG69bRVYrCe3bR9AflKOICspNXX9UR6HChIt1ZPtPCq11b8dJhf66JPmPnl4pqfPrLnZ FeEw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e2pP2Nv4; 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-73718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c26-20020ac853da000000b0042c41cfd192si9178537qtq.205.2024.02.20.13.15.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 13:15:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=e2pP2Nv4; 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-73718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73718-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C9641C21CBB for ; Tue, 20 Feb 2024 21:15:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E310B151CE1; Tue, 20 Feb 2024 21:15:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="e2pP2Nv4" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (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 57080152DEA; Tue, 20 Feb 2024 21:15:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708463706; cv=none; b=NCxukVDc2OQQFH9juRd5IhLATPOldUP3XqEdGBOTe6+bBXW1azb1cTzy9YJePGfs6nsGuSLNblrd5mq5GxP40xc0PS0+v0lNp/+qpS3lLXHzL/3eIuKf1VkfzPBNQJm8be983Ol5+VkGj64IiTaPmoEBecPi2SrW8tILPxFCjew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708463706; c=relaxed/simple; bh=plh10VuMojhQ7wzSifZveM3iRuWPqiS+3GR/CvVqCLs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=WmSEeOw3JDkXXDydDKzb6uXsjMQsFk8NI2HOh0aLSPJrTh1vY+usMgTG26+Zbgn7/87oVmrPC+qz/G9Hi3777MeelnYrOJRxdwtjSfBeNd+YuTpwUbeeWaMgCVSvJ0FFWCyfu7r53DmfW0ZYm4Np6wK0NV3+/G9h4dLSv1QYMTI= 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=e2pP2Nv4; arc=none smtp.client-ip=209.85.208.47 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-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5643eccad0bso4806151a12.1; Tue, 20 Feb 2024 13:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708463702; x=1709068502; 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=sjOh/UQPhwu1ysWxAs0vISEfQvcgjub2FXkP8IJA4e0=; b=e2pP2Nv4AGLS5XYkLBXkAyY7MuzJHYu1Yv1FK2VzX0Pis3NQu8hlala7tChDY67qR3 EoDM2Xkl61Gzn3qeXwBCa8ndMVdYXPbH2OYiu/fG82PDe2MBvsHcX+FBltnX+6oi6y+A Jx60Nb4jfStB5q3B2qGxaLDV0L1mpgNX6taKoHg9Bb0A074iZ7a8NP/WK1GM9gIj72QF bPfjvVt3K0VmBSUyHTDrOyn5NntORT8IqNLaeaTAefahNTwZ0epHNwbojv14mo+0OdT6 OYQtiMVTUb9Uqh83qCmKN+eniCTmyypB0REA8tLS4zQ+wXmkwvcjSbv4OOdSKLeI5oAB 9+aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708463702; x=1709068502; 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=sjOh/UQPhwu1ysWxAs0vISEfQvcgjub2FXkP8IJA4e0=; b=gbUz1F7OKXnmtsART5AmSmgDZguNjlmB4F5nTJAK5KrBoQhR/f2t+BTWXOVpPzdT9Q aza5jEKYPW2Pm1OvJN4+9sDknubAReBlIDkR76R+VjEDzfmCRv6zgKdnK6UZfrvdRnSK X7mpsCJPox9IGkpxIqYPnikkYKJg0sf7zczYxQegp6ZmApd4MlmsVad6rV6kjt07BVYU 9WqjDQV4oprjwsZ6MBAmMNyLAV67Kb2zB2dpPD57wHG5M7oT4SQJ3s+GSSACPfv3w/Pn qM7NmbRxsq/sm9syClE8TWKPDSdq7PGTONUuDGI4t1R7t0NZgP6vhpDuK++KgnxKMdQq Q5jw== X-Forwarded-Encrypted: i=1; AJvYcCUm67GxJTHLs4RkAtIcCQopepFptS8fG2ohjoiNvFyR1oTDuWWWY+CHU1MjDoVGv6NWyrCwf+j3giVPFvPFQFdtSSwv75XrQ2tJeoAyyULAdYSxXreWZVF7nr8EheZXbF63GLLk9kOGe84e3VzuV+T/o1FTzqnO7qN6vUC+qaG2YH39OQ== X-Gm-Message-State: AOJu0YxgD/4f8+s/QZVddBnrKOfd56yyDUKBC6SfvWUoVQXgHmMV9eC+ TzJBy+azRSggg1kex8MR5faKn1K4nM3yJOLTcYVJGKUY7nR+xJbBZm+DFARN3vuG5w== X-Received: by 2002:aa7:c746:0:b0:564:5764:a5df with SMTP id c6-20020aa7c746000000b005645764a5dfmr5123925eds.27.1708463702035; Tue, 20 Feb 2024 13:15:02 -0800 (PST) Received: from [127.0.1.1] (2a02-8389-41cf-e200-d60d-797f-077b-a805.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:d60d:797f:77b:a805]) by smtp.gmail.com with ESMTPSA id fj21-20020a0564022b9500b00564da28dfe2sm538137edb.19.2024.02.20.13.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 13:15:01 -0800 (PST) From: Javier Carrasco Date: Tue, 20 Feb 2024 22:14:57 +0100 Subject: [PATCH 3/4] 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: <20240220-hdc3020-pm-v1-3-d8e60dbe79e9@gmail.com> References: <20240220-hdc3020-pm-v1-0-d8e60dbe79e9@gmail.com> In-Reply-To: <20240220-hdc3020-pm-v1-0-d8e60dbe79e9@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 X-Mailer: b4 0.14-dev-8b532 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708463696; l=1261; i=javier.carrasco.cruz@gmail.com; s=20230509; h=from:subject:message-id; bh=plh10VuMojhQ7wzSifZveM3iRuWPqiS+3GR/CvVqCLs=; b=GnHgNYg80trx+7eLcOPnsNYdIJ2vZx6nca6RTKiHYbyHH3jh27qBRlTPMMFma+e7xFCerehSP z8LVP7UwzbHAbubqJa3vMx7GA6S87moFCcSpP78Kd4LA1gcDjBCnDfU 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. 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