From patchwork Mon Oct 17 22:59:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 616208 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 A9012C43217 for ; Mon, 17 Oct 2022 23:02:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbiJQXCY (ORCPT ); Mon, 17 Oct 2022 19:02:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbiJQXBl (ORCPT ); Mon, 17 Oct 2022 19:01:41 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5E0280496 for ; Mon, 17 Oct 2022 16:01:15 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id l28so8719122qtv.4 for ; Mon, 17 Oct 2022 16:01:15 -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 :message-id:reply-to; bh=RJWvSUtO1t5Yo44+0PDNHOUmm01FetjF9ArFB5CjIeY=; b=T2RCsRekSq7vW1Mto3+4bPybk9UJLuHbd+ho2LBxVM7sNuvSrcf5/inDCOup7q0pK+ 9xDfnAEAufqWwWNJx1Giu/8rv9XZrahrzv0ptEBZlm4OTnKng7uA8VvAKRyUGbfRy3Cn ukYGJlZAqjv4TT9f3wZxrPx4J6VDuhqmr6Et029y/60cHIZOfoeb1O0ErQtNzgkmgKB6 2KxXTPRzHD8QT4llpX8z41x75Z7fqNaGddqy48ar7xOcM7ZdqtN88NBYusGZe7Aop8ii Mzj+IqgIKVBbgXmkbBgMHpsXk8zkHGUFtKk7PcrBwmljcVMr2OlWBnNwWJ+aVqWoShZP UoVg== 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:message-id:reply-to; bh=RJWvSUtO1t5Yo44+0PDNHOUmm01FetjF9ArFB5CjIeY=; b=jzcy1DLtXwmBBSWTbAtvcn8vrbIQGy5NELuu2pJehD0nJRwgV4L4yIN2B9txzvWKXk QRN0MFiovnfkF+GBqa1PqkGX7h7MnUEE552ePYhscdPsNOdiX6gl+J8pDVh3iTOAjWDm V3uh40EQzt750Ih98K3RT2gCk6Q/jHMdfs0Uncu5CtGU7NG8sRaloAN4u8/PvYmNfpxl H1zKHtDJUyFHMEgyJ6QOxT4Ul/THr+9hlBqtN01Ef6KhmdPkhRwM3G9C7mASC91K+aw4 t1ZkOUzFn7MVBEACv2nPYdVzbepy38BTVOXjcq59oFdtGPxC08RWaaHYx/fr0M4TJNbs aPLw== X-Gm-Message-State: ACrzQf2E+fun6FRRlVrLFIO8uAxsS7WKOumeHE7ID3it3Rh4/Yzjj0uq cXjD0juhikkA48Ywwpd6/We1Jw== X-Google-Smtp-Source: AMsMyM57KMcy2ViLteuOUljX85ZLfWVtFnbwNyLkzXmCrblOuemHU3kJYbI3aSy59VlE45FkqhoDaA== X-Received: by 2002:a05:622a:48b:b0:39c:c920:d8fd with SMTP id p11-20020a05622a048b00b0039cc920d8fdmr10902779qtx.330.1666047657968; Mon, 17 Oct 2022 16:00:57 -0700 (PDT) Received: from localhost.localdomain (pool-72-83-177-149.washdc.east.verizon.net. [72.83.177.149]) by smtp.gmail.com with ESMTPSA id fg11-20020a05622a580b00b0039cb9b6c390sm729670qtb.79.2022.10.17.16.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:00:57 -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 , Rob Herring Subject: [PATCH v3 11/33] dt-bindings: pinctrl: qcom, sm6375-tlmm: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:50 -0400 Message-Id: <20221017230012.47878-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221017230012.47878-1-krzysztof.kozlowski@linaro.org> References: <20221017230012.47878-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 Acked-by: Rob Herring --- .../devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml index 8320e5ff17b9..4482625b6b1f 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6375-tlmm.yaml @@ -53,6 +53,7 @@ $defs: 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: @@ -119,16 +120,6 @@ $defs: 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-4][0-9]|15[0-6])$" - then: - required: - - function - additionalProperties: false examples: