From patchwork Thu May 13 03:33:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: cl X-Patchwork-Id: 12255125 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E1D6C433B4 for ; Thu, 13 May 2021 03:34:32 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1866611C9 for ; Thu, 13 May 2021 03:34:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1866611C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2pDsFy1/YYzgFzjzCO0W1LEFb3TXIkxpVbdruv0R7BU=; b=CSVhxZB6EojYGA4Xamfv8InaOm DJyEwHmuyS0L4Fr3ypl+SCmB+PJnaWvCNYgQvKBwE0dclMRGKSt3tIyo7S85M0yvFDhKT9xjHVoJ9 UwybKdtEjR0AE9ZMqn+qkFtSo34kEH0gXHFiGdYS//d6hvK1sVWBN9fnAxFRMii2CWeDpwys6yJmi mSX6Vqg5+sg5IyYU31k7ELGNFqC/8E9ON1ZRGxbblWVZ8YWMHx+cyoBAJg46f7QsoG1mtJ+bsLm2r YiVuiZljvmSo4rqOfhexpjdlpuYiuuQ55Ek94oSJdDfrixrBpDEn0sUGAvE41SK/kLjL+ymmFOZQW 9KKuArRw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lh27F-004chN-QI; Thu, 13 May 2021 03:34:25 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lh271-004cfr-1c; Thu, 13 May 2021 03:34:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=References:In-Reply-To:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description; bh=b1paN47hJkLJSOf584nlFdp8ERniY6JMpnmLnXPeviQ=; b=lorBLMxQJmecIsuQywvWhQjA0a gRDM+anMN32tNU+p91dA9WhZ+3Gs1enBnl2ca+xqbiMDpCaPpPZgCtCBtF0JhXvMNb/brDT63yHoT eJh+iA9uDtrVJNSFJJbdfZpjiuUe5C6fF2Wxjk4rU4Dwm7gSVpG0RZP5A3xDwp5/pH7Qo7VIJNej2 +yqFwRS6PwDHdrzUU1ACVqGWHSb39RgPHCIqoG1cq3QHOSZqKsymYDZlx8fjGv5bvVSeeKq27hbnH rLSnAvAS2TooQBk+kahEULq4KJIKMreE/bD3Mr1Yd2DkVwLhZjcMAml3orrou9A4oCCSuiIHWnGS+ ZOKeKeIA==; Received: from lucky1.263xmail.com ([211.157.147.131]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lh26x-00AzAv-WD; Thu, 13 May 2021 03:34:09 +0000 Received: from localhost (unknown [192.168.167.224]) by lucky1.263xmail.com (Postfix) with ESMTP id D0640BA0CE; Thu, 13 May 2021 11:33:58 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-ABS-CHECKED: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P12381T139987660035840S1620876834871090_; Thu, 13 May 2021 11:33:57 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <9e628830b7c19a64fdc016674d074f56> X-RL-SENDER: cl@rock-chips.com X-SENDER: cl@rock-chips.com X-LOGIN-NAME: cl@rock-chips.com X-FST-TO: heiko@sntech.de X-RCPT-COUNT: 30 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 From: To: heiko@sntech.de 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: [RESEND PATCH v4 06/10] dt-bindings: gpio: change items restriction of clock for rockchip, gpio-bank Date: Thu, 13 May 2021 11:33:51 +0800 Message-Id: <20210513033351.17879-1-cl@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210429081151.17558-1-cl@rock-chips.com> References: <20210429081151.17558-1-cl@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_203408_236479_A8081686 X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org 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 | 6 +++++- 1 file changed, 5 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..0df147f 100644 --- a/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml +++ b/Documentation/devicetree/bindings/gpio/rockchip,gpio-bank.yaml @@ -22,7 +22,11 @@ properties: maxItems: 1 clocks: - maxItems: 1 + minItems: 1 + maxItems: 2 + items: + - description: APB interface clock source + - description: GPIO debounce reference clock source gpio-controller: true