Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp350965rdb; Thu, 5 Oct 2023 07:48:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlNtm5gtAnt0EAOgRJGE77cFNQaU4CihmZn5Y95b7J5yUY+Eb8VWpsUeExd5k25kgOi9Dy X-Received: by 2002:a05:6a00:14d3:b0:68c:5cec:30d4 with SMTP id w19-20020a056a0014d300b0068c5cec30d4mr6515262pfu.27.1696517289875; Thu, 05 Oct 2023 07:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696517289; cv=none; d=google.com; s=arc-20160816; b=MTYfjJhVPebyNBwEqEgA9OmC2Kix1ujisVBPxe2UU3mSGgE0mt1UpQwD31K/g1JXsc YrXZMKvNzAIsIbAVwL1ncD+8QkfTa0QEP6Xmf1iZ/R6dT2ANUlFbhwHFJ974uG+hgNkS DtxNgRdJSc33fJAS6q8hcb2UQESVqXIERiq7cMQK2ndizrbj0TXeOMYDZDVEkTsuUw2J +4l/w3wjYqZRgxNav5hJw1YMZYL318Kwd+HNUSCjfCNA5ZvUrfsbrNHBzirtALtpVSM/ Ku1mmByLc+C9Z1cP7+YuJqdCIdSJ9gb18iV8qqr8xjMybX0y4JyEajjoM2bLV4of4l+I U21A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2Mps5joAVydCqIv11kTBu12y7TBPaWHrcQgYWRbpGDU=; fh=GYkyG1ZNhxJKhQJcbqlgOYuoGAP2pbzgIPrbJs/BnMs=; b=y2OgKYyNrh+eTsnwyawPubLcQUX1bcARn1BkQLl2V1cIbLelxk4fwe89NzKd9Jq7+B okNvpoyDETxA9rR1g0h9V+eNZ97hCiQaI0rV9mtmffcQV8YBu/u/sZGhl7THdwKOMWv0 dooquOIjb3u2LFWIozv6lVtLawPtXqtbx2RW9bVPnNNHpiSMQbkVeU7A77OX7mK3co8e meFN+Uib3hVM1ZfB0xMGIcVmpqBujr2ciuhB8HNsP0hJNhj7jERr+GVBPyKOg7FKM4/g 4T5ONbB8zsMu3mtE7zFWhx6jtLN3Y5NTYkzdK/XnBnOXs887ttOjXLkPWwF+pf0uB+lN sVwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TY0lOBAN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bw16-20020a056a00409000b0068fbdfa7379si1464788pfb.311.2023.10.05.07.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:48:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TY0lOBAN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 5595E8702788; Thu, 5 Oct 2023 07:47:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236903AbjJEOqc (ORCPT + 99 others); Thu, 5 Oct 2023 10:46:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239240AbjJEOmD (ORCPT ); Thu, 5 Oct 2023 10:42:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C430D8723C; Thu, 5 Oct 2023 07:17:37 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5929C3277D; Thu, 5 Oct 2023 10:41:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696502472; bh=H7QsAgn7LBwCWmNPERn7PZ2ivqiRzZN2vcLos6zUMnQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TY0lOBANpSJ4TxeMou7VuKThItJptvQjXX0Y0Xu3mm8YmwEPszlJJ/MErAikK+n+i 6RDZ256+EU1mMXcXp+m0dIfqL0OhbR2Kl4eSWJZGU/vt4mQLO2voPdAxoPvhU3Xt5L 1Hr2NsE2qLzE5QIYoRf5V/Y5ZEtMkoiLYz5xxe5Jf3GWZ4EKntLhjh579aBa2g4mHV cS6078ZODgR38pDzNZBBxUF05eOIKvqcKLTjWxGoG7VC8UvTIDaE2KMl7FuGA+dxGL R02VNMyywG036Phd8x3Hzc+UGj+99bvQBe9Ro+c5p2xcrAbgGU+zo+LRkbIOw5yR7f NLNUy1TO7x6fg== Date: Thu, 5 Oct 2023 11:41:07 +0100 From: Conor Dooley To: Krzysztof Kozlowski Cc: Cosmin Tanislav , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: iio: add missing reset-gpios constrain Message-ID: <20231005-thrift-backer-d2f58a1bd441@spud> References: <20231005083650.92222-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IP8sdSnYW24Jv8+L" Content-Disposition: inline In-Reply-To: <20231005083650.92222-1-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:47:13 -0700 (PDT) --IP8sdSnYW24Jv8+L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 05, 2023 at 10:36:50AM +0200, Krzysztof Kozlowski wrote: > The Documentation/devicetree/bindings/gpio/gpio-consumer-common.yaml > schema does not enforce number of reset GPIOs, thus each device binding > must do it. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley Thanks, Conor. > --- > Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml | 3 ++- > Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml | 3 ++- > Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml | 3 ++- > Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml | 3 ++- > 4 files changed, 8 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml= b/Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml > index 2594fa192f93..2a04906531fb 100644 > --- a/Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml > +++ b/Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml > @@ -32,7 +32,8 @@ properties: > =20 > spi-cpol: true > =20 > - reset-gpios: true > + reset-gpios: > + maxItems: 1 > =20 > interrupts: > minItems: 1 > diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml b/= Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml > index 4e508bfcc9d8..5121685337b5 100644 > --- a/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml > +++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5758.yaml > @@ -78,7 +78,8 @@ properties: > - const: -1000 > - const: 22000 > =20 > - reset-gpios: true > + reset-gpios: > + maxItems: 1 > =20 > adi,dc-dc-ilim-microamp: > enum: [150000, 200000, 250000, 300000, 350000, 400000] > diff --git a/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml= b/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > index b9b5beac33b2..5b6cde86b5a5 100644 > --- a/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > +++ b/Documentation/devicetree/bindings/iio/health/ti,afe4403.yaml > @@ -23,7 +23,8 @@ properties: > maxItems: 1 > description: Connected to ADC_RDY pin. > =20 > - reset-gpios: true > + reset-gpios: > + maxItems: 1 > =20 > required: > - compatible > diff --git a/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml= b/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > index 2958c4ca75b4..167d10bd60af 100644 > --- a/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > +++ b/Documentation/devicetree/bindings/iio/health/ti,afe4404.yaml > @@ -23,7 +23,8 @@ properties: > maxItems: 1 > description: Connected to ADC_RDY pin. > =20 > - reset-gpios: true > + reset-gpios: > + maxItems: 1 > =20 > additionalProperties: false > =20 > --=20 > 2.34.1 >=20 --IP8sdSnYW24Jv8+L Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZR6SwwAKCRB4tDGHoIJi 0gJnAQCE6henlUKuR+rKeIPonoiRNWu9XupZ7JL5eHFos8uHxgEAsfvRvMaMcYu6 ZlvDaY0cp2AXNAKJL00y4ydHUa3tSgM= =Kzfj -----END PGP SIGNATURE----- --IP8sdSnYW24Jv8+L--