Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp378106rwb; Thu, 6 Oct 2022 20:38:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4bVOJXLnJQ/ODdDi0HS6ulxLidAneqYB20wgTSJ1FhUjDyWLZWJE9GNav5bPhLWFRFhPIN X-Received: by 2002:a17:907:2e0d:b0:77e:8a08:96d0 with SMTP id ig13-20020a1709072e0d00b0077e8a0896d0mr2509579ejc.378.1665113918317; Thu, 06 Oct 2022 20:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665113918; cv=none; d=google.com; s=arc-20160816; b=BWaNBNPGs14lxo9ngDRlvDItrx6oIuiq3j4HJ/B/EFtSpqQ/64mNDFlw2FdAx1qMHY VDFQPD/9boS64ucnOlwA+Cuctdv4S0obfMt/6TynPHldSeS1wnXDSS9++iCxMrCga+tf /RISZEXTvARo7jSwv5MD57l8swEFr+OFWyQhg28NJZ6LL7ZmLS1xuO9Md4GwX0TbfeHl aorwtNfAHchjJZVoIoWfwhObciFy6uNIza6r0aESJik5di3MBXjazx278DNHFDD+TUUX IK8aO5jZXDIuodO3+xM3o2ca6D/QQo5cGXCgZczIdRad/s0NnX0fUH6xKS1oNuIBB5Z/ 8+8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xbweBtGfo2GEZFD1TrifpU07gMj4OgSCKj2XxfZcyRI=; b=teHs1/yweupKAUXOOr8ZcysBisS9txw0k0aKzyVOa6EjGMif6LLhFQW6uLeD4MI0Ne n2A4+aRISWUfi9YBsZYir69HyGUztl9EQgr/8cYkhHvIdjTl2gzjZ0lNBZaotfply34v YmEiOJF7J2i3F3DPuOLZRPBUqzN8kFvkx1QYYurPuTP/drf9zXsKl0Q21GLU2ExPyLQa E9TGFs7fO3NAzl+XkqWRjhiPimGnchqbsCQThbPAyx6R+yx4ZQWWjHdnoOwp7Ie9OQbC 6BNWgdPVGaG7Xcuvjdf8VVGrFyigzY11UAMeqi04aPvoPDiXd1csxIyPSBNRoLwWiR/k gXxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=trv4uZlV; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z20-20020a05640240d400b004574aae3f47si1294250edb.509.2022.10.06.20.38.11; Thu, 06 Oct 2022 20:38:38 -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=@kernel.org header.s=k20201202 header.b=trv4uZlV; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbiJGDQL (ORCPT + 99 others); Thu, 6 Oct 2022 23:16:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbiJGDQF (ORCPT ); Thu, 6 Oct 2022 23:16:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 717909C201; Thu, 6 Oct 2022 20:16:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 12C09B82188; Fri, 7 Oct 2022 03:16:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D185C433C1; Fri, 7 Oct 2022 03:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665112561; bh=eDTbca+DTsLTKb8dhCgBmM5IFLLb0UhYFf9ErcNZz/A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=trv4uZlVCrk5gMftWjUSu4NOKbSsWnIzI0lPPf9zqvYHsaCWIHDpclBcT3f+L4ZhC 4LGpQiGu16yR05CcSDVywN79g1wE6uonsNQLqEThtmCpO/0Cld+2/cmAcaamBgtWay pTRQIAihvR1V1hJRclINjLTYnSvp3nNKdOnMm2H3sKlONJblIa/Csg2rocbUEjp+/6 XAO9EDBKlf+ypnHI+mQLolcaVRUGNoOX45f3KepMZZGS4ndUK5nB3Fnj5J31FaibUL oWMbD1SRCPh6XTfIbVAW9XdIObzp1ZzxHThnMZSzUHvs1+RAtxYClGD/O/8AIznM8T dyUvsWMgv7jYg== Date: Thu, 6 Oct 2022 22:15:59 -0500 From: Bjorn Andersson To: Krzysztof Kozlowski Cc: Andy Gross , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 12/16] dt-bindings: pinctrl: qcom,sm8250: drop checks used in common TLMM Message-ID: <20221007031559.2rptlgxxgfwiqz57@builder.lan> References: <20220930192954.242546-1-krzysztof.kozlowski@linaro.org> <20220930192954.242546-13-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220930192954.242546-13-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Fri, Sep 30, 2022 at 09:29:50PM +0200, Krzysztof Kozlowski wrote: > The common Qualcomm TLMM pin controller schema brings already > requirement of function for gpio pins. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Bjorn Andersson > --- > .../bindings/pinctrl/qcom,sm8250-pinctrl.yaml | 11 +---------- > 1 file changed, 1 insertion(+), 10 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > index d7d8e5d3b659..021592b32904 100644 > --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > @@ -64,6 +64,7 @@ patternProperties: > if: > type: object > then: > + $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state > properties: > pins: > description: > @@ -118,16 +119,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-7][0-9])$" > - then: > - required: > - - function > - > additionalProperties: false > > allOf: > -- > 2.34.1 >