Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3296892rwb; Sun, 25 Sep 2022 04:08:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM75rN7flRjcbO9tsxOcszUOYPJOpW49HvTCI+WWfffAIkIghHQdaT1/4KeFBBnnEmVGQnEN X-Received: by 2002:a17:90b:33c5:b0:202:fa60:3765 with SMTP id lk5-20020a17090b33c500b00202fa603765mr31687484pjb.137.1664104136630; Sun, 25 Sep 2022 04:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664104136; cv=none; d=google.com; s=arc-20160816; b=GUeojNsy3QqQCyuz/EOmp2oWmWNE5sfK5ACocdcNMfTjBI+MLa+aTjLTs9/ebV6IPS LBghlB6dX4OyQS0Nw6UvONPGECoifP1/w8rSz+M9ywLfIwe7YGqmSRBqfXgXK5whpzso 1906AmW7ARfluzxFkzFNEFBxU2DpujYWETgHAH5lqNJVitkIEyTp638SaX7Q7K7cXm4W FsGexpVkcbBrHg+LLqJApoUIV41ekYMUl2pkgAKZ/zuZpx+3Nb6IzS1ysHtPN8sOegXJ tj5uB6uRJzzDTQAiWLbRj+0bfGfwjlGX7PunCEEZODBS4uhyCRbJfgyQhQElEAWqRKK2 5VBA== 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 :dkim-signature; bh=6qiFysm9YOq22jr+04Jj1ATXUz8nTarw0VSyiTjbRuo=; b=IwzFmNeiE1tZCGVnDr7G0BYfSm3LIS7fhMJ0gDPYwnjX9nQDh6SlEQA+EWJV+IMLK3 p6/jrXZYqCx/4fV0ShsOqeA06VAWk6mMRAJgwVPcRz9DKloAvAGDkCvGhFBOXx0h08nr kI6ovbxSAa50wnkwmnofJdSm5EIX4zUhO+//eG4ybNdj0+yIlXE+z50feAdw2TVl9uV0 zU1eglrWXi4h1NzLdF9g4C6axsYSzzH9r8+C8d32LqwAlbXT6vJgm9SjNdbSCpGnQ2ct JMUKEkkaHV84B2dJkFj7LQ92bX3k0d7AyFVVd2dQlKa5SG4HsZr9R4Jv8oK+iBNkh4sj 9stQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KQj4Lxpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pm10-20020a17090b3c4a00b001f3395b7483si8563949pjb.183.2022.09.25.04.08.45; Sun, 25 Sep 2022 04:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KQj4Lxpy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233065AbiIYLHl (ORCPT + 99 others); Sun, 25 Sep 2022 07:07:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232873AbiIYLHB (ORCPT ); Sun, 25 Sep 2022 07:07:01 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5959C31EEB for ; Sun, 25 Sep 2022 04:06:32 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id i26so6730774lfp.11 for ; Sun, 25 Sep 2022 04:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=6qiFysm9YOq22jr+04Jj1ATXUz8nTarw0VSyiTjbRuo=; b=KQj4Lxpy7J5c5gtfdn2MCnns59x82sYbZgv+SsKYGc+KtkPtQbxD9V5MkvijEtFyop jWaT/Pr8UzaITtZMpFladmxahteM8r9ioOmcbUY0Hjy0TLxqt3vdxo18/9pfQqOaaroh uShMvSt9QU+U9eIGk3G3X/dyK+m1Hoktrh8qT9X+EGLy/4lKUikwo+BoogkZE91S0/Sv JRTYnbzoRIy8bQWk4J0RsFOR8zOXWzX2rVVTnGsuO22Fm1uCqQnaR3LQl5utfJOJXDIQ dw/HvaUkKjlP1KrQ2iXnlStpbSIBfQkX/zwXzD8vzO23hplm+UiLWIur5cWzWr8s2TTw KcnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=6qiFysm9YOq22jr+04Jj1ATXUz8nTarw0VSyiTjbRuo=; b=5Kxkhk4ZXgErpUsmDg95/W6eBMfDLlxmxY5WQSV9i11rmAt50Ld5jz5STC+Z5MetBj 3i2JIdLmzLMbNzzKx/HOLYqTcj5LSOpFic3Nsb7WpljR3aPrITIxreJiFtKT19gbVzwe SB0keIfWL9XVN3oo1uKJM9Fj6H5e8+I4ugHYArG1SiF+UK4dYwNQb5xtuTK+eaJpAJE/ /1TtqGLzUK8PDSSlS0fOiyGp2ND8c6/dJTPJWMJpPnuqyI+rGCJoKLMP5sGm37cbRVsN JzEYwJ/c/tjlFd/ogHEtYjqCH34PsMZpHzIdK74J3FnIyUqCUjfq169d+4gTThN0m2Gr DXiw== X-Gm-Message-State: ACrzQf2/c9UVBEQFGiZilqwjxyl5bQqFB6PUf9DS9E07ahiqNDlG4Aj/ UZgp9mH1Wqowkk67KpjHNs91Jw== X-Received: by 2002:a05:6512:1289:b0:49f:1b3d:88c5 with SMTP id u9-20020a056512128900b0049f1b3d88c5mr6834604lfs.499.1664103989735; Sun, 25 Sep 2022 04:06:29 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id u19-20020ac258d3000000b00492dadd8143sm2177265lfo.168.2022.09.25.04.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Sep 2022 04:06:29 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 15/15] dt-bindings: pinctrl: qcom,sc7280: correct number of GPIOs Date: Sun, 25 Sep 2022 13:06:08 +0200 Message-Id: <20220925110608.145728-16-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220925110608.145728-1-krzysztof.kozlowski@linaro.org> References: <20220925110608.145728-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SC7280 has 175 GPIOs (gpio0-174), so correct size of gpio-line-names and narrow the pattern for matching pin names. Signed-off-by: Krzysztof Kozlowski --- .../devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml index 1db05c43d58c..2a6b5a719d18 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-pinctrl.yaml @@ -43,7 +43,7 @@ properties: maxItems: 1 gpio-line-names: - maxItems: 174 + maxItems: 175 wakeup-parent: true @@ -70,7 +70,7 @@ $defs: subnode. items: oneOf: - - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-7][0-9]|18[0-2])$" + - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-6][0-9]|17[0-4])$" - enum: [ sdc1_rclk, sdc1_clk, sdc1_cmd, sdc1_data, sdc2_clk, sdc2_cmd, sdc2_data, ufs_reset ] minItems: 1 @@ -132,7 +132,7 @@ $defs: - if: properties: pins: - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-7][0-9]|18[0-2])$" + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-6][0-9]|17[0-4])$" then: required: - function -- 2.34.1