From patchwork Mon Oct 17 22:59:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13009653 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 68737C4332F for ; Mon, 17 Oct 2022 23:01:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230525AbiJQXBK (ORCPT ); Mon, 17 Oct 2022 19:01:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230473AbiJQXA5 (ORCPT ); Mon, 17 Oct 2022 19:00:57 -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 B34067FFA9 for ; Mon, 17 Oct 2022 16:00:48 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id z8so8726434qtv.5 for ; Mon, 17 Oct 2022 16:00:48 -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=eexU8QFju8foCFKK6LIrBeBMIjjHKwOcOdgfsoR5Zts=; b=QW6mhLWqdDjkWW5XD+q1AJqczk9Rnm2f5FWSxjElAubT7r6Q9IsMCIVw30R83pO4TG h5OEDA7y4ORyZdAztXv7//43xjHkJmowP6P9IaUOonDXGZiU63+Pi05rIjtGelMSd8hU HDSaFPlPCcrFTOFO1d62jFKcUsUaBF/buHB/UfZd0yourNnv9IpgM5WC//PH747XULsD QIqppIBz3zjHPVzzevlNZgwe9HEJFffVS+QSJJSWtE9fr8zOUOynC4O2bVmEUhsU67Q8 +bOKlFxXVW58+EgLBd8y3+QqyU6skQ18ypdrs2FqUDOEAa8plOSq24qmNnsUccBNyrOg 2s1w== 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=eexU8QFju8foCFKK6LIrBeBMIjjHKwOcOdgfsoR5Zts=; b=M4NOV2MF8Clo1NRcBO6vnLPPmJxAiqBtnjq5lxIHjfoTbXd54TCS4ainlVpLNxcrtw xRbd7IVwFUvr4OXWwE7oQuE8CsRmaCOoZyvZqpTt6DHCKXlDRlv4FRiFTaUc27gsDE/c 9HlcGXdykNdPoxm/EZrmoxGyFzdzEtDpXuFA57Eq15RoWsDuJ9JUTKvMV+p5cNCcD0gX v7YiVNqNsjFNHHZ1iEzaKjcA5T6ynHTjPlyXeLEnEMQFPL+E4wna5FzUqwIhbIsJwqyv U5q43HUXpG/TzoRdKE9BAW6F+igw8CUU7Ts/Wlw7QgH+31S/g8D2aJmM73Br0wXqHAFZ 1IZg== X-Gm-Message-State: ACrzQf2Y7Zjl1D12gZtRZYW8cVgrMNKQnXDOClD51XazEv9hzTWpodRS O9SIyS57XW2L1zS5HqenR9kRxw== X-Google-Smtp-Source: AMsMyM7aJxmu4hyn0xgbF+OwvfaLPc5WujImVyTQaSPobFjqhA9DeIQwAhwDKK3wCMdhMAPgbLNhQg== X-Received: by 2002:a05:622a:14ce:b0:391:6892:1665 with SMTP id u14-20020a05622a14ce00b0039168921665mr10655682qtx.431.1666047647222; Mon, 17 Oct 2022 16:00:47 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 16:00:46 -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 06/33] dt-bindings: pinctrl: qcom,sm6125: drop checks used in common TLMM Date: Mon, 17 Oct 2022 18:59:45 -0400 Message-Id: <20221017230012.47878-7-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: linux-arm-msm@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 --- .../bindings/pinctrl/qcom,sm6125-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml index 5cb8b272cb7d..843d110df240 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6125-pinctrl.yaml @@ -61,6 +61,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: @@ -112,16 +113,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-2][0-9]|13[0-2]$" - then: - required: - - function - additionalProperties: false examples: