Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231208215534.195854-10-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Linus Walleij
b22794c0 79d770af

+11 -46
+1 -7
Documentation/devicetree/bindings/pinctrl/qcom,ipq6018-pinctrl.yaml
··· 22 22 interrupts: 23 23 maxItems: 1 24 24 25 - interrupt-controller: true 26 - "#interrupt-cells": true 27 - gpio-controller: true 28 - "#gpio-cells": true 29 - gpio-ranges: true 30 - 31 25 patternProperties: 32 26 "-state$": 33 27 oneOf: ··· 94 100 - compatible 95 101 - reg 96 102 97 - additionalProperties: false 103 + unevaluatedProperties: false 98 104 99 105 examples: 100 106 - |
+6 -12
Documentation/devicetree/bindings/pinctrl/qcom,mdm9615-pinctrl.yaml
··· 23 23 interrupts: 24 24 maxItems: 1 25 25 26 - interrupt-controller: true 27 - '#interrupt-cells': true 28 - gpio-controller: true 29 - '#gpio-cells': true 30 - gpio-ranges: true 31 - 32 - required: 33 - - compatible 34 - - reg 35 - 36 - additionalProperties: false 37 - 38 26 patternProperties: 39 27 "-state$": 40 28 oneOf: ··· 61 73 62 74 required: 63 75 - pins 76 + 77 + required: 78 + - compatible 79 + - reg 80 + 81 + unevaluatedProperties: false 64 82 65 83 examples: 66 84 - |
+1 -7
Documentation/devicetree/bindings/pinctrl/qcom,msm8226-pinctrl.yaml
··· 23 23 interrupts: 24 24 maxItems: 1 25 25 26 - interrupt-controller: true 27 - "#interrupt-cells": true 28 - gpio-controller: true 29 - "#gpio-cells": true 30 - gpio-ranges: true 31 - 32 26 gpio-reserved-ranges: 33 27 maxItems: 1 34 28 ··· 76 82 - compatible 77 83 - reg 78 84 79 - additionalProperties: false 85 + unevaluatedProperties: false 80 86 81 87 examples: 82 88 - |
+1 -6
Documentation/devicetree/bindings/pinctrl/qcom,msm8953-pinctrl.yaml
··· 22 22 interrupts: 23 23 maxItems: 1 24 24 25 - interrupt-controller: true 26 - "#interrupt-cells": true 27 - gpio-controller: true 28 25 gpio-reserved-ranges: true 29 - "#gpio-cells": true 30 - gpio-ranges: true 31 26 32 27 patternProperties: 33 28 "-state$": ··· 112 117 - compatible 113 118 - reg 114 119 115 - additionalProperties: false 120 + unevaluatedProperties: false 116 121 117 122 examples: 118 123 - |
+1 -7
Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml
··· 23 23 interrupts: 24 24 maxItems: 1 25 25 26 - interrupt-controller: true 27 - "#interrupt-cells": true 28 - gpio-controller: true 29 - "#gpio-cells": true 30 - gpio-ranges: true 31 - 32 26 gpio-reserved-ranges: 33 27 maxItems: 1 34 28 ··· 96 102 - compatible 97 103 - reg 98 104 99 - additionalProperties: false 105 + unevaluatedProperties: false 100 106 101 107 examples: 102 108 - |
+1 -7
Documentation/devicetree/bindings/pinctrl/qcom,sdx65-tlmm.yaml
··· 22 22 interrupts: 23 23 maxItems: 1 24 24 25 - interrupt-controller: true 26 - "#interrupt-cells": true 27 - gpio-controller: true 28 - "#gpio-cells": true 29 - gpio-ranges: true 30 - 31 25 gpio-reserved-ranges: 32 26 maxItems: 1 33 27 ··· 116 122 - compatible 117 123 - reg 118 124 119 - additionalProperties: false 125 + unevaluatedProperties: false 120 126 121 127 examples: 122 128 - |