Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2046944rwb; Sat, 24 Sep 2022 01:55:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6STQWRNYokFNScklQ5OacPPOdeWPmkb/7in0iywZVabiZb45hafnTjvCwk5puQBjt/Ss0o X-Received: by 2002:aa7:c610:0:b0:44e:9a0f:753a with SMTP id h16-20020aa7c610000000b0044e9a0f753amr12151011edq.140.1664009708868; Sat, 24 Sep 2022 01:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664009708; cv=none; d=google.com; s=arc-20160816; b=j6uCu7+FdTK2L+L41WTpcw672gHz5nxnUzmX9JCdFODjXALRu0RYf9m+Fs2JKgLvgp mm19IFiKxlRAPVyOgECCw6wwLyIrM1yw4N6ZyTerRcfholPAg1pjWPqYmgeoowIx6uDj kdioYrmzbOlOHhTfaWOGSqFCqM/cHrEykastp54UaSh4zib7bDlG10ki6LTHrBz9r1ev HI3/y90LBdljVemhh78szgIDUX/R3GirmbMNKmPW94KCU2fMBN9kWQFFIFCVS8bVvGbj RkEto2R7nBuzPOH0w2gM0ZqM9JV4NKkrERRqL6y1HLssM2SLxsRdZhk4UbYu8OFknSQS or8w== 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=7FqghC6uXqvYVM4jUoLVE3N8bLSjgKHMBRM6ctfL5lI=; b=ZSVIDZFJfXUBL2hX6YyrtZe4bgN4T0CKtB4xx4S0tD7OnYa4UKUN5cdAKxeIuRumcB HrQOR3iU/WxOY63g6cf1D3OAt+lJ0ys3xPk7ADquguqsBDNdTBYFZRtyg3F4J34wxke1 2ws+xdR1d29eI1Ddr4hqTDXALqD8IKT3TA+BF6nRJ2judx1+FuBUnSS07hvtM1nt2OZC ZZ4YFEe9/LL72PD1+hXQHZEwGb2p0VDriZZDPvDhWHdAsJYyvDqaBBugS9QPgHwIL766 sJTwN7bbf5gUq61TnsaPrDOC4raFiJJ9ZtiByWdY3B5B2YX7fT5FH7G0ELcqFtUgsfp2 ikPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="MEP/t71E"; 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 sb15-20020a1709076d8f00b0077afe48c791si10167729ejc.538.2022.09.24.01.54.44; Sat, 24 Sep 2022 01:55:08 -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="MEP/t71E"; 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 S233715AbiIXIGF (ORCPT + 99 others); Sat, 24 Sep 2022 04:06:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233645AbiIXIF2 (ORCPT ); Sat, 24 Sep 2022 04:05:28 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 052FA120582 for ; Sat, 24 Sep 2022 01:05:20 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id k10so3534458lfm.4 for ; Sat, 24 Sep 2022 01:05:20 -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=7FqghC6uXqvYVM4jUoLVE3N8bLSjgKHMBRM6ctfL5lI=; b=MEP/t71E71QXsD4bHfaWQbje9pDNFGcxqBpMonBslOH3sAiXdDkf+tZppxfnc+QCPr 7bhEABuCGLGVRS4NIsBK0Gw579nLbriNEnbLIQ0wTOHssUtejJRiyEMTaD/SHPjylw3S R8AOcIZSnORpjg6DhlN3WE96R8Gk2jcJ2ZVba2CzM0jwtmJsnORuj64h2PKkfp7pJYEn kDE+/sontiUNYIPjpDAFGIeCLp12etihHXzg2MueKmW0T5ILOsj98E5m4TUHx/C2FIJ3 FUTqBHp8lx82bIMdOGg8rl0Mshesf6Tbuj9K9gPAhdmrPX+Q8A2EPkuiSvaYHx3Rwi5h XYAw== 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=7FqghC6uXqvYVM4jUoLVE3N8bLSjgKHMBRM6ctfL5lI=; b=cigxY+egDnO/agnrhRzB63z5KVXSw6b/rTguYJCS07LTKmnK3iVvlauqNMAvCQg9u+ jJJk+BPy/dXQnfE1GOUCQL3LRMyUwcaXhwT5QE4yDc6JvJ273leHUqKElvem0YLlI+wf Um4v/GRuJjwIF/lkaKkFLQzOtNR49/y0UI81gBDzJ9P72d4BHaXcZ7InY+1D2aveGRg7 zJNsr7R4dGLou3tD8RNNeTpQi8PBXMUeIxE3LYUiClc7Kc/uhEZ+i/PzPKYHMszcKi/q tVDwWerCj9CQgGovcdjzQ4sjHuhXeXCOt1iYYIzRmAISR1GVU6T0lltqSpxMo0wSexBQ LJJQ== X-Gm-Message-State: ACrzQf0U6sAHgnfK/2/RecDEN/m/UEBQd0qjBci9DojsojxW+k9Er/1p liHrEO2P29q/UwA0hLS/dq4DRg== X-Received: by 2002:ac2:4d2b:0:b0:498:fbf0:4f89 with SMTP id h11-20020ac24d2b000000b00498fbf04f89mr4619853lfk.500.1664006720473; Sat, 24 Sep 2022 01:05:20 -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 y2-20020a2e5442000000b0026c41574790sm1696668ljd.30.2022.09.24.01.05.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:19 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Sricharan R , Stephan Gerhold , Shawn Guo , Vinod Koul , krishna Lanka , Sivaprakash Murugesan , 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 10/32] dt-bindings: pinctrl: qcom,ipq6018: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:37 +0200 Message-Id: <20220924080459.13084-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220924080459.13084-1-krzysztof.kozlowski@linaro.org> References: <20220924080459.13084-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 Certain pins, like SDcard related, do not have functions and such should not be required. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,ipq6018-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml index e7f3106ccd39..2026fdac9fa8 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml @@ -56,7 +56,6 @@ $defs: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. - $ref: "/schemas/pinctrl/pincfg-node.yaml" properties: pins: @@ -121,7 +120,16 @@ $defs: required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([1-9]|[1-7][0-9]|80)$" + then: + required: + - function additionalProperties: false -- 2.34.1