Commit b22794c0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Linus Walleij
Browse files

dt-bindings: pinctrl: qcom: drop common properties and allow wakeup-parent



Drop common properties already defined in referenced common Qualcomm SoC
TLMM bindings and use "unevaluatedProperties: false".  This makes the
binding smaller and easier to review.  Additionally this allows now
"wakeup-parent" property coming from common TLMM bindings.

In few places move the "required:" block to bottom, to match convention.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231208215534.195854-10-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 79d770af
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -22,12 +22,6 @@ properties:
  interrupts:
    maxItems: 1

  interrupt-controller: true
  "#interrupt-cells": true
  gpio-controller: true
  "#gpio-cells": true
  gpio-ranges: true

patternProperties:
  "-state$":
    oneOf:
@@ -100,7 +94,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |
+6 −12
Original line number Diff line number Diff line
@@ -23,18 +23,6 @@ properties:
  interrupts:
    maxItems: 1

  interrupt-controller: true
  '#interrupt-cells': true
  gpio-controller: true
  '#gpio-cells': true
  gpio-ranges: true

required:
  - compatible
  - reg

additionalProperties: false

patternProperties:
  "-state$":
    oneOf:
@@ -74,6 +62,12 @@ $defs:
    required:
      - pins

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
+1 −7
Original line number Diff line number Diff line
@@ -23,12 +23,6 @@ properties:
  interrupts:
    maxItems: 1

  interrupt-controller: true
  "#interrupt-cells": true
  gpio-controller: true
  "#gpio-cells": true
  gpio-ranges: true

  gpio-reserved-ranges:
    maxItems: 1

@@ -82,7 +76,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |
+1 −6
Original line number Diff line number Diff line
@@ -22,12 +22,7 @@ properties:
  interrupts:
    maxItems: 1

  interrupt-controller: true
  "#interrupt-cells": true
  gpio-controller: true
  gpio-reserved-ranges: true
  "#gpio-cells": true
  gpio-ranges: true

patternProperties:
  "-state$":
@@ -117,7 +112,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |
+1 −7
Original line number Diff line number Diff line
@@ -23,12 +23,6 @@ properties:
  interrupts:
    maxItems: 1

  interrupt-controller: true
  "#interrupt-cells": true
  gpio-controller: true
  "#gpio-cells": true
  gpio-ranges: true

  gpio-reserved-ranges:
    maxItems: 1

@@ -102,7 +96,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |
Loading