Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp692134pxy; Fri, 30 Apr 2021 14:16:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzq3oPxtrYb9L1SnkstcNJYGuj6l4QmIUDOn8CROGXUausyqCkiOSgWdeozHCbf/xRzKek4 X-Received: by 2002:a17:902:122:b029:e8:bde2:7f6c with SMTP id 31-20020a1709020122b02900e8bde27f6cmr7113930plb.29.1619817385535; Fri, 30 Apr 2021 14:16:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619817385; cv=none; d=google.com; s=arc-20160816; b=MS6deUdXPUnAB+yEwNJImM4FDtWFFrOmCyJq63aBJcr1MdYQVqN8aqS9vlOAb8Iu7I H4+SvDodpR1nAFTKFOIE5CIDUIk+CbDXdfY62TDzeba/2JWyzVZ+hy2eps0c4TFNczJT jINoZHiBCVc5YDsFXy7TR+OelKszfrCoJoBRnWuOnq7svApZOkhyoPt/bDSUJVVyQvsP lCEpwaP87ajBxoH6RZivcQTo3S6zr6rsAM1mmIryrCveO7WygQjQLNKrj+LYbAdvUYCp C/EzoPF895dWbZ7GijNAz0NYVyS8+QnHGD035Cz987XxgnxJc5M0yrjn36Pk+WkgqjbW 4MoA== 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; bh=VxUW5OdCWJGNzSLfVlPjiWNNaJCqr+3fTpTcrVSH4ZY=; b=qs/UVHN6HDJEgniFAkqAC2BG/uGjBwqtMV2wThi8crRaQvWvIdhWsN71YuT0qYRxvV EM6bOweSQQHH68wwz7PZ/abdYaaJIUnSVq0VzSB9Cr+I0iE6Ie59W2O/uGr+j4AZpH1j G1aFh/S39PvxvgCKi6sYiPXb4oKeWrnhVXSc35/4n9iDTDaza+w1FbI6g+lxHtHngKpg pceL6rpHCQlk02BpSzF2V5DBPWVtRC8XEm2hNuvj54JcaLvO6wJT8y+2d2N9I5RT+4v+ L5EgJ3BFRougIKQxHxrlSiFQzx2c69D0CxGYAS/wQON2niE03FKYGtJUF/3okzGTOpEG h5gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j16si3915697pfi.301.2021.04.30.14.16.12; Fri, 30 Apr 2021 14:16:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236229AbhD3VQI (ORCPT + 99 others); Fri, 30 Apr 2021 17:16:08 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:34331 "EHLO mail-ot1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231136AbhD3VQH (ORCPT ); Fri, 30 Apr 2021 17:16:07 -0400 Received: by mail-ot1-f50.google.com with SMTP id x54-20020a05683040b6b02902a527443e2fso14548307ott.1; Fri, 30 Apr 2021 14:15:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=VxUW5OdCWJGNzSLfVlPjiWNNaJCqr+3fTpTcrVSH4ZY=; b=PZZB09/iegdW85PRkrkiqjtGX4AXDr1XX1zxIxa6thIjfelTqKu0M8cY9nKtS2s3Za lqG14U0YXLU9yVIzXoCxFKtQA+szX4+EJSMhg7309YQXazVLfmjO3SXPU2YS2UNPJD8y yaFxbkUn0rKk1VNIOCLRhQTBIhTBKrBB521n6poDpcK08G/JbOKKO8we99EWAaVuS0TA v3ampVwcxGwmH3YTLeFH4nDibqRgpaylALNTILt9DpidEs3DgOqPTyg5sUoNQMZx4UFL QDLVHBWwUCqTzHGXoRUP5TSMtQ2Yv1C7bdXgVFOg1S6djNCdsvUMp6LRkV+5X5jIx9MP wDGA== X-Gm-Message-State: AOAM531SERGEv8iIEZCEgaucm1vR304QJoXq2OUpEDFPaZSyi3Lj3MOW iXMW1rE4vCW+5FzfrMNyow== X-Received: by 2002:a9d:630e:: with SMTP id q14mr5179477otk.69.1619817317126; Fri, 30 Apr 2021 14:15:17 -0700 (PDT) Received: from robh.at.kernel.org (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id w140sm1098248oif.42.2021.04.30.14.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 14:15:16 -0700 (PDT) Received: (nullmailer pid 3907199 invoked by uid 1000); Fri, 30 Apr 2021 21:15:14 -0000 Date: Fri, 30 Apr 2021 16:15:14 -0500 From: Rob Herring To: cl@rock-chips.com Cc: heiko@sntech.de, jagan@amarulasolutions.com, wens@csie.org, uwe@kleine-koenig.org, mail@david-bauer.net, jbx6244@gmail.com, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, jensenhuang@friendlyarm.com, michael@amarulasolutions.com, cnsztl@gmail.com, devicetree@vger.kernel.org, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-i2c@vger.kernel.org, jay.xu@rock-chips.com, shawn.lin@rock-chips.com, david.wu@rock-chips.com, zhangqing@rock-chips.com, huangtao@rock-chips.com, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, maz@kernel.org Subject: Re: [PATCH v4 06/10] dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank Message-ID: <20210430211514.GA3905898@robh.at.kernel.org> References: <20210429081151.17558-1-cl@rock-chips.com> <20210429081306.17784-1-cl@rock-chips.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210429081306.17784-1-cl@rock-chips.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 29, 2021 at 04:13:06PM +0800, cl@rock-chips.com wrote: > From: Liang Chen > > The clock property need 2 items on some rockchip chips. > > Signed-off-by: Liang Chen > --- > Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > index d993e002cebe..7b3fd2975c74 100644 > --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > @@ -22,7 +22,8 @@ properties: > maxItems: 1 > > clocks: > - maxItems: 1 > + minItems: 1 > + maxItems: 2 Need to define what they are: minItems: 1 items: - description: ... - description: ... > > gpio-controller: true > > -- > 2.17.1 > > >