Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2042179rwb; Sat, 24 Sep 2022 01:47:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5wFqxTkbNlClLXdL9Mbk22P5V3c17SiLOgdT7FzHM0Z7mtQNqSEoKRGIvgnxYk+V4pqU3a X-Received: by 2002:a05:6402:1247:b0:456:eb22:1978 with SMTP id l7-20020a056402124700b00456eb221978mr3133545edw.374.1664009238442; Sat, 24 Sep 2022 01:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664009238; cv=none; d=google.com; s=arc-20160816; b=DY756lUDe0JXM/kiWJCKw808tuOp2GftaJQtQLxgg6cPgJ0ePzGSz/G9bf0J6MdR82 wlIYPO6ewtG7vIMREoLiMfzvi05aGnrB06KA5bq5jcd9q4q47aBbhmmMpufhKBduZMmN g4/H+7sin03CIn3MspnS8xqxIr1kDVga4TzjStOLLnUWnh4/lpCv/lQJ4H2qZWhps1aH +7P/XE8VOLjeK3zaAJL/VKMB5aG7yUug5lXdNoRxDFMtEofVwL/BVFzeD6uCyH4hETl7 dPPrXVASmhFlOcNu/jd+BnYe6JXVKLR+vSTLUtaEhN4LetwhZxWiOjUmI3d9nsMmDJyU 5GqA== 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=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=xLbpkGmLDNQczwiu5FiypfU6M6uO0Q+JEcMHQtW5PdXTfeMY9hCMH3A7HVJPOWobIA J0z388MQ3dOPRPeihbxbFTtI9qh1Sta85ZJyhQCjoW8rrFzwI+zUEazQiHJfE331vbJg 49q4haTKIc+ykMEKy1SpKfpvywVGaMaNmvMxEHPJIT4WJHB5CUj2vQyzLHucUZIGoWeM QUfYDmG1YXnZBXOSmttyofyiLHxItmpEfW2jghPW2nO4wlNtsmDVVOQsOzf16+c9D57V JwzXw6sQD8ZhrtVUw46NWGZRd0iE/zks6enU8XoQu1JkmcCGj5QXa4R5fB9d47ZLpsMi THkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y79NBdTf; 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 d18-20020a056402401200b00456ef916c75si1650802eda.71.2022.09.24.01.46.29; Sat, 24 Sep 2022 01:47:18 -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=Y79NBdTf; 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 S233689AbiIXIIg (ORCPT + 99 others); Sat, 24 Sep 2022 04:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbiIXIHu (ORCPT ); Sat, 24 Sep 2022 04:07:50 -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 9D9EB154469 for ; Sat, 24 Sep 2022 01:05:56 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id u18so3505284lfo.8 for ; Sat, 24 Sep 2022 01:05:56 -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=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=Y79NBdTflppNkFvLkmNJh+nQ2L1eIz9ZVD+Zzx12skyr5WK/wJAk+a9eChTWLHmUwV UQyDy2EcUDgojpppUPoDWdhocRv9Ki83j73EFjaLHx2NIblMp4kHUDM9nOneCtNxASh3 RADiGO3GJ0a6ySYI7ii8hzxJSrQQQoXEb1OGHrE6XZb238sbNAFBzTkdDGMRG1hiarsf H4mC+QuiyzVhCk7VmyPCRtTxxmfOtYqj+LT9aY/h57Ymwi+CQdrAn/57aMUefYmZIaQ+ c3KZvJGy8ZbThRpN2h2KKowv+i884+p3afnPVLXMz9hO4fP8lDX8gmFxM7cvRLsFYI87 vTcg== 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=QNGxAbSYa/JdItjMwr8YuODhIc0b5cGCbpa0Z5P/1s4=; b=bbCIJuRSszBS6QDm2yj6Dz604kGYuRNo04ZgJ+FNRz1zdiNafBlzVK/dtsFfMMOTtH xzgnSHy/Z3gxLBgBkgq5JEdSb5PcO2TkBbZ6KbhjfpITCfqtXyduLMsQj0sHrvKdJr0w 7y9RbBGmhXsLv6riTw4qM2JqHOvVUWjup3G8sbFTXQipT6PYU1Z2PonDI2VjQwDkJ3B8 +r+19JufXABkHaT4gJ2IlJVfMmdQtnsi0j3OzaqBfXdbYK745XqTNTLdyy/eIzADkBDs dCwDLnvRmCA1QtSJqMeaeq5FJ4NcD0yVneFk99L2nRwPNXI9S5LSv7H5pDEP62N5VG77 tR4w== X-Gm-Message-State: ACrzQf31RXx1T8nLuir0Yh7RyQQsZlMu0jEZZN78SWgmdk1HnO3p9Ss3 ZCTpviy8JKbvGMNBCZ9iu91NgQ== X-Received: by 2002:a05:6512:12c8:b0:49b:8005:1d9d with SMTP id p8-20020a05651212c800b0049b80051d9dmr5043257lfg.489.1664006743222; Sat, 24 Sep 2022 01:05:43 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Sep 2022 01:05:42 -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 27/32] dt-bindings: pinctrl: qcom,sdx55: do not require function on non-GPIOs Date: Sat, 24 Sep 2022 10:04:54 +0200 Message-Id: <20220924080459.13084-28-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,sdx55-pinctrl.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index fff57abf4fbc..006aeec7794f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -60,7 +60,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: @@ -122,7 +121,16 @@ $defs: required: - pins - - function + + allOf: + - $ref: /schemas/pinctrl/pincfg-node.yaml + - if: + properties: + pins: + pattern: "^gpio([0-9]|[1-9][0-9]|1[0-1][0-6])$" + then: + required: + - function additionalProperties: false -- 2.34.1