Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1012604rwb; Thu, 6 Oct 2022 07:26:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ryFIvj4Wg+7JrUz3yUSEzFM3YWQuWN77W2uim7X+CTejIEmhtfTaY+OyqMfngtOl8g2Zt X-Received: by 2002:a17:903:22c9:b0:17f:92cb:c46f with SMTP id y9-20020a17090322c900b0017f92cbc46fmr171893plg.87.1665066400466; Thu, 06 Oct 2022 07:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665066400; cv=none; d=google.com; s=arc-20160816; b=q1yxYoEBJT7AMiruAY5ugXwgTS//N02ZvgoJ1ehATo0F3+bkY4H9O4qFIZ6kpz24BG ZQDsoRAuhc7vs3fYlOujN2TEIdUjUae1vYtYeOBeqgeLiWUUGUU00bKA496KOTeFk0lN oFXxM86bkP4vxtO+d9RsQXSIg/C694AhW5rkcBx4mxKNEg/8Oa04B7qIqBLfBIeRx5Sc 1gwsMUgoU7KJZqH8ftfUKyQ+gb/QOZV5Pv5GAmSydwjZJQKdsVJ1uaYlCdX6z+tc85zA 5AjnsivYH7UCV7wFiid+Z6nwQvYxo+c2uoWDH4tpB7ga1mXt/WQKuNBJcsELbIjqQoXB hqVA== 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=J5ngFIXcSP1g00xRqhGw4exECwdqHtNburGMs+lMA4s=; b=AFFhknTrCADx/UZjDHbM6VVVVuCXZLHgt/Ig5lCXwmMmAg36eziDGn/6ecDJzUKBk8 yi+rxnufxB6FliExeGXmRVn0GOaGsHmL357E7UAB17ZQzl6cbXp5DR4xGXLOKheAXPH6 laNP4dIBcmzAm22epKqQEh4dcubGrHVaTAZrnwJZ7BRN5uS4RZJXKOll2RKhBMgRl56p RoKW5NxYKbKhas45L9C3EPogBjhOlryrVhi2k7HsEjtV9BPz7lgpApM3cjGbov9Vrz9E 8qlgdfePuR+qs0UbhcYJuxnEb20r6V1DXn4fX6W5sZ9DBBtRLLUZpwXIQXHMJ8s2sV4J 4uGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zVLpt4jY; 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 l18-20020a170903245200b001782bd6c443si23149411pls.621.2022.10.06.07.26.24; Thu, 06 Oct 2022 07:26:40 -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=zVLpt4jY; 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 S230418AbiJFOHH (ORCPT + 99 others); Thu, 6 Oct 2022 10:07:07 -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 S229712AbiJFOGw (ORCPT ); Thu, 6 Oct 2022 10:06:52 -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 562DDA98FC for ; Thu, 6 Oct 2022 07:06:50 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id g1so2840297lfu.12 for ; Thu, 06 Oct 2022 07:06:49 -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=J5ngFIXcSP1g00xRqhGw4exECwdqHtNburGMs+lMA4s=; b=zVLpt4jYV5+MIlNidrbj2d6yHkmojUQL68LRQw6O1r484WiOA01o5Ql3E3NtIzBq9L fN/aB5NT0i92UwmNUw9oOKP90wA9CZbnXXwSCXGzOAZxSpxluK9KDFg0dol+z/nKQS+w rGYLXAw2YRdC6t7AaC3s8UiahgUTynihlmKPpjP8M6Fu+NUj2u+hgVlaQzndsySBu4KV vLGuL15/QRNaJw6XXqj1GVBXxbLQ6YZjCmGB15/hDAqFDFr0NIVdMusyCNDvYRqoqnhd 9Q9DO7UcN5Kq97bpS1C5K8BX4gwfjpFTFJUOiT+JKjOGJytgI0/4/2jBVRAzrUC23R/c rK8w== 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=J5ngFIXcSP1g00xRqhGw4exECwdqHtNburGMs+lMA4s=; b=K8dJlirKx2h96YEKoqz+HmTV83r0yvB8FH82XUaIe6kdf5myVzQjjLWy5PUnfUw++2 sdhn9xk1wG2wph+5t3mmvuyXwogx3oML8yLZLISg6XZM7xDCuvj4jvYvqxQBtra3anFM tsAdNOSjo/uV5eRI4wT4RN+tUntSzzLlHlYF0qNwjHHaStMY3hhjEOsaWdnO9lGuqMj5 mSnbZP+RNaHAeGZYrW/E0wk7rejXs5ruTLTuaCb2wDwpPC3lNzGxVVOcSKtBQb0g+Qg9 cT7dTVwvahKhK748n6IEsN/+KX6MeA4K/orIjjuhU9e9gmR4isLUGKgfw7nTXOMIwUxb A6FA== X-Gm-Message-State: ACrzQf1ZrXxgF405p2dl3kHGd8cDHYxgoUyXcud8oAQIeTpVDBsTeiq7 L6BWDQ2LBYU3QrgfFCh/Slt50Q== X-Received: by 2002:a05:6512:1191:b0:49f:220:b7d with SMTP id g17-20020a056512119100b0049f02200b7dmr53471lfr.244.1665065208241; Thu, 06 Oct 2022 07:06:48 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 07:06:47 -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 04/34] dt-bindings: pinctrl: qcom,sc8180x: drop checks used in common TLMM Date: Thu, 6 Oct 2022 16:06:07 +0200 Message-Id: <20221006140637.246665-5-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 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 The common Qualcomm TLMM pin controller schema already brings requirement of function for GPIO pins. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sc8180x-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml index 62d0ea7bbc62..71ca4cfd567c 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc8180x-pinctrl.yaml @@ -60,6 +60,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: @@ -111,16 +112,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-8][0-9])$" - then: - required: - - function - additionalProperties: false examples: -- 2.34.1