Message ID | 20221111143921.742194-5-linux@rasmusvillemoes.dk |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp785000wru; Fri, 11 Nov 2022 06:53:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf6WXO/YiFrhEV6emvDkkrUzXPElMUOX0/FPrAzyeXQ0YXmfosVETTTpXSRGVgXaNRgRbqwh X-Received: by 2002:a17:906:d82:b0:7ad:8a7a:2343 with SMTP id m2-20020a1709060d8200b007ad8a7a2343mr2063494eji.225.1668178414147; Fri, 11 Nov 2022 06:53:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668178414; cv=none; d=google.com; s=arc-20160816; b=jNT6rmzGXZ87AnIBzVBrVlp025uU/aJKDqyuSsTPKeAzXx06DdQjVSVIOBI2M5pVZ0 VFItWcoR3PeVfkPNV32Bb6Kh95iQ8//vpBc3i2PWKRXj2NBNUIsMeLLMN4PFQENIBmxk bklruWk/p9TcPv9l7Tgh2LogRFGEJ6PFX6hRr2XclZX4nrL/Kp72nsh4fP+8eUo/5MwT i1xpEFTRlIwt2WS+fZJYWHk0kj9LsYKy4ZKr+CaNKQs6kXTI1vPrlp9CmzyWu0Bxo2b9 TJbRCQIr7iyB7aubRC59BGHkfixLV5LXXC4rLhVO0Rqwl48RPDuhH0i2XS02LNh0lS5I JohA== 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=8nUDZC72vgUX/+mjOceon1Lp8omkXG06DLgI5cBosnQ=; b=lKbf9bve+T9HstQVhuyOrAZlEng5i87BZ8yF50oKEwye+VjPECGIKkCwn2vxqwIVHm vWCQtf+COy2ZrLj/qUSyfNXbY6B327Btsm67JzX2Jutlj6HcRFIOceBZQndXAmxvLCfX vuZBnb1hnEWCZQFMMk7nB2QEfHYr1T0OoIbr0ZRnsnRA1LV3cPEdDNyjY3+YH/EldL55 R0dUQpfcDoGwNsZiXNk2DYWO893SUPyhihAizisvGuRsuXSnDVjgh7Dqkc0hRW7UvlrR wAUItHEiWdYBCzMWqk48XUvi8jDSJ/9/gmlIovB+KZJ99uI+xn5LGE1wiaym+56e2EJh CVTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=iFvwZclf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q1-20020a17090676c100b0079e1916c11asi1562748ejn.703.2022.11.11.06.53.09; Fri, 11 Nov 2022 06:53:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=iFvwZclf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234765AbiKKOkT (ORCPT <rfc822;winker.wchi@gmail.com> + 99 others); Fri, 11 Nov 2022 09:40:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234666AbiKKOjq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 11 Nov 2022 09:39:46 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 064BC65870 for <linux-kernel@vger.kernel.org>; Fri, 11 Nov 2022 06:39:30 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id n12so12942164eja.11 for <linux-kernel@vger.kernel.org>; Fri, 11 Nov 2022 06:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; 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=8nUDZC72vgUX/+mjOceon1Lp8omkXG06DLgI5cBosnQ=; b=iFvwZclfbIiKwXP++pqGCXBltsjAlYxG6Eg2T2fA6LMnFCV5dUD1qVPwaeCSWErf33 ekEzJFjqde0fdpIQCgmDy2gvE8PG82AcoO12V0spWo0LUtjPIH7vdyx9dsRZoPmkZNYf 604eIeEENYz2NPWEJYYEBCQKKihY8U4xDLRDE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=8nUDZC72vgUX/+mjOceon1Lp8omkXG06DLgI5cBosnQ=; b=MeaRanbZ5dmVZEcr7uMA93xraNjcSokRrTGNNLwx3Dt9q8+I4K1iSF6WyY/Nb+bWXI Sb+eNKyhXhaJl3NpqoP41YcIE+Gd0olvArosX4DwW5o1IhUUDvqPUkGTPega8533pxuE 7cNUlvqjp44Bcv1h+ApglhLW+vc95tKwRXe5p9sW77fLiaqmY9bfmqfyTnpv7jXtg5mA 90qAZn+EfZiYD8+FM+0l9otB76JNdq9ZF7q67ZFOuZOXr8IIqnCU7FYPEVJ+jQ7vsTBm z3jOzCNf2hyC92mFeHaq81RPNit4Pv+GDIBn23nkM2eZTfE2fGAsXDfL+A1BBvxMcNkQ Hykw== X-Gm-Message-State: ANoB5pnRiSP/rpqnDHVEtHepKewIceK2FSLPaoEL8ZZgpt/YLEyFtyE/ UbSkhnK8W0VljKCkgpav58Q1DA== X-Received: by 2002:a17:906:3d52:b0:7ae:44b2:cb7f with SMTP id q18-20020a1709063d5200b007ae44b2cb7fmr1982156ejf.437.1668177568980; Fri, 11 Nov 2022 06:39:28 -0800 (PST) Received: from prevas-ravi.tritech.se ([80.208.71.65]) by smtp.gmail.com with ESMTPSA id jt4-20020a170906dfc400b007a1d4944d45sm945886ejc.142.2022.11.11.06.39.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 06:39:28 -0800 (PST) From: Rasmus Villemoes <linux@rasmusvillemoes.dk> To: Cosmin Tanislav <cosmin.tanislav@analog.com>, Lars-Peter Clausen <lars@metafoo.de>, Michael Hennerich <Michael.Hennerich@analog.com>, Jonathan Cameron <jic23@kernel.org> Cc: devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: iio: ad74413r: add optional reset-gpios Date: Fri, 11 Nov 2022 15:39:20 +0100 Message-Id: <20221111143921.742194-5-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20221111143921.742194-1-linux@rasmusvillemoes.dk> References: <20221111143921.742194-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749211848931783871?= X-GMAIL-MSGID: =?utf-8?q?1749211848931783871?= |
Series |
iio: addac: ad74413r: various fixups
|
|
Commit Message
Rasmus Villemoes
Nov. 11, 2022, 2:39 p.m. UTC
The ad74412 and ad74413 devices have an active-low reset pin. Add a
binding allowing one to specify a gpio tied to that.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---
Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml | 3 +++
1 file changed, 3 insertions(+)
Comments
On Fri, 11 Nov 2022 15:39:20 +0100 Rasmus Villemoes <linux@rasmusvillemoes.dk> wrote: > The ad74412 and ad74413 devices have an active-low reset pin. Add a > binding allowing one to specify a gpio tied to that. > > Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> > --- > Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml > index e954d5ae4f4f..70f82cc716ae 100644 > --- a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml > +++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml > @@ -51,6 +51,9 @@ properties: > Shunt (sense) resistor value in micro-Ohms. > default: 100000000 > > + reset-gpios: > + maxItems: 1 > + Probably good to add to the example as well. > required: > - compatible > - reg
diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml index e954d5ae4f4f..70f82cc716ae 100644 --- a/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml +++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74413r.yaml @@ -51,6 +51,9 @@ properties: Shunt (sense) resistor value in micro-Ohms. default: 100000000 + reset-gpios: + maxItems: 1 + required: - compatible - reg