Skip to content

Commit

Permalink
dt-bindings: pinctrl: qcom,msm8994: correct number of GPIOs
Browse files Browse the repository at this point in the history
The MSM8994 TLMM pin controller has GPIOs 0-145, so narrow the pattern
and reduce sizes of arrays with pins.

Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230202104452.299048-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
  • Loading branch information
Krzysztof Kozlowski committed Feb 3, 2023
1 parent 5c70697 commit 174668b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ properties:

gpio-reserved-ranges:
minItems: 1
maxItems: 75
maxItems: 73

gpio-line-names:
maxItems: 150
maxItems: 146

patternProperties:
"-state$":
Expand All @@ -63,7 +63,7 @@ $defs:
subnode.
items:
oneOf:
- pattern: "^gpio([0-9]|[1-9][0-9]|1[0-4][0-9])$"
- pattern: "^gpio([0-9]|[1-9][0-9]|1[0-3][0-9]|14[0-5])$"
- enum: [ sdc1_clk, sdc1_cmd, sdc1_data, sdc1_rclk, sdc2_clk,
sdc2_cmd, sdc2_data, sdc3_clk, sdc3_cmd, sdc3_data ]
minItems: 1
Expand Down

0 comments on commit 174668b

Please sign in to comment.