lkml.org 
[lkml]   [2022]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 12/16] dt-bindings: pinctrl: qcom,sm8250: drop checks used in common TLMM
    Date
    The common Qualcomm TLMM pin controller schema brings already
    requirement of function for gpio pins.

    Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.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
    \
     
     \ /
      Last update: 2022-09-30 21:32    [W:4.791 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site