Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp296461pxj; Fri, 14 May 2021 03:48:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwe61SPk2/l/xiz4CwLGJykPh8NZPcH8Qcw7ujPiuR9mNJVxGX4qE8a1fapd6AhhK25K74u X-Received: by 2002:a17:906:2482:: with SMTP id e2mr48046982ejb.212.1620989282109; Fri, 14 May 2021 03:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620989282; cv=none; d=google.com; s=arc-20160816; b=y+lkScFM13uMQvTKI1nyl6Yhr2GYhwnWoCssopXaTl4RZS9X830R8w+l9VvJ5u7avL So7V8Dia0rAq//jPM5d3QwmBBMY1iOKiPn5IFSzzgyPmOIdv4KtDzAGTlvbzgGIBcXEz 226bVUnIRV/mcdBxdUla7NbX88oGhgdO1wQ6AIio3HRP368PNRE+FzdUgpzTHpkuxa3c dy5F66ufL4YFkIFuwtIMqx3I/W3diW5KjqkbCLylGYDK3P/qiTVP/VKOs1Yh5sHvSDFt uz+gG2ZwRiog6wWiuwJMSfz9Cj19GsgsvUu/zvNX6bGXjAg1r45imCPsfTjNyNWvd0Vd MD7Q== 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; bh=Hd5DQUxNI1yAI6Q0oyaRDpsRJtfrtO9x5rU4anWM5qg=; b=nNqsUminlEbBMJuS20U+rK3cfdkzBTY9y9/8NDMWDeYEeXpETLXAMZRdEuhEfLJYWC znrELpHCnqvcoQKalYlwPgIpw5XDLMy7FQoDAAi3Rh16Tq1DfEqGXuV8Nje5XHkgzsdW +2bq1LrQkW/oCI5+h/nmxtOeqph8nw+C6Yu3sv7GzlC+F9u5iGAKXfW2t6VpgT3xhhnB Rd/imZiA3jSwW6ka/o7OkVYVCRN5Ow8ck3p7zQQdxtZ3Vqwe2JxDaBWsNMIycEBAYf+B 8tc2P7CsJXE0KwS5mfpadjjS/U3hdHQpDpHJSvtW0vNR6pEfv+xzqO1G8GyB0KecJjZP Rr9g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si6439880edb.70.2021.05.14.03.47.39; Fri, 14 May 2021 03:48:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232959AbhENKIa (ORCPT + 99 others); Fri, 14 May 2021 06:08:30 -0400 Received: from gloria.sntech.de ([185.11.138.130]:42638 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232431AbhENKI3 (ORCPT ); Fri, 14 May 2021 06:08:29 -0400 Received: from p5b127fa9.dip0.t-ipconnect.de ([91.18.127.169] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhUia-0001yI-9m; Fri, 14 May 2021 12:06:52 +0200 From: Heiko Stuebner To: cl@rock-chips.com Cc: robh+dt@kernel.org, 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, cl@rock-chips.com, wim@linux-watchdog.org, linux@roeck-us.net, jamie@jamieiles.com, linux-watchdog@vger.kernel.org, maz@kernel.org Subject: Re: [RESEND PATCH v4 06/10] dt-bindings: gpio: change items restriction of clock for rockchip,gpio-bank Date: Fri, 14 May 2021 12:06:51 +0200 Message-ID: <5026524.44csPzL39Z@phil> In-Reply-To: <20210513064606.18397-1-cl@rock-chips.com> References: <20210429081151.17558-1-cl@rock-chips.com> <20210513064606.18397-1-cl@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Donnerstag, 13. Mai 2021, 08:46:06 CEST schrieb cl@rock-chips.com: > From: Liang Chen > > The clock property need 2 items on some rockchip chips. > > Signed-off-by: Liang Chen this patch should definitly move over to Jianquns gpio driver series, as it introduces the usage of these new clocks. Also while the single-clock variant definitly doesn't need it, I think we may want clock-names "apb_pclk", "debounce-ref" for the 2-clock variants? Heiko > --- > Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > index d993e00..0d62c28 100644 > --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml > @@ -22,7 +22,10 @@ properties: > maxItems: 1 > > clocks: > - maxItems: 1 > + minItems: 1 > + items: > + - description: APB interface clock source > + - description: GPIO debounce reference clock source > > gpio-controller: true > >