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

dt-bindings: pinctrl: qcom: drop common properties



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.

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

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231208215534.195854-9-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 6bd410fc
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -26,13 +26,6 @@ properties:
  interrupts:
    maxItems: 1

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

  gpio-reserved-ranges:
    minItems: 1
    maxItems: 27
@@ -100,7 +93,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

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

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

  gpio-reserved-ranges:
    minItems: 1
    maxItems: 35
@@ -103,7 +96,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

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

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

  gpio-reserved-ranges:
    minItems: 1
    maxItems: 33
@@ -97,7 +90,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

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

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

required:
  - compatible
  - reg

additionalProperties: false

patternProperties:
  "-state$":
@@ -110,6 +98,12 @@ $defs:
    required:
      - pins

required:
  - compatible
  - reg

unevaluatedProperties: false

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

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

  gpio-reserved-ranges:
    minItems: 1
    maxItems: 86
@@ -92,7 +85,7 @@ required:
  - compatible
  - reg

additionalProperties: false
unevaluatedProperties: false

examples:
  - |
Loading