From patchwork Thu Apr 29 08:13:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: cl X-Patchwork-Id: 12230711 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.0 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 16696C43470 for ; Thu, 29 Apr 2021 08:14:19 +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 6FF6961419 for ; Thu, 29 Apr 2021 08:14:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6FF6961419 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=ZfSlG45HfwWimHFQZLOtnv+DvXSqbJHoHwItxwN079E=; b=XhxDAW/fJFVLSvu2buDP8ASm0y YrYmRFKF+SmYuTpiV/s/hVDfpeAVHdTjj46BMiL1baNNpyZlMQBpM975UY6sIkEJzHM411Wq3yLaz A2WqNOskq76uRjQxc1UJn1/BW6lELbFKBs+RYpFq4nuM3h6BvHlTE7hgT9Bg6i/JH6G6LIFTkHX05 DXhisj8+zyMWRHwY3tBnZ82c8NO3vDpCMuFzhGaihVt+wfYBzHAVVLc8DOjxXzmA3Xya3FQYEAfFo S0hoXf54Xp3JlOAe4ROU02KDo33kn2w4kU1XgF+qet0o8Tb7fPaJPZnrzcA7pl5g3YUVVpjAChEDK cKiw910Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lc1oK-005Gvt-OW; Thu, 29 Apr 2021 08:14:14 +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 1lc1nP-005GYR-H9; Thu, 29 Apr 2021 08:13:15 +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=++mkiVdYfLYGy9uKWfS5r+EscaRVpxQOQhC8KovZaR4=; b=21Dq0Ei6McfonD7erGUeOylfQ2 xDmwsAn5xawyG57FMJ+dYodsVHRYnRCmYWTBGGe8iRPPIDmCfqag5f7NTJLi9xYPEn+v8y7AvhbH8 vsO64CkH3JUI/hyzZZh7GF9XwqOGFULJ3M+mKIS3s6ZVDMv3PNGuPkTHkvWZ62TJiOSx5C2OcWlEt rCXNAMq472UCWAyVIOd+p6HkOvCyzJdliOE0fAJL6/wzpUwQ37VrAceXZK1lhAPlxufHp/gH6UtUk js/n/hD8acsBZEmx/t8Yaz+vFX81liGjBa1A/RDW9xJ/eKnqztwkG4VWXNtTCc7+TUDmb+J4BSU8N VlL3lLqA==; Received: from lucky1.263xmail.com ([211.157.147.133]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lc1nN-000Tj1-25; Thu, 29 Apr 2021 08:13:14 +0000 Received: from localhost (unknown [192.168.167.235]) by lucky1.263xmail.com (Postfix) with ESMTP id 721D5CD927; Thu, 29 Apr 2021 16:13:11 +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 P2750T140649275836160S1619683988244514_; Thu, 29 Apr 2021 16:13:10 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: 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: [PATCH v4 06/10] dt-bindings: gpio: change items restriction of clock for rockchip, gpio-bank Date: Thu, 29 Apr 2021 16:13:06 +0800 Message-Id: <20210429081306.17784-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-20210429_011313_263934_60C9C41B X-CRM114-Status: UNSURE ( 9.57 ) 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 | 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 gpio-controller: true