From patchwork Thu Oct 6 14:06:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 613622 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44F3EC433FE for ; Thu, 6 Oct 2022 14:07:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231648AbiJFOHI (ORCPT ); Thu, 6 Oct 2022 10:07:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbiJFOG6 (ORCPT ); Thu, 6 Oct 2022 10:06:58 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26203AA37E for ; Thu, 6 Oct 2022 07:06:51 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id d6so2848422lfs.10 for ; Thu, 06 Oct 2022 07:06:51 -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=xBxAAAZqbJepJDx7ev8I2JTmsTNcdA/fWXko/W5ivCo=; b=pSMml90/TjIKtdorzvxFhhT133Jo9ciYhASMz19zV2kK50XdjAwJwv5lO1VYVwqyED II6rwRGfYwIIXEE+dQYkMSSATa3bK9VVxTiHZ0gdtuIAv4ynKdD2L0/yQNADEDyxZBbt fcidvUjivcz7Ho5QV7RYge/D4B9+h4NJoV+/fkHrpxoDZ2hRAnHNeA/0eaGU8+fPZy0A gNsJLdbHoLPDsj0NfQgaQ7YXtrbsa5kox9fZqeBiNnXtmFIfc/XmzEv1s8DTlumnX4OF AxsZiGQv5e4zyAFmBbiZi5cEcHOVRtEgFkmNWoQfc6FHdcorcPQZFVTeIuhUi3yfGChK oeZw== 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=xBxAAAZqbJepJDx7ev8I2JTmsTNcdA/fWXko/W5ivCo=; b=S3uvH7lfR4vtlJehAKnWqm4CriGOLGcl6Sj9DKbIJ4OlvwCbdjEWAuikgXZ6oz2yFi ZCP4kbOpY0Q6APv5n2lNRysfKqStD709Z1gUDVmQqBmUo/oMVkkve9oQ9iYP6uqaBpJO FeS3IMN3NKFHtA28iofH/nIQ8WK8Qa9cI1QbBMWtCE4JjCLZXENsrFiP+wJTtm8FZBRa viMAmm+c6TCYU9PFVkZHiXNj1AicM00gv64yhCiJQmSscaa5J0DXvpmlSyTr0yOvrBEz 6mu1LULL0dhG/Qh/ADx3wQz3dCw/SZbzVOxhphzOUkHk2fwHS2voa5L79AwXYpCmV8AP CEQw== X-Gm-Message-State: ACrzQf0Mi7rcowpbjwtSdtdKXGjE5AtVgBGEiOdhv00P/rJ1sQ3ds7cH utgRDfz8z3kOmrb5Au8Ktd5AIA== X-Google-Smtp-Source: AMsMyM5epxxixVYR1h2JmGaRPhjjWr5aupqaYOaxREtZesEZceShhNnnkKmi4ISFZYgNk1jE+ZKfAA== X-Received: by 2002:ac2:5108:0:b0:4a2:3d2f:7bb9 with SMTP id q8-20020ac25108000000b004a23d2f7bb9mr46186lfb.49.1665065209493; Thu, 06 Oct 2022 07:06:49 -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 z3-20020a056512370300b004a2386b8ce8sm1833929lfr.211.2022.10.06.07.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:06:49 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Srinivas Kandagatla , Vinod Koul , krishna Lanka , Iskren Chernev , Martin Botka , 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 05/34] dt-bindings: pinctrl: qcom,sc8280xp: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:08 +0200 Message-Id: <20221006140637.246665-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221006140637.246665-1-krzysztof.kozlowski@linaro.org> References: <20221006140637.246665-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The common Qualcomm TLMM pin controller schema already brings requirement of function for GPIO pins. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml index 0b251caaebf2..886d4e76af44 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8280xp-pinctrl.yaml @@ -53,6 +53,7 @@ patternProperties: description: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state properties: pins: @@ -113,16 +114,6 @@ patternProperties: required: - pins - allOf: - - $ref: "qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state" - - if: - properties: - pins: - pattern: "^gpio([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-1][0-9]|22[0-7])$" - then: - required: - - function - additionalProperties: false examples: