[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221007031559.2rptlgxxgfwiqz57@builder.lan>
Date: Thu, 6 Oct 2022 22:15:59 -0500
From: Bjorn Andersson <andersson@...nel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Cc: Andy Gross <agross@...nel.org>,
Konrad Dybcio <konrad.dybcio@...ainline.org>,
Linus Walleij <linus.walleij@...aro.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
linux-arm-msm@...r.kernel.org, linux-gpio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 12/16] dt-bindings: pinctrl: qcom,sm8250: drop checks
used in common TLMM
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 <krzysztof.kozlowski@...aro.org>
Reviewed-by: Bjorn Andersson <andersson@...nel.org>
> ---
> .../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
>
Powered by blists - more mailing lists