Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp261211rdg; Tue, 10 Oct 2023 09:29:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFMfA5nCFt14+ZUdpe5FtRcGmhhBJb2t3Ej3TZpEXs9sgtsJlYipnom4d+imHzzmGpYfZ+a X-Received: by 2002:a05:6830:118a:b0:6bd:a47:7bb6 with SMTP id u10-20020a056830118a00b006bd0a477bb6mr18365259otq.14.1696955343652; Tue, 10 Oct 2023 09:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696955343; cv=none; d=google.com; s=arc-20160816; b=AO5YIFRBzCTnGwvQB5smZtmpikheTYtAZJs8zXQNE/PGVeVy+GBqKZeVKMPWOzTD0P +q2DPsHHofHFNUNjAMQFaZaJno1FPiOvbFZSya18E9sOyg7IGPfjBBMTYiMyuuoFzJir Hv/c7iaSpJoA+9V2YEPNyMpxNhp70N5gspyyxk3gqFoA4EGIHAk1AmPweBkdcQ3UFaMm 532tmdaAcidBZR7RJBmVCFzwrFU9fSd/XJ+Izn/sIv8LtvwH8JsOCi2yu87Z46aIjOf4 gxlcAeO9DJd5/apDmAqlJcmUmtJ5J8Ar61j1Fap0wZCRTeQTj4j0JqKYUbKqSB+A9jUY IHxA== 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:subject:cc:to:from:date :dkim-signature; bh=LQkjpmutDW2Q4Ye6k0hwpeMKDs3S0EfvNWznMQU/zd8=; fh=k+TzMPIY04EYmJzuoWtMSLUI8jHWsBvshuCZFh4nTPw=; b=ZWm9t1TAOZmFLSYbpqUkX9a6j10DbHfJQaRPM3pAUCcb6wwTaZdoiuPj4G7hB5/NWU RS+//ZQ5R20/3fBRoFA9acuifTnPQc8Riz0SkFlhw/tRrjGzE/ltReM+oOgQPrlLJKzs yNOk6rJfjlGH5Kp5apIQraUf/vBb/jgCGUmLNIAEpxvqPt9+yp8HkMre7+HS0VW6tDHY XPOoUVPM7AtgJO4YiQYVAj5MxKCZ9/t6PT/PebOps00q56qeSsYsBN1Tojt+lLKDWZ77 byZBgoq3APy63KL9UNf2+aTG1qwJQQkGXtOjtiyIdPYiuQfe0bVbYnW+Wse7Qe9ZOVnT Uapw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IUrtf2Zn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id v15-20020a63f84f000000b00578b9fb24f3si12506736pgj.633.2023.10.10.09.29.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 09:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IUrtf2Zn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 6F6DA81BB4F0; Tue, 10 Oct 2023 09:29:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232508AbjJJQ24 (ORCPT + 99 others); Tue, 10 Oct 2023 12:28:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233062AbjJJQ2w (ORCPT ); Tue, 10 Oct 2023 12:28:52 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8694F9D; Tue, 10 Oct 2023 09:28:50 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C5BDC433C8; Tue, 10 Oct 2023 16:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696955330; bh=dZZKpZb7/IrHqlUDIL57KB0JnLLJTBKUAfjmfWFKd3k=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IUrtf2ZnIH79dMMyNf+Ugws9XsYhHqEF5n1FQKToIOY7tDeeesubk3zQ4pwrpJcLP PQOp96npG8t6fluGUNlfcLCFdnMKSuznJEiULqz7zZpKgInNR4GSKiE03TB/0u4JKk tjNOUVEHWHVWhdKVtZvHkWPChZn+F/OqoccYYKL1yVLQDn9aoPNmAHQO4dauUuJ+UE OWB0Y8z6nWKopSrSvJCO+EIAaBIDdzZGsUC5Y3AIyBiv94vjkZ3VLg+VUUQfIUUbwu U+N1/UyOlxGI230H5ZNafLr8RZYHHmidVOvgStxEnLKzlyTDFsxg4BbnyjfNh2zdG5 oMSs5VDrcxPPQ== Date: Tue, 10 Oct 2023 17:28:59 +0100 From: Jonathan Cameron To: Conor Dooley Cc: Krzysztof Kozlowski , Cosmin Tanislav , Lars-Peter Clausen , Michael Hennerich , 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: <20231010172859.45efe481@jic23-huawei> In-Reply-To: <20231005-thrift-backer-d2f58a1bd441@spud> References: <20231005083650.92222-1-krzysztof.kozlowski@linaro.org> <20231005-thrift-backer-d2f58a1bd441@spud> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Tue, 10 Oct 2023 09:29:01 -0700 (PDT) X-Spam-Level: ** On Thu, 5 Oct 2023 11:41:07 +0100 Conor Dooley wrote: > 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. > > > > Signed-off-by: Krzysztof Kozlowski > > Acked-by: Conor Dooley Applied to the fixes-togreg branch of iio.git Thanks, Jonathan > > 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(-) > > > > 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: > > > > spi-cpol: true > > > > - reset-gpios: true > > + reset-gpios: > > + maxItems: 1 > > > > 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 > > > > - reset-gpios: true > > + reset-gpios: > > + maxItems: 1 > > > > 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. > > > > - reset-gpios: true > > + reset-gpios: > > + maxItems: 1 > > > > 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. > > > > - reset-gpios: true > > + reset-gpios: > > + maxItems: 1 > > > > additionalProperties: false > > > > -- > > 2.34.1 > >