Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1560601rbb; Mon, 26 Feb 2024 13:26:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV0lhgIPgiMVS/ovkp7JS2NCpcm2lCiGFAfNqcq8/kiWV2rM3grunvLfoz1mhUVFuNQk1mPLgRnH0jzMOnuyjHYy2gnG70US6K5LdU0dw== X-Google-Smtp-Source: AGHT+IECY9xx3J2BjXOB2n/J5gEx2TZIy31F7six+rGZElKJI0ZdaTRp2/hS3QAVeNci/Mo3NQx1 X-Received: by 2002:a17:90a:6f01:b0:299:75aa:8949 with SMTP id d1-20020a17090a6f0100b0029975aa8949mr5536212pjk.22.1708982797450; Mon, 26 Feb 2024 13:26:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708982797; cv=pass; d=google.com; s=arc-20160816; b=VLQmKwUtJ983vQpiM3bbT6w0WsIyQtw8bj+1QbR2gYlYf51vQrRh/xTvwc9mNrXKQ8 1vX8NvT7/bHSsTOgTTb+lRYm/QkMklX2duTHSKEIchMf3D36st7ryU8ydseQ6aJeW2Fp 4pxHxyrdA3H/l/c/7wQfxmnI06/99RtQTXazazQsfZYnc6K6B6eBCH5gTYAaD36VoWHE sWSIB1t5yDdjn6upiTOPy+0q913EKt/7yXtA6655oScMayPaF+4iblg8/Q5FJUPYHkxS zSuXKuOjeOjPwXnQmz02QgfDjjdwmjv/cYxyuYHx8wqVGaHCbKPHoJWAe3p43wSSmJnl eKLQ== 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=JdAvqZL+tZ2G9ICW35ca50n4ZSMMOiwVXNZ37IVQ7Uk=; b=lMB5lhLKiiL5Cac2pogpCJJ8QXj72JvFn0WVQv/fZfsyDlEsrCMrjWFClUk693DJgH JPGTBDJ0fLYIyZVa6P4sHNPiovDDFx5RwXXCd7d5zvp5CFKV4vTfymqHPqzbjZt7wvZC MNO9PmrsTOvsSsvdR0y5Y3Ooo/ffn30HRtx0VJuGds/KE7MAI8DhI1AkGNCOT4aq9jk7 nzO2IyYfgkWJZgVeWCuwXbqsVBOP4/wIxrTvLTf7WhA2FbsUPDl8GEprioYrkx0qvBrC 61JEKm4g2OGLpYv8npeOzzIRxMDcFoPfwUjGIpjyJMdnkRU5xKA+ACf6nQ4jHCi0UzLQ c4aA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hswmQevp; 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-82336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82336-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pa13-20020a17090b264d00b002992db5a4f6si4337843pjb.101.2024.02.26.13.26.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:26:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=hswmQevp; 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-82336-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82336-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D2FF428C48E for ; Mon, 26 Feb 2024 21:26:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 487BC131E5A; Mon, 26 Feb 2024 21:26:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="hswmQevp" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (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 C3FAE131E24; Mon, 26 Feb 2024 21:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708982764; cv=none; b=nrAYP0iNccttNf0i3qxWeLNOP/nLyVh2JMwtg/VYq2F0L2w518P6rzmkj/LGYp5arWsJEsEKK91ZQz0ISmaR2wUED/S+MC+2KHSOhnZ0I2BRaCw3QvD0yGuS40fmOniO96XyxV6J4zTh0I3yg3SkJb9PFdaPTIg9jsJsbN6CWb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708982764; c=relaxed/simple; bh=plh10VuMojhQ7wzSifZveM3iRuWPqiS+3GR/CvVqCLs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=TVQzkhlMafoMwEaTmP0CWOh7JDKTke3u7ce7EO7LY/TkJsK1LDw7F8Qjz8YVKjO0UtPQTaIZNlMtJJdo4VIJGEZfxu6Nj2IvM+0iCAeXE2ugX3QDgUYMP93CkLPPKPZPQ7rpUT/s+xVO2kBjcQb+5sBour8Ov/0KESza+JDN3dI= 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=hswmQevp; arc=none smtp.client-ip=209.85.218.45 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-ej1-f45.google.com with SMTP id a640c23a62f3a-a437a2a46b1so121673066b.2; Mon, 26 Feb 2024 13:26:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708982761; x=1709587561; 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=hswmQevpCXznZZRXJOrjwBeD358Zz1R3m/9wtQmGbxsGL8vzHW8LxvKf7RiP3RyET7 jmDrrMldC0Ue38Ey0RDEnPwgAx6Qs/UwKPxiix/NIKJUSeIRtBzac6Mov2/VRUsrZ1Wt w8/qWo+A7mmKqPNzIhPowC02dKkKwZifuH+Z7hcn7Yxj6Lx0hrAuvHJQkvMiBSJKe6tK QYM6Xg/OOh2zwbpwx2do2tz8A8bmxIyDWAfLSnlMYjmbqXn/OgpIDsQZgPnwvBY/JLkO m7dEKkbTaKaZInlhdY6KzWPiPU9V34KHf73GHcVhYW6okndadg7RrxpVJxR/5ZzDNQDs TRkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708982761; x=1709587561; 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=qO0oPfrM3JUlQIkQIq3DS6Ct8oW6PytpMAbCo3IDogxwH+0SgJMgkYC1//jK08KpHz O3T5edNMJVGJobe6wmkjO9cVVYeBfbUrdHnR/ML6N0LcsbYfWAsDPPMfCOEDqgmswzgv +n1cJ8sJ+0Kbzd8Xj2mTEEHjdZfLtW9dO+wJpQBW6OOr7y+Na22//J9lK7mQfT03XsfP eAkEVGX74fhQ2A7oiKO1R9ETV+ZX2WMFcB/FBBRY2VBrDMmQgA6Rx46ZWoFGB+dr2bZ7 93sfObggLAIIiVpKJQOQTLD86Yvff8AEWEZdL5mi38SVExEF/zUb3ShBVGr6QxIJK4dW MKqA== X-Forwarded-Encrypted: i=1; AJvYcCUQHmU8rrnbhnbOmICuKfGet2z4FewgH8p7Z1rF/S5a5EylzMAk2ZWP/gM9ncTRM/zFlAL4XzCDKht1Hlu8AbOczXmNbwMnRHD3M6nVpjwPsOXCuKYP3Cch1qZ7NGJ/L5mB1ThbPtHZdquMzxin99sL2bHbh/D2sflEt1T4q6+ZYfoS8Q== X-Gm-Message-State: AOJu0Yw3r6iNCvtjPuNkT7oPFzTuoM+m+P22sRzG08AWLeZibugZMrqR 89oD23RO/MVWS2DDboJco7Ei10kkEVkPSw+Raz/wb/qkrk9/e8RbeobzUdUAEjQQ3A== X-Received: by 2002:a17:907:bb8b:b0:a43:827d:53c5 with SMTP id xo11-20020a170907bb8b00b00a43827d53c5mr1533588ejc.32.1708982760734; Mon, 26 Feb 2024 13:26:00 -0800 (PST) Received: from [127.0.1.1] (2a02-8389-41cf-e200-06e1-5ae1-dc32-d149.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:6e1:5ae1:dc32:d149]) by smtp.gmail.com with ESMTPSA id uz28-20020a170907119c00b00a3df13a4fe0sm122386ejb.15.2024.02.26.13.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 13:26:00 -0800 (PST) From: Javier Carrasco Date: Mon, 26 Feb 2024 22:25:56 +0100 Subject: [PATCH v2 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: <20240226-hdc3020-pm-v2-2-cec6766086e8@gmail.com> References: <20240226-hdc3020-pm-v2-0-cec6766086e8@gmail.com> In-Reply-To: <20240226-hdc3020-pm-v2-0-cec6766086e8@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 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708982756; l=1261; i=javier.carrasco.cruz@gmail.com; s=20230509; h=from:subject:message-id; bh=plh10VuMojhQ7wzSifZveM3iRuWPqiS+3GR/CvVqCLs=; b=9SlNqWHXPe8gZiGxzTnvxP1t9rXDzpK4ZkSCDpUJuK/rEz6XW+MjTwUjiLJodTrvCOAYagqLI 62PvWnClLJgAz033D7FPtwe+AzbpuZ4ieEo2ZUZRu7WTxQFVnpi7ylw 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